Skip to main content
POST
/
threads
Create Thread
curl --request POST \
  --url https://api.puppeteerai.com/threads \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "NORMAL"
}
'
{
  "thread_id": "<string>"
}

Headers

Authorization
string
required

Body

application/json
timezone
string | null

Timezone for the thread (e.g., "America/Chicago").

user_phone_number
string | null
user_email
string | null
project_name
string | null

The name of the Puppeteer project.

json_data
string | null

JSON data as a string to be sent to the thread upon creation. This data will be processed by the thread's JSON input handler.

Response

Successful Response

thread_id
string
required

The generated unique identifier for the new thread.