Skip to main content
GET
/
v1
/
threads
/
{threadId}
/
session-token
Get session token
curl --request GET \
  --url https://capy.ai/api/v1/threads/{threadId}/session-token \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "issuedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.capy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API token (capy_xxxx). Generate at capy.ai/settings/tokens

Path Parameters

threadId
string
required

Thread jam ID.

Response

Success

Session identity token payload. token is a JWT signed by Capy, but customers must treat it as an opaque bearer-style string rather than verifying it themselves.

token
string
required

Opaque session identity token. This value is a JWT and is typically 700-1000 bytes long.

expiresAt
string<date-time>
required
issuedAt
string<date-time>
required