---
title: "Save nonce token for auth handshake"
method: POST
path: "/auth-token/save-nonce-token"
tags: ["Auth Token"]
---

# Save nonce token for auth handshake

`POST /auth-token/save-nonce-token`

## Request

- Base URL: `https://api.distill.io/v2`
- URL: `https://api.distill.io/v2/auth-token/save-nonce-token`
- Auth: one of:
  - API key in cookie `connect.sid`
  - HTTP bearer
  - API key in query parameter `api_key`

Auth: Auth — Any authenticated user.

## Request body

- object
  - `nonce` string, required
  - `clientId` string, required
  - `shortLivedToken` string

## Response `200`

Success

- object
  - `message` string, required

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/distill/apis/distill-io-api-v2.md) - [All operations](https://skmtc.dev/distill/apis/distill-io-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/distill/apis/distill-io-api-v2/revisions/c55722ccfe14?raw)
