---
title: "Get external sync token"
method: GET
path: "/zones/{zoneId}/external-sync-tokens/{id}"
tags: ["External Sync Tokens"]
---

# Get external sync token

`GET /zones/{zoneId}/external-sync-tokens/{id}`

## Request

- Base URL: `https://docs.keycard.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.keycard.ai/zones/{zoneId}/external-sync-tokens/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Client credentials
    - Token URL: `/service-account-token`

Returns an external sync token's metadata. The token value is never returned.

## Path parameters

- `zoneId` string, required
- `id` string, required

## Response `200`

Token an identity provider uses to provision users and groups into a zone over SCIM. The token value is returned once, when the token is created, and is never returned again.

- IamExternalSyncToken: Token an identity provider uses to provision users and groups into a zone over SCIM. The token value is returned once, when the token is created, and is never returned again.
  - `id` string, required: Unique identifier of the token
  - `organization_id` string, required: Organization that owns this token
  - `zone_id` string, required: Zone this token provisions users into
  - `provider_id` string, required: Identity provider this token provisions users for
  - `last_used_at` string, date-time, nullable, required: When the token was last used. `null` if it has never been used.
  - `created_at` string, date-time, required: Entity creation timestamp
  - `updated_at` string, date-time, required: Entity update timestamp

## Other responses

- `404`: Error response
- `default`: Error response

## Changes

- **2026-10-16** `0cfaff865771`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/keycardai/apis/untitled-api/changes/zones/:zoneId/external-sync-tokens/:id/get.md)

---

[API](https://skmtc.dev/keycardai/apis/untitled-api.md) - [All operations](https://skmtc.dev/keycardai/apis/untitled-api/llms.txt) - [OpenAPI document](https://skmtc.dev/keycardai/apis/untitled-api/revisions/0dee67e0a73a?raw)
