201Successful Response
Schema: SuccessEnvelope_InviteStaffResponse_
successbooleanmessagestringcodestringdataInviteStaffResponse
/api/v1/advisory-firms/{firm_id}/users/inviteInvite a user by email to join the firm as staff (admin or member). If the user already exists they are added immediately; otherwise an invitation email is sent and they are added on signup. Owner role cannot be assigned via invitation.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
firm_idstringrequiredSchema: InviteStaffRequest
emailstringrequiredEmail address of the person to invite.
rolestringRole to assign: 'admin' or 'member'. Owner cannot be invited.
One of: admin, member
first_namestringOptional first name to personalize the invitation.
last_namestringOptional last name to personalize the invitation.
messagestringOptional personal message from the inviter included in the email.
business_idsarray · stringFor 'member' role: explicit list of businesses the invitee should be assigned to on acceptance. Ignored for 'admin' (admins see every firm business).
team_idstringFor 'member' role: team to add the invitee to on acceptance. Mutually exclusive with 'business_ids' and 'assign_all_firm_businesses'.
assign_all_firm_businessesbooleanFor 'member' role: if true, grant the invitee direct assignment to every currently active firm business on acceptance.
Schema: SuccessEnvelope_InviteStaffResponse_
successbooleanmessagestringcodestringdataInviteStaffResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject