DevelopersAPI referenceAuth & accountsInvitations
Accept an invitation
Full sessions only. Email invites are bound to the invited address. Idempotent for existing members (already_member true). Returns a new org-scoped access token; the refresh token is unchanged.
View as MarkdownAuthorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
token*string
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/invitations/string/accept"{ "org": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "slug": "string", "name": "string", "kind": "string", "avatar_url": "string", "role": "string", "permissions": [ "string" ], "tools": [ "string" ] }, "access_token": "string", "expires_at": "2019-08-24T14:15:22Z", "already_member": true}