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

token string required

Responses

201 Successful Response

status string required
invitation_type string
firm_name string
role string
message string

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

404 Not Found - Resource does not exist

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object