Skip to main content
GET
/
v1
/
api-keys
List API tokens
curl --request GET \
  --url https://{instance}.omniapp.co/api/v1/api-keys \
  --header 'Authorization: Bearer <token>'
{
  "pageInfo": {
    "hasNextPage": false,
    "nextCursor": null,
    "pageSize": 50,
    "totalRecords": 2
  },
  "records": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "CI deployment key",
      "type": "organization",
      "enabled": true,
      "createdAt": "2026-01-15T10:00:00.000Z",
      "membershipId": null
    },
    {
      "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "name": "Personal token",
      "type": "personal",
      "enabled": true,
      "createdAt": "2026-02-10T14:30:00.000Z",
      "membershipId": "c3d4e5f6-a7b8-9012-cdef-123456789012"
    }
  ]
}

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Query Parameters

type
enum<string>

Filter by token type. Omit to return all types.

  • organization - Organization-level API key. Not tied to a specific user.
  • personal - Personal access token. Acts as a specific user.
  • mcp - MCP OAuth grant issued during the OAuth authorization flow
Available options:
organization,
personal,
mcp
cursor
string<uuid>

Cursor for pagination.

pageSize
integer
default:20

Number of items to return per page.

Required range: 1 <= x <= 100
sortField
enum<string>
default:createdAt

Field to sort by.

Available options:
createdAt,
name
sortDirection
enum<string>
default:desc

Sort direction.

Available options:
asc,
desc

Response

API tokens retrieved successfully.

pageInfo
object

Pagination information for paginated responses.

records
object[]