Skip to main content
POST
List current-organization API keys

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Accepted values are Leadping user JWT access tokens and WorkOS organization API keys beginning with sk_.

Body

Pagination, filtering, and sorting options.

Defines cursor pagination, sorting, search, exact-match filters, and range filters for a structured API query.

pageSize
integer<int32>

Maximum number of items requested for one page; the server may enforce a lower maximum or apply a default.

continuationToken
null | string

Opaque cursor returned by the previous paged response; omit it when requesting the first page and do not parse or modify it.

orderBy
null | object[]

Sort instructions applied in priority order, with the first entry acting as the primary sort.

includeCount
null | boolean

Whether the response should include the total number of matching records; counting may increase query cost or latency.

search
null | string

Free-text search term applied to the configured SearchFields.

searchFields
null | string[]

Serializable string field names searched for Search; supported names are determined by the queried resource.

filters
null | object[]

Exact-match conditions that require each named field to equal its supplied value.

rangeFilters
null | object[]

Range conditions that constrain comparable fields with inclusive or exclusive lower and upper bounds.

Response

Current-organization API keys were successfully retrieved.

A page of safe organization API-key previews.

items
object[]

Safe API-key previews in the current page.

pageSize
integer<int32>

Number of API keys in the current page.

totalCount
integer<int32>

Total number of API keys matching the request.

continuationToken
null | string

Opaque token for retrieving the next page, or null when this is the last page.