Skip to main content
POST
/
threads
Create a thread
curl --request POST \
  --url https://api.anyapi.ai/v1/threads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "object": "thread",
  "created_at": 123
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Get your API key from the dashboard.

Body

application/json · object

Response

Thread created successfully

id
string

Thread ID

object
string
Example:

"thread"

created_at
integer

Creation timestamp