---
title: "Get an access token for a credential provider"
method: GET
path: "/api/credentialProviders/{credentialProviderId}/accessTokens/{accessTokenId}"
tags: ["access-token-controller"]
---

# Get an access token for a credential provider

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

Returns the specific access token for a credential provider from the repository.

## Path parameters

- `accessTokenId` string, required
- `credentialProviderId` string, required

## Response `200`

OK

- 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'

## 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)
