Accept a pending invitation

POST/api/v1/invitations/{token}/accept

Process a pending invitation for the authenticated user. Adds the user to the firm (and grants business access for client invitations) then marks the invitation as accepted. Idempotent: returns success if already accepted.

Operation ID: accept_invitation_api_v1_invitations__token__accept_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

tokenstringrequired

Responses

201Successful Response

successboolean
messagestring
codestring
dataAcceptInvitationResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject