Assistant
Redeem a link token
Redeems a link token and creates the grant, binding the channel identity the token carries to the authenticated account. The identity is read from the token server-side — nothing in this request can point the link at a different one. The token is the idempotency key: it is single-use, so a replay of this request fails rather than creating a second grant.
post/v1/assistant/link
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/assistant/link
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Request body
Example request
{
"token": "alt_9f8e7d6c5b4a39281706"
}Response
Grant created. The Assistant answers that identity from the next message on.
Example response
{
"id": "agr_V1StGXR8Z5jdHi6B",
"channel": "discord",
"identifier": "discord:dm:112233445566778899",
"display_name": "ana",
"scopes": [
"read"
],
"status": "active",
"last_used_at": "2026-07-17T09:12:00.000Z",
"created_at": "2026-07-17T00:00:00.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.