---
title: "Authenticate Share Link"
method: POST
path: "/api/share/auth"
tags: ["share"]
---

# Authenticate Share Link

`POST /api/share/auth`

Authenticate a public share link and issue a guest chat token.

## Request body

- ShareAuthRequest
  - `share_token` string, required

## Response `200`

Successful Response

- PublicChatAuthResponse
  - `access_token` string, required
  - `token_type` string
  - `agent_id` integer, nullable
  - `agent_name` string, nullable
  - `agent_logo` string, nullable
  - `agent_description` string, nullable
  - `suggested_prompts` string[]

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/xorbitsai/apis/xagent.md) · [All operations](https://skmtc.net/xorbitsai/apis/xagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xorbitsai/xagent/revisions/33e4ba4936ad/schema)
