Listing Tokens

This method allows you to return a full list of all API tokens which are currently configured for your account.

URL

/api/v2/api_tokens/all

Access

This method can be accessed by account level tokens. In addition, user tokens for applications who have been granted this level of access may also access this method.

Example JSON

[
    {
        "id": 1,
        "name": "Development Key",
        "token": "dev",
        "secret": "dev",
        "ip_addresses": null,
        "enabled": true,
        "log": false,
        "log_response": false,
        "user": null,
        "api_application": null
    },
    {
        "id": 2,
        "name": "User Development Key",
        "token": "user",
        "secret": "user",
        "ip_addresses": null,
        "enabled": true,
        "log": false,
        "log_response": false,
        "user": {
            "id": 1,
            "username": "adam",
            "first_name": "Adam",
            "last_name": "Cooke",
            "email_address": "adam@atechmedia.com",
            "time_zone": "London",
            "time_format": "default",
            "created_at": "2012-11-29T11:52:16Z",
            "job_title": null,
            "activated?": true,
            "invite_code": "357cec78-3cdc-3fab-7d32-dbe388a0c5fd"
        },
        "api_application": {
            "id": 1,
            "name": "Development Test App"
        }
    }
]

Proudly powered by Katapult. Running on 100% renewable energy.