Add a work definition to an engagement template

Associate a WorkDefinition with an Engagement template, enabling work log capture and future rate-card billing for payees enrolled in this engagement. The current request is an attachment row { workDefinitionId }; the referenced resource must belong to the acting account selected by the session or X-Wingspan-Account. Cross-account or unresolved ids return 422. rateCalculationId optionally binds a CalculationSet that overrides the engagement-level rate card for this WorkDefinition attachment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
required

WorkDefinition to attach to the Engagement. Must belong to the acting account selected by the session or X-Wingspan-Account.

string

Optional CalculationSet id bound to this attachment; overrides the engagement-level rate card for this WorkDefinition.

Headers
string
length between 1 and 255
^[\x21-\x7e]{1,255}$

Optional idempotency token for authenticated POST and PATCH requests. Reusing the same key and body returns the cached response for 24 hours, except credential operations that explicitly document a 409 because one-time secret material is never cached; reusing it with a different body returns 409 IdempotencyKeyConflict. Use 1-255 printable ASCII characters.

string
^(?:[A-Za-z0-9_.]{22}|[a-f0-9]{24})$

Select the Account for an Account-scoped operation. A direct ServiceAccount API key MUST supply this header, and the target must be within the ServiceAccount owner's or Authorization grant's Account boundary. A Person bearer may select an Account on which it has an active Stakeholder, and an Account session may select its bound Account (or a descendant only when the session explicitly includes descendants).

Responses
204

Work definition attached. Re-read the Engagement to see the attachment under workDefinitionIds. This sub-resource is write-only — there is no GET on it.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/problem+json