Workspaces

Accept a workspace invitation

post/workspace-invitations/accept

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/workspace-invitations/accept
  • Auth: one of:
    • HTTP bearer
    • API key in cookie openpost_session

Request body

$schemastring uri

A URL to the JSON Schema for this object.

tokenstring required

Raw invitation token

Example request

{
  "$schema": "https://example.com/api/v1/schemas/AcceptWorkspaceInvitationInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

acceptedboolean required
rolestring required
workspace_idstring required

Example response

{
  "$schema": "https://example.com/api/v1/schemas/AcceptWorkspaceInvitationOutputBody.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.