curl --request POST \ --url https://api.puppeteerai.com/threads/{thread_id}/token \ --header 'Authorization: <authorization>'
Copy
Ask AI
{ "access_token": "<string>"}
Auth
Create Token
Generate a JWT token for a specific thread. The JWT can be used to authenticate subsequent requests scoped to this thread, such as WebSocket connections and message retrieval.
POST
/
threads
/
{thread_id}
/
token
Create Token
Copy
Ask AI
curl --request POST \ --url https://api.puppeteerai.com/threads/{thread_id}/token \ --header 'Authorization: <authorization>'