POST/api/v1/invites/{token}/accept

Accept an invitation

Joins the workspace with the role the invitation offers, as the account the token belongs to.

API token required20 per minute per IP
Code samples and Try it

Path parameters

#
  • tokenstringRequired

    The token from the invitation link.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
200 response: 3 fields (InviteAcceptResponse)
  • workspace_idstring
  • workspace_namestring
  • role"owner" | "admin" | "member" | "viewer"
Did this page help?