Show examples in:
API token

An API token allows access to our API. It is linked to a Role, which describes what actions can be performed.

Object payload

id  string
ID of access_token
type  string
Must be exactly "access_token"
name  string  Example: "Read-only API token"

Name of API token

hardcoded_type  null, string
can_access_cda  boolean  Example: true

Whether this API token can access the Content Delivery API published content endpoint

can_access_cda_preview  boolean  Example: true

Whether this API token can access the Content Delivery API draft content endpoint

can_access_cma  boolean  Example: true

Whether this API token can access the Content Management API

token  null, string  Example: "XXXXXXXXXXXXXXX"

The actual API token (or null if the current user has no permission to read the token)

role{ type: "role", id: role.id }, null

Role

Available endpoints