Workspaces

Accept the current user's workspace invitation

Accepts a pending invitation only when its email matches the signed-in user. This supports safe in-app invitation notifications without storing the invitation token.

post/workspace-invitations/{id}/accept

Request

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

Path parameters

idstring required

Invitation ID shown to the invited signed-in user

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.