Show examples in:
Javascript HTTP

Content Management API > API token

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

Example: "312"
type string

Must be exactly "access_token".

name string

Name of API token

Example: "Read-only API token"
hardcoded_type null, string
can_access_cda boolean

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

can_access_cda_preview boolean

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

can_access_cma boolean

Whether this API token can access the Content Management API

token null, string

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

Example: "XXXXXXXXXXXXXXX"
role

Role

Available endpoints