---
title: "Join the organization of an invitation with the role and project access it grants"
method: POST
path: "/v1/invitations/accept"
tags: ["Organizations"]
---

# Join the organization of an invitation with the role and project access it grants

`POST /v1/invitations/accept`

## Request

- Base URL: `https://console-api-sandbox.akash.network`
- URL: `https://console-api-sandbox.akash.network/v1/invitations/accept`
- Auth: HTTP bearer

## Headers

- `x-organization-id` string
- `x-project-id` string, uuid

## Request body

- object
  - `data` object, required
    - `token` string, required: The token from the invitation link.
    - `confirmEmailMismatch` boolean: Join even though the invitation was sent to an address that is not the caller's verified email.

## Response `200`

The organization the caller now belongs to

- object
  - `data` object, required
    - `id` string, uuid, required
    - `name` string, required
    - `slug` string, required
    - `type` 'personal' | 'team', required
    - `role` 'owner' | 'admin' | 'member' | 'billing' | 'viewer', required: The caller's role in the organization.
    - `isActive` boolean, required: Whether this request ran in this organization.
    - `hasPaymentMethod` boolean, nullable, required: Whether the organization has a payment method saved, its owner's own cards for a personal organization. Null for an organization this request did not run in.
    - `createdAt` string, date-time, required

## Other responses

- `400`: The token is not an invitation token
- `401`: Unauthorized
- `403`: Requested with an API key instead of a signed-in session (`session_required`)
- `404`: No invitation has this token, or its organization was deleted
- `409`: The invitation was sent to an address the caller has not verified and they did not confirm (`invitation_email_mismatch`), someone else accepted it or the caller accepted it and has since left (`invitation_already_accepted`), or the caller already belongs to the organization and was not the verified invitee (`already_member`)
- `410`: The invitation expired (`invitation_expired`) or was revoked (`invitation_revoked`)

## Changes

- **2026-10-16** `98286e0476c7`: 1 info
  - added the required property `data/hasPaymentMethod` to the response with the `200` status
- **2026-10-15** `bb97e5bacb6f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/akash-network/apis/akash-network-console-api/changes/v1/invitations/accept/post.md)

---

[API](https://skmtc.dev/akash-network/apis/akash-network-console-api.md) - [All operations](https://skmtc.dev/akash-network/apis/akash-network-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akash-network/apis/akash-network-console-api/revisions/b959efa6d493?raw)
