---
title: "List access tokens for the credential provider"
method: GET
path: "/api/credentialProviders/{credentialProviderId}/accessTokens"
tags: ["access-token-controller"]
---

# List access tokens for the credential provider

`GET /api/credentialProviders/{credentialProviderId}/accessTokens`

List access tokens for the credential provider from the repository.

## Path parameters

- `credentialProviderId` string, required

## Query parameters

- `name` string
- `page` integer
- `size` integer
- `sorted` boolean
- `unsorted` boolean

## Response `200`

OK

- PageAccessToken
  - `content` AccessTokenRes[]
    - `code` string
    - `createdDtm` TimestampRes
      - `date` integer
      - `day` integer
      - `hours` integer
      - `minutes` integer
      - `month` integer
      - `nanos` integer
      - `seconds` integer
      - `time` integer
      - `timezoneOffset` integer
      - `year` integer
    - `description` string
    - `expiringDtm` TimestampRes
      - `date` integer
      - `day` integer
      - `hours` integer
      - `minutes` integer
      - `month` integer
      - `nanos` integer
      - `seconds` integer
      - `time` integer
      - `timezoneOffset` integer
      - `year` integer
    - `href` string
    - `id` string
    - `lastUpdatedBy` string
    - `lastUpdatedDtm` TimestampRes
      - `date` integer
      - `day` integer
      - `hours` integer
      - `minutes` integer
      - `month` integer
      - `nanos` integer
      - `seconds` integer
      - `time` integer
      - `timezoneOffset` integer
      - `year` integer
    - `name` string
    - `permissions` string[]
    - `permittedOperations` string[]
    - `status` 'ACTIVE' | 'ARCHIVED' | 'BLOCKED' | 'PENDING'
    - `type` 'PERMANENT' | 'SESSION'
  - `empty` boolean
  - `first` boolean
  - `last` boolean
  - `number` integer
  - `numberOfElements` integer
  - `pageable` Pageable
    - `offset` integer
    - `pageNumber` integer
    - `pageSize` integer
    - `paged` boolean
    - `sort` Sort
      - `empty` boolean
      - `sorted` boolean
      - `unsorted` boolean
    - `unpaged` boolean
  - `size` integer
  - `sort` Sort
    - `empty` boolean
    - `sorted` boolean
    - `unsorted` boolean
  - `totalElements` integer
  - `totalPages` integer

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Unexpected error in processing the request.

---

[API](https://skmtc.dev/myverifly/apis/api-documentation.md) · [All operations](https://skmtc.dev/myverifly/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/myverifly/api-documentation/revisions/03f300608c33/schema)
