cURL
curl https://api.anthropic.com/v1/organizations/invites \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY" \
--header "anthropic-version: 2023-06-01"{
"data": [
{
"email": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"invited_at": "2023-11-07T05:31:56Z",
"type": "invite"
}
],
"first_id": "<string>",
"has_more": true,
"last_id": "<string>"
}Organization Invites
List Invites
GET
/
v1
/
organizations
/
invites
cURL
curl https://api.anthropic.com/v1/organizations/invites \
--header "x-api-key: $ANTHROPIC_ADMIN_KEY" \
--header "anthropic-version: 2023-06-01"{
"data": [
{
"email": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"invited_at": "2023-11-07T05:31:56Z",
"type": "invite"
}
],
"first_id": "<string>",
"has_more": true,
"last_id": "<string>"
}The Admin API is unavailable for individual accounts. To collaborate with teammates and add members, set up your organization in Console → Settings → Organization.
Headers
Query Parameters
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
Number of items to return per page.
Defaults to 20. Ranges from 1 to 1000.
Required range:
1 <= x <= 1000Response
Successful Response
Show child attributes
Show child attributes
First ID in the data list. Can be used as the before_id for the previous page.
Indicates if there are more results in the requested page direction.
Last ID in the data list. Can be used as the after_id for the next page.
Was this page helpful?
⌘I