Invitations
Create and manage 72-hour invitation links that grant a project role, and look up, accept or decline one by its token.
An invitation is a link, valid for 72 hours, that grants a project role to
whoever redeems it while signed in. Create one for a project, share the
one-shot link out of band, then list or read invitations, and cancel pending
or declined ones.
The redeem path looks up, accepts or declines an invitation by its token
without the project ID in the URL.
Creating a project-member invitation needs the same project admin check as
creating a grant. Optional metadata.name is 1–200 characters and only labels
who the link is for. replaces_invitation_id keeps journey_id and deletes any
unaccepted original. A project may hold at most 100 pending unexpired
invitations. The creator cannot accept or decline their own link; accept
re-checks that the creator still has admin unless the invitation was created
with a project secret. Team-member invitations are declared in the contract and
answer 501 until they ship. Refused for an unclaimed project and on a server
without a platform project.
How invitations fit with grants and owning teams: Access and memberships. CLI and recovery steps: Manage project access.
| Method | Path | Summary |
|---|---|---|
GET | /invitations | List invitations |
POST | /invitations | Create an invitation |
POST | /invitations/lookup | Look up an invitation by token |
POST | /invitations/accept | Accept an invitation |
POST | /invitations/reject | Decline an invitation |
GET | /invitations/{invitation_id} | Get an invitation |
DELETE | /invitations/{invitation_id} | Cancel an invitation |
Was this helpful?