Skip to content
TestLookupTestLookup
Search Ctrl K

Search TestLookup

Enter a term to search the local static index.

    Accept Invitation — POST /api/v1/auth/invitations/accept

    Accept Invitation

    Redeem an invitation: create the account with the invited role and projects, sign in.

    Endpoint: POST /api/v1/auth/invitations/accept

    Authentication: No access token or API key is needed.

    This endpoint takes no parameters.

    Content typeBodyRequired
    application/jsonAcceptInvitationRequestyes
    StatusMeaningBody
    201Successful ResponseTokenResponse or MfaEnrollmentRequiredResponse (application/json)
    422Validation ErrorHTTPValidationError (application/json)

    Errors this endpoint returns, read from its source code:

    • 403, with the message “SSO is required for this workspace. Sign in with SSO instead of setting a password”
    • 409, with messages such as “An account with this email already exists. Sign in instead”, “That username is taken. Choose another”

    Statuses not listed here are explained in Errors and retries.