Join an organization with an invitation
People only, with a fresh second factor: the signed-in person who presents the secret joins with the invitation's role and projects.
People only, with a fresh second factor: the signed-in person who presents the secret joins with the invitation's role and projects. An invitation that is unknown, expired, revoked or accepted by someone else is not_found, so a secret cannot be probed; a repeat by the person who accepted it answers the same membership. A person already in the organization is conflict.
For people only: a signed-in person with a fresh second factor makes this call, from the dashboard. Any API key is refused with person_required.
Request
curl -X POST "https://api.pod.mapier.ai/v1/invitations/accept" \
-H "Authorization: Bearer $POD_PERSON_TOKEN" \
-H "Content-Type: application/json" \
-d '{"invitation":"pod_3ahrz6dmv29gqy5ckt18fpx4bjs07enw3ahrz6dm"}'Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Body
| Field | Type | Required | What it is |
|---|---|---|---|
invitation | string | Yes | Shown once, to the person who invited. Stored by Pod only as a SHA-256 hash. |
Answer
200. The organization joined and the new membership.
{
"organisation": {
"id": "org_3ahrz6dmv29gqy5ckt18fp",
"name": "example",
"standing": "good",
"plan": "example",
"role": null,
"created_at": "2026-11-23T12:00:00.000Z",
"closure": null
},
"member": {
"account": "example",
"organisation": "org_3ahrz6dmv29gqy5ckt18fp",
"role": "owner",
"projects": null,
"created_at": "2026-11-23T12:00:00.000Z",
"limits": {
"max_sandboxes": null,
"max_awake": null
},
"spend_cap": null
}
}| Field | Type | Always | What it is |
|---|---|---|---|
organisation | Organisation | Yes | |
member | Member | Yes |
Errors
The refusals this call is known for: invalid, person_required, not_found, conflict. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.
In the SDKs
| Client | Call |
|---|---|
| TypeScript | pod.organisations.invitations.accept(secret) |
| Python | pod.organisations.invitations.accept(secret) |