1. The Access Token Object

The Access Token Object

This is an object representing an access token.

Properties

  • id

    number

    The numeric ID

  • access

    string

    Type of token : public or private (preview token)

  • branch_id

    number

    Branch to which the token is associated to. Only if you are using the Pipelines application (null otherwise)

  • name

    string

    The name of the access token

  • space_id

    number

    Numeric ID of a space

  • token

    string

    The token

  • story_ids

    number[]

    List of story IDs that can be accessed with the access token. Only if you are using the Access Token Scopes app.

  • min_cache

    number

    The minimum of seconds for the CDN cache. Default 0

Example Object
{
    "api_keys": [
        {
            "id": 650836,
            "access": "public",
            "branch_id": 32198,
            "name": "New",
            "space_id": 123123,
            "token": "13Kft3335iwbBOI333wawtt",
            "story_ids": [
                123,
                1234,
                1321            
             ],
            "min_cache": 60
        },
        {
            "id": 448948,
            "access": "private",
            "branch_id": null,
            "name": null,
            "space_id": 233027,
            "token": "333LMgPcrM555kSeSL988gtt",
            "story_ids": [],
            "min_cache": 0
        }
    ]
}