📄 claude/api/admin-api/invites/get-invite

File: get-invite.md | Updated: 11/15/2025

Source: https://docs.claude.com/en/api/admin-api/invites/get-invite

Agent Skills are now available! Learn more about extending Claude's capabilities with Agent Skills .

Claude Docs home pagelight logodark logo

US

English

Search...

Ctrl K

Search...

Navigation

Organization Invites

Get Invite

Home Developer Guide API Reference Model Context Protocol (MCP) Resources Release Notes

cURL

cURL

Copy

curl "https://api.anthropic.com/v1/organizations/invites/invite_015gWxCN9Hfg2QhZwTK7Mdeu" \
  --header "anthropic-version: 2023-06-01" \
  --header "content-type: application/json" \
  --header "x-api-key: $ANTHROPIC_ADMIN_KEY"

200

4XX

Copy

{
  "email": "user@emaildomain.com",
  "expires_at": "2024-11-20T23:58:27.427722Z",
  "id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
  "invited_at": "2024-10-30T23:58:27.427722Z",
  "role": "user",
  "status": "pending",
  "type": "invite"
}

GET

/

v1

/

organizations

/

invites

/

{invite_id}

cURL

cURL

Copy

curl "https://api.anthropic.com/v1/organizations/invites/invite_015gWxCN9Hfg2QhZwTK7Mdeu" \
  --header "anthropic-version: 2023-06-01" \
  --header "content-type: application/json" \
  --header "x-api-key: $ANTHROPIC_ADMIN_KEY"

200

4XX

Copy

{
  "email": "user@emaildomain.com",
  "expires_at": "2024-11-20T23:58:27.427722Z",
  "id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu",
  "invited_at": "2024-10-30T23:58:27.427722Z",
  "role": "user",
  "status": "pending",
  "type": "invite"
}

The Admin API is unavailable for individual accounts. To collaborate with teammates and add members, set up your organization in Console → Settings → Organization.

Headers

x-api-key

string

required

Your unique Admin API key for authentication.

This key is required in the header of all Admin API requests, to authenticate your account and access Anthropic's services. Get your Admin API key through the Console .

anthropic-version

string

required

The version of the Claude API you want to use.

Read more about versioning and our version history here .

Path Parameters

invite_id

string

required

ID of the Invite.

Response

200

application/json

Successful Response

email

string

required

Email of the User being invited.

Examples:

"user@emaildomain.com"

expires_at

string<date-time>

required

RFC 3339 datetime string indicating when the Invite expires.

Examples:

"2024-11-20T23:58:27.427722Z"

id

string

required

ID of the Invite.

Examples:

"invite_015gWxCN9Hfg2QhZwTK7Mdeu"

invited_at

string<date-time>

required

RFC 3339 datetime string indicating when the Invite was created.

Examples:

"2024-10-30T23:58:27.427722Z"

role

enum<string>

required

Organization role of the User.

Available options:

user,

developer,

billing,

admin,

claude_code_user

status

enum<string>

required

Status of the Invite.

Available options:

accepted,

expired,

deleted,

pending

type

enum<string>

default:invite

required

Object type.

For Invites, this is always "invite".

Available options:

| Title | Const | | --- | --- | | Type | invite |

Was this page helpful?

YesNo

Remove User List Invites

Assistant

Responses are generated using AI and may contain mistakes.