Invitations

Accept organization invitation

Changed on

Accepts an organization invitation for the current signed-in user and switches their active organization to the accepted workspace.

post/v1/orgs/invitations/accept

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    HTTP bearer

Request body

object required
id, string required

Response

Invitation accepted successfully.

InvitationAcceptedResponse required
accepted, true required
organizationId, string typeid required

Den TypeID with 'org_' prefix and a 26-character base32 suffix.

organizationSlug, string nullable required
invitationId, string typeid required

Den TypeID with 'inv_' prefix and a 26-character base32 suffix.

Changes

    • breaking

      the response property anyOf[#/components/schemas/AccountEmailDomainNotAllowedError]/emailDomain became nullable for the status

    • breaking

      the response property organizationSlug became nullable for the status

    • info

      response property anyOf[AccountEmailDomainNotAllowedError]/emailDomain list-of-types was narrowed by removing types null from media type application/json of response 409

    2 more changes in this revision