v11

latestOpenAPI 3.1.12026-08-03174162.0 MB
Team Invites

Accept a team invitation

Accept a pending team invitation using the secure token. Team key can be ID or slug. This deletes the invitation and creates an active TeamMember record. Returns the newly created team member.

patch/teams/{key}/invites/{inviteId}

Path parameters

keystring required

Team identifier (ID or slug)

inviteIdstring required

Team invite ID to accept

Request body

tokenstring required

Secure token used to accept the team invite. This token must match the one sent in the invitation email.

Response

OK

Example response

{
  "member": {
    "permissions": [
      "event.read",
      "event.write",
      "order.read"
    ]
  }
}