Accept an invitation
accept_inviteAccept an organization invitation sent to your email and join at the invited role. Resolves pending invites or returns errors for invalid or lapsed plans.
Instructions
Accept an invitation addressed to the token user's email, joining that organisation at the invited role. Returns the joined org. Refused (403) if the invitation was addressed to someone else, and (402) if the organisation's plan has lapsed or been downgraded since the invitation was sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inviteId | Yes | The invitation's id — from list_my_invites. |