APIApi keys

List all API keys

Returns a list of all API keys for the authenticated user

Returns a list of all API keys for the authenticated user

GET
/api/client/account/api-keys

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your API token in the format: Bearer {token}

In: header

Response Body

application/json

curl -X GET "https://example.com/api/client/account/api-keys"
{
  "object": "list",
  "data": [
    {
      "object": "api_key",
      "attributes": {
        "identifier": "ptlc_1a2b3c4d5e6f",
        "description": "My Personal API Key",
        "allowed_ips": [
          "192.168.1.1"
        ],
        "last_used_at": "2019-08-24T14:15:22Z",
        "created_at": "2019-08-24T14:15:22Z"
      }
    }
  ]
}
Empty