---
title: "Preview an organization invitation from the token of its link"
method: POST
path: "/v1/invitations/preview"
tags: ["Organizations"]
---

# Preview an organization invitation from the token of its link

`POST /v1/invitations/preview`

## Request

- Base URL: `https://console-api-sandbox.akash.network`
- URL: `https://console-api-sandbox.akash.network/v1/invitations/preview`
- Auth: none required

## Request body

- object
  - `data` object, required
    - `token` string, required: The token from the invitation link.

## Response `200`

Who sent the invitation, to which organization and in which state

- object
  - `data` object, required
    - `organizationId` string, uuid, required: The organization the invitation joins, the same id it has once the invitee is a member.
    - `organizationName` string, required
    - `inviterName` string, nullable, required
    - `role` 'owner' | 'admin' | 'member' | 'billing' | 'viewer', required
    - `email` string, required: The address the invitation was sent to.
    - `status` 'pending' | 'accepted' | 'revoked' | 'expired', required
    - `expiresAt` string, date-time, required

## Other responses

- `400`: The token is not an invitation token
- `404`: No invitation has this token, or its organization was deleted

## Changes

- **2026-10-16** `7254fda3f529`: 1 info
  - added the required property `data/organizationId` 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/preview/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)
