---
title: "Start the official portrait authorization for an owned reference; the person must complete it"
method: POST
path: "/v1/portraits"
tags: ["platform-api"]
---

# Start the official portrait authorization for an owned reference; the person must complete it

`POST /v1/portraits`

## Request

- Base URL: `https://api.cuddler.ai`
- URL: `https://api.cuddler.ai/v1/portraits`
- Auth: HTTP bearer

## Request body

- object
  - `reference_id` string, cuid, required

## Response `200`

Official authorization session; no generation charge

- object
  - `id` string, cuid, required
  - `status` 'pending' | 'active' | 'expired' | 'revoked' | 'failed', required
  - `authorization_url` string, uri
  - `expires_at` string, date-time, required

## Other responses

- `401`: unauthorized — no key, or an unknown or revoked one (WWW-Authenticate: Bearer)
- `403`: organization_suspended — the organization is not active; forbidden — a test key on a live-only route
- `404`: not_found — the Platform API is switched off, or the object does not exist
- `429`: rate_limited — over this key's requests per minute (Retry-After)
- `500`: internal_error — quote request_id when contacting support

---

[API](https://skmtc.dev/cuddler/apis/cuddler-platform-api.md) · [All operations](https://skmtc.dev/cuddler/apis/cuddler-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cuddler/apis/cuddler-platform-api/revisions/f03943ceadff?raw)
