Deskhero Developer Hub
Back to deskhero.com
User invites

Respond

Accepts or declines an invite addressed to the signed-in User's email, identified by invite id plus the tenant_id it belongs to, which is required for the lookup to work. Accepting creates the workspace membership with the role and groups from the invite, triggers the billing event for an added User and refreshes the User's cached workspace list, while an invite that is expired, already answered or for someone already in the workspace is refused.

POST /api/sys/v{version:apiVersion}/user_invites/respond
Authorisation
Minimum role: USER

Request arguments

Name Type Source
inputDTO_user_invite_respondBody
Request body example

Response

Status
200 (OK)
Type
DTO_acknowledgement
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_user_invite_respond
NameTypeReadOnlyDescription
idInt32Id
tenant_idInt32Tenant id
acceptBooleanAccept
DTO_acknowledgement
NameTypeReadOnlyDescription
messageStringMessage

Generated Aug 4, 2026 18:37