The following diagram shows the status transition process of an API token on the platform.
Creates a new token object for the specific account.
Active
The token has been authenticated in the account. It will allow access to the endpoint.
Disabled
The token has been temporarily deactivated. Any attempts to access the endpoint will return an error.
Deleted
The token has been permanently removed from the system. This state is not visible to the client or vendor account users.
Gets the API tokens collection.

The API Token object represents a user authentication token within the platform.
This object contains the following attributes:
id
string, core
(Read-only) The primary identifier for the token.
name
string, core
Delete a token by its token ID.
Updates the specific token object.
Gets a single API token using the token ID.
Enable a specific API token.
Disable a specific API token.
The name of the token.
description
string
(Optional) A description of the token.
icon
string, core
(Optional) The relative path to the API token icon.
status
string
(Read-only) The token's status. Allowed values are:
Active
Disabled
Deleted
modules
Module validation when creating API token.
account
object
Represents the object under which the token has been defined.
Example:
token
string
(Read-only) The token's authentication code.
audit
object
(Read-only) Represents the object.
{
"id": "TKN-4134-7330",
"name": "access token",
"description": "Token for Marketplace",
"icon": "",
"status": "Active",
"modules": [
{
"id": "MOD-1756-1452"
},
{
"id": "MOD-9042-8216"
}
],
"token": "CODE"
}{
"id": "ACC-123-123",
"name": "Microsoft"
}Delete API token. Available for all account types (Operations account, Client account, Vendor account). Permanently removes the API token; it can no longer be used for authentication. Returns 204 No Content on success.
API token identifier.
No Content
No content
Bad Request
Not Found
DELETE /public/v1/accounts/api-tokens/{id} HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
No content
Update API token. Available for all account types (Operations account, Client account, Vendor account). Accepts a delta payload with fields to update (e.g. name, description, icon, modules). Returns the updated API token object.
API token identifier.
OK
Bad Request
Not Found
PUT /public/v1/accounts/api-tokens/{id} HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"name": "Robot Updated",
"description": "Updated description",
"modules": [
{
"id": "MOD-1756-1452"
}
]
}{
"id": "TKN-4134-7330",
"revision": 2,
"name": "Robot Updated",
"description": "Updated description",
"status": "Active",
"account": {
"id": "ACC-1234-5678",
"name": "Microsoft"
},
"modules": [
{
"id": "MOD-1756-1452"
}
],
"audit": {
"created": {
"at": "2024-02-01T09:12:23+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"updated": {
"at": "2024-02-02T10:00:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
}
}
}Get API token by ID. Available for all account types (Operations account, Client account, Vendor account). Returns a single API token; token value is not returned (only on create). Optional select query parameter controls which fields are returned.
API token identifier.
Optional RQL select statement to limit returned fields.
OK
Not Found
GET /public/v1/accounts/api-tokens/{id} HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
"id": "TKN-4134-7330",
"revision": 2,
"name": "Robot",
"description": "Token for ERP integration",
"status": "Active",
"account": {
"id": "ACC-1234-5678",
"name": "Microsoft"
},
"modules": [
{
"id": "MOD-1756-1452"
},
{
"id": "MOD-9042-8216"
}
]
}Enable API token. Changes API token state to Active (e.g. from Disabled). Available for all account types (Operations account, Client account, Vendor account). Returns the updated API token object.
API token identifier.
OK
Bad Request
Not Found
POST /public/v1/accounts/api-tokens/{id}/enable HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
"id": "TKN-4134-7330",
"revision": 2,
"name": "Robot",
"description": "Token for ERP integration",
"status": "Active",
"account": {
"id": "ACC-1234-5678",
"name": "Microsoft"
},
"modules": [
{
"id": "MOD-1756-1452"
}
],
"audit": {
"created": {
"at": "2024-02-01T09:12:23+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"updated": {
"at": "2024-02-02T10:00:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"enabled": {
"at": "2024-02-02T10:00:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
}
}
}Disable API token. Changes API token state to Disabled. Available for all account types (Operations account, Client account, Vendor account). Returns the updated API token object.
API token identifier.
OK
Bad Request
Not Found
POST /public/v1/accounts/api-tokens/{id}/disable HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
"id": "TKN-4134-7330",
"revision": 2,
"name": "Robot",
"description": "Token for ERP integration",
"status": "Disabled",
"account": {
"id": "ACC-1234-5678",
"name": "Microsoft"
},
"modules": [
{
"id": "MOD-1756-1452"
}
],
"audit": {
"created": {
"at": "2024-02-01T09:12:23+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"updated": {
"at": "2024-02-02T10:05:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"disabled": {
"at": "2024-02-02T10:05:00+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
}
}
}Create API token. Available for all account types (Operations account, Client account, Vendor account). Accepts account reference, name, optional description, and at least one module. Returns the created API token object with revision 1 and token value (returned only on create).
^ACC-\d\d\d\d-\d\d\d\d$^ACC-\d\d\d\d-\d\d\d\d$^ACC-\d\d\d\d-\d\d\d\d$^ACC-\d\d\d\d-\d\d\d\d$^ACC-\d\d\d\d-\d\d\d\d$^MOD-\d\d\d\d$^MOD-\d\d\d\d$Created
Bad Request
POST /public/v1/accounts/api-tokens HTTP/1.1
Host: api.platform.softwareone.com
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"account": {
"id": "ACC-1234-5678"
},
"name": "Robot",
"description": "Token for ERP integration",
"modules": [
{
"id": "MOD-1756-1452"
},
{
"id": "MOD-9042-8216"
}
]
}{
"id": "TKN-4134-7330",
"revision": 1,
"name": "Robot",
"description": "Token for ERP integration",
"status": "Active",
"token": "idt:TKN-4134-7330:z24kA...328f",
"account": {
"id": "ACC-1234-5678",
"name": "Microsoft"
},
"modules": [
{
"id": "MOD-1756-1452"
},
{
"id": "MOD-9042-8216"
}
],
"audit": {
"created": {
"at": "2024-02-01T09:12:23+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
},
"updated": {
"at": "2024-02-01T09:12:23+00:00",
"by": {
"id": "USR-0001",
"name": "Ops User"
}
}
}
}List API tokens. Available for all account types (Operations account, Client account, Vendor account). Returns a paged list of API tokens; supports RQL query parameters for filtering and selection.
Stream the full result set instead of a page. Membership fixes at stream start, each record is emitted once, and MPT-Item-Count gives the exact count. Accept: application/jsonl for line-delimited output. A positive limit caps the stream, -1 or absent reads all; offset skips that many records of the requested order, so limit and offset together read one window. Each window is its own snapshot — consecutive windows are not a resumable export.
OK
Streamed and paged responses both answer 200. Only a streamed one carries the MPT-Streaming and MPT-Item-Count headers listed below.
application/jsonl: one object per line, no envelope, so the schema describes one line. A line is a record or an ID-only deleted stub (StreamedDeletedRecord) — check $meta.deleted before ingesting. Blank lines are keep-alives.
Streamed responses only, where it is true. Absent on a paged response.
Streamed responses only. Absent on a paged response. The exact object count — compare it with the number received.
Invalid RQL, or invalid paging. limit must be positive (caps the stream) or -1 / absent (reads all); offset must be a non-negative integer.
No content
No acceptable media type. application/jsonl without the MPT-Streaming header lands here.
No content
The result set exceeds the configured stream key cap. Nothing is written to the body.
No content
This resource's query service provides no streaming capability.
No content
GET /public/v1/accounts/api-tokens HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
"data": [
{
"id": "TKN-4134-7330",
"revision": 2,
"name": "Robot",
"description": "Token for ERP integration",
"status": "Active",
"account": {
"id": "ACC-1234-5678",
"name": "Microsoft"
},
"modules": [
{
"id": "MOD-1756-1452"
},
{
"id": "MOD-9042-8216"
}
]
}
],
"$meta": {
"pagination": {
"offset": 0,
"limit": 10,
"total": 1
}
}
}