Inspect a pending invite
| Property | Value |
|---|---|
| Auth | Not required (public preview) |
| Idempotent | Yes |
Accept or decline
| Property | Value |
|---|---|
| Auth | Required |
| Idempotent | Yes (second accept is a no-op) |
{ "decision": "accept" } or { "decision": "decline" }.
The caller’s authenticated email must match the invited email. Mismatches return 403.
Errors
| Status | Code | When |
|---|---|---|
| 401 | AUTH_REQUIRED | POST without session. |
| 403 | Email does not match invite | Authed user’s email differs from the invite’s email. |
| 404 | Team not found | Bad team id. |
| 410 | TEAM_INVITE_EXPIRED | Invite token aged out. |
| 500 | INTERNAL_ERROR | Write failed. |