add API to attach payloads to assignments