Skip to main content
GET
/
api
/
generic
/
tokens
Get tokens
curl --request GET \
  --url https://{cluster_id}.on-hellgate.cloud/api/generic/tokens \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "8744c9ea-a02b-4ae6-875c-b64fc333e3ef",
      "created_at": "2023-10-01T12:00:00Z"
    }
  ],
  "links": {
    "next": "https://my-cluster-id.on-hellgate.cloud/generic/tokens?after=8744c9ea-a02b-4ae6-875c-b64fc333e3ef&limit=20"
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

schema_id
string<uuid>

Filter the tokens by their schema, referenced by this schema ID.

limit
integer
default:20

The limit parameter defines the maximum number of rows returned in a single call and enables consecutive pagination using the next link provided in the response payload.

Required range: 1 <= x <= 100

Response

Success response

data
object[]
required