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
  • URL: https://api.openworklabs.com/v1/orgs/invitations/accept
  • Auth: HTTP bearer

Request body

idstring required

Response

Invitation accepted successfully.

acceptedtrue required
organizationIdstring typeid required

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

organizationSlugstring nullable required
invitationIdstring typeid required

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

Changes