Api tokens

Get list of API tokens for an organisation

get

An authenticated user retrieves the list of tokens for the specified organisation (it requires admin permissions over the organisation)

Query parameters
offsetintegerOptional

Pagination offset

limitinteger · min: 1 · max: 100Optional

Pagination limit

orderBystringOptional

Order the results by this field, in this direction

Example: createdAt:descPattern: ^[a-zA-Z0-9\_]+(:(asc|desc))?$
Responses
200
OK
application/json
get
GET /api/api-tokens HTTP/1.1
Host: app.seedata.io
Accept: */*
200

OK

{
  "metadata": {
    "totalCount": 1,
    "offset": 1,
    "limit": 1
  },
  "items": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "description": "text",
      "token": "text",
      "expiration": "2025-06-23T22:37:21.153Z",
      "createdByType": "text",
      "createdById": "text",
      "roleId": "123e4567-e89b-12d3-a456-426614174000",
      "createdAt": "2025-06-23T22:37:21.153Z",
      "updatedAt": "2025-06-23T22:37:21.153Z"
    }
  ]
}

Get an API token for an organisation

get

Get an API token for the specified organisation (it requires admin permissions over the organisation)

Path parameters
tokenIdstring · uuidRequired
Responses
200
OK
application/json
get
GET /api/api-tokens/{tokenId} HTTP/1.1
Host: app.seedata.io
Accept: */*
200

OK

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "description": "text",
  "token": "text",
  "expiration": "2025-06-23T22:37:21.153Z",
  "createdByType": "text",
  "createdById": "text",
  "roleId": "123e4567-e89b-12d3-a456-426614174000",
  "createdAt": "2025-06-23T22:37:21.153Z",
  "updatedAt": "2025-06-23T22:37:21.153Z"
}

Was this helpful?