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

# List external sync tokens

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

## 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`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Client credentials
    - Token URL: `/service-account-token`

Returns the external sync tokens for a zone, newest first. Token values are never returned; the value is available only in the response that created the token.

## Path parameters

- `zoneId` string, required

## Query parameters

- `after` string
- `before` string
- `limit` integer
- `expand[]` union
  - 'total_count'
  - string[]

## Response `200`

Default Response

- object
  - `items` IamExternalSyncToken[], required
    - `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
  - `pagination` IamPagination, required: Cursor-based pagination metadata
    - `after_cursor` string, required: An opaque cursor used for paginating through a list of results
    - `before_cursor` string, required: An opaque cursor used for paginating through a list of results
    - `total_count` integer: Total number of items matching the query. Only included when expand[]=total_count is requested.

## Other responses

- `400`: Error response
- `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/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)
