For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pinned Chats

Get Pinned Chats

get
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
usernamestringRequired
Responses
200

Successful Response

application/json
anyOptional
get/api/v1/user/pinned/chats/{username}
GET /api/v1/user/pinned/chats/{username} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Pin Chat

put
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
chat_idintegerRequired
Responses
204

Successful Response

No content

put/api/v1/user/pinned/chats/{chat_id}
PUT /api/v1/user/pinned/chats/{chat_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Unpin Chat

delete
Authorizations
AuthorizationstringRequired

Enter your JWT token (without 'Bearer ' prefix)

Path parameters
chat_idintegerRequired
Responses
204

Successful Response

No content

delete/api/v1/user/pinned/chats/{chat_id}
DELETE /api/v1/user/pinned/chats/{chat_id} HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*

No content

Last updated