201 Successful Response
Schema: AcceptInvitationResponse
-
statusstring required -
invitation_typestring -
firm_namestring -
rolestring -
messagestring
/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.
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
token
string
required Schema: AcceptInvitationResponse
status
string
required invitation_type
string
firm_name
string
role
string
message
string
Schema: HTTPValidationError
detail
array · ValidationError
ValidationError loc
array · string | integer
required msg
string
required type
string
required input
object
ctx
object