---
title: "Get a token by service, mode and token link."
method: GET
path: "/v1/frontend/auth/service/{serviceExternalId}/mode/{serviceMode}/{tokenLink} "
tags: ["Auth"]
---

# Get a token by service, mode and token link.

`GET /v1/frontend/auth/service/{serviceExternalId}/mode/{serviceMode}/{tokenLink} `

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `serviceExternalId` string, required
- `serviceMode` 'LIVE' | 'TEST', required
- `tokenLink` string, required

## Response `200`

OK

- TokenResponse
  - `created_by` string
  - `description` string
  - `issued_date` string
  - `last_used` string
  - `revoked` string
  - `service_external_id` string
  - `service_mode` 'LIVE' | 'TEST'
  - `token_link` string
  - `token_type` 'CARD' | 'DIRECT_DEBIT'
  - `type` 'API' | 'PRODUCTS'

## Other responses

- `404`: Token not found

## Changes

- **2025-06-25** `e5ade61b9296`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/government-digital-service/apis/publicauth-api/changes/v1/frontend/auth/service/:serviceExternalId/mode/:serviceMode/:tokenLink%20/get.md)

---

[API](https://skmtc.dev/government-digital-service/apis/publicauth-api.md) - [All operations](https://skmtc.dev/government-digital-service/apis/publicauth-api/llms.txt) - [OpenAPI document](https://skmtc.dev/government-digital-service/apis/publicauth-api/revisions/c661c91f1df4?raw)
