---
title: "Mint a Passport Link ticket"
method: POST
path: "/partner/v1/link/tickets"
---

# Mint a Passport Link ticket

`POST /partner/v1/link/tickets`

## Request

- Base URL: `https://passport.ego.ist`
- URL: `https://passport.ego.ist/partner/v1/link/tickets`
- Auth: HTTP bearer

## Request body

- LinkTicketRequest
  - `external_user_id` string, required
  - `account_context` string, required
  - `requested_scopes` string[], required
  - `completion_redirect_uri` string, uri

## Response `201`

Ticket minted

- LinkTicketResponse
  - `ticket_id` string, uuid, required
  - `link_url` string, uri, required
  - `expires_at` string, date-time, required

## Other responses

- `400`: Partner API error. Retry behavior depends on the status and error code.
- `401`: Partner API error. Retry behavior depends on the status and error code.
- `403`: Partner API error. Retry behavior depends on the status and error code.
- `429`: Partner API error. Retry behavior depends on the status and error code.
- `503`: Partner API error. Retry behavior depends on the status and error code.

---

[API](https://skmtc.dev/ego/apis/ai-passport-partner-api.md) - [All operations](https://skmtc.dev/ego/apis/ai-passport-partner-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ego/apis/ai-passport-partner-api/revisions/d4e46c2809bf?raw)
