Skip to main content
POST
Accept with disclosures

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Path Parameters

userId
string<uuid>
required

The user being activated.

Body

Invitation acceptance details.

Completing an invitation: activating the user and, when their organization requires it, recording their acceptance of the disclosures they were shown.

invitationToken
string
required

The invitation token from the invitation email. Required, and it must resolve to the user in the route: the route id is the caller's to choose, so the token is what makes it trustworthy.

disclosuresAcceptedVersion
null | string<uuid>

The disclosure version the caller was shown, from GET /identity/v1/disclosures. Required when the organization requires disclosures, and rejected unless it is still the version in force, so a publish landing between display and accept is not recorded as agreement to text the caller never saw. Ignored when the organization does not require them.

newPassword
null | string

Password to set while activating, when the flow collects one.

Response

The user was activated.

The result of completing an invitation.

disclosureRequirement
enum<string>
required

The requirement resolved for the user's organization during the operation, so the caller knows whether an acceptance was recorded without resolving the settings chain again.

Available options:
NOT_REQUIRED,
REQUIRED
status
string
required

The user's status after activation.