Skip to Content
OpenPerf

API tokens

List API tokens

GET
/api/v1/api-tokens

Returns the organization's API tokens without their secret values.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Response Body

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.example.com/api/v1/api-tokens'
Example Response
[
  {
    "id": "string",
    "name": "string",
    "scope": "read",
    "start": "string",
    "createdBy": {
      "id": "string",
      "name": "string"
    },
    "expiresAt": "2019-08-24T14:15:22Z",
    "lastUsedAt": "2019-08-24T14:15:22Z",
    "createdAt": "2019-08-24T14:15:22Z"
  }
]