Skip to main content
POST
Create conversation thread

Autorizaciones

Authorization
string
header
requerido

Bearer token for API authentication

Encabezados

x-doctor
string
requerido

Doctor identifier for tracking and auditing

x-patient
string

Patient identifier for tracking and auditing

Cuerpo

application/json

The body is of type object.

Respuesta

Thread created successfully

thread_id
string
requerido

Unique thread identifier

Ejemplo:

"thread-abc123"

created_at
string<date-time>
requerido

Timestamp when thread was created

Ejemplo:

"2023-10-09T10:00:00.000Z"

status
enum<string>
requerido

Current status of the thread

Opciones disponibles:
active,
closed
Ejemplo:

"active"