API Reference · Organization · API tokens
Create API token
Mutation
createAPITokenCreates an organization API token that isn't tied to a member and has manager permissions for the organization, teams, services, incidents, incident roles, incident schemas, status pages, alerts, alert sources and alert processors. This is the only response that contains the full token.
createAPIToken(
organizationUUID: ID!
name: String!
): OrganizationApiToken!Arguments
Field
Type
Returns
Field
Type
Example
mutation CreateAPIToken($organizationUUID: ID!, $name: String!) {
createAPIToken(organizationUUID: $organizationUUID, name: $name) {
id
name
token
createdAt
}
}Example response
{
"data": {
"createAPIToken": {
"id": "01JB3X7T9QK2M4N6P8R0S2T4V6",
"name": "Example name",
"token": "Example token",
"createdAt": "2026-01-01T12:00:00Z"
}
}
}