Skip to main content

List organization API tokens

GET 

/organizations/organization/api_tokens

Returns a list of all API tokens for an organization

Scopes

  • api_tokens
  • api_tokens:read

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Query Parameters

    organization[id] string

    The organization to list API tokens for.

    All 'organization[]' params are mutually exclusive, only one can be provided.

    organization[sub_domain] string

    The organization to list API tokens for.

    All 'organization[]' params are mutually exclusive, only one can be provided.

    annotations[][key] string[]

    An array of annotations to filter by.

    All annotations[] params should have the same amount of elements.

    annotations[][value] string[]

    An array of annotations to filter by.

    All annotations[] params should have the same amount of elements.

    page integer

    Possible values: >= 1

    Default value: 1

    The page number to request. If not provided, the first page will be returned.

    per_page integer

    Possible values: >= 1

    Default value: 30

    The number of items to return per page. If not provided, the default value will be used.

Responses

Returns a list of all API tokens for an organization

Schema

    pagination

    object

    required

    current_page integer

    The current page

    total_pages integernullable

    The total number of pages

    total integernullable

    The total number of items across all pages

    per_page integer

    The number of items per page

    large_set boolean

    Is this a large set and therefore the total number of records cannot be returned?

    api_tokens

    object[]

    required

  • Array [

  • id string
    name string
    organization_id stringnullable
    authorized_ip_addresses string[]
    expires_at integernullable
    rate_limit integer
    scopes string[]
    secret stringnullable

    The secret will only be returned on token creation or when a new secret is generated.

  • ]

Loading...