Skip to main content
PATCH
Atualizar um agendamento

Autorizações

Authorization
string
header
obrigatório

Chave de API enviada como token Bearer

Parâmetros de caminho

appointment_id
string
obrigatório

Corpo

application/json

PATCH body. Provide exactly one of status or scribeSessionId.

status is limited to cancelled / noshow (a booking is fulfilled only by the server when its session is created). scribeSessionId repairs a missed link: attach the session (ss_) whose id did not match the booking at create time; the booking then becomes fulfilled.

status
enum<string> | null

Set the booking to cancelled or noshow.

Opções disponíveis:
cancelled,
noshow
Exemplo:

"cancelled"

scribeSessionId
string | null

Public id of the session to attach when it was not auto-linked at create time. Sets the link and marks the booking fulfilled.

Pattern: ^ss_[a-z0-9]{16}$
Exemplo:

"ss_a1b2c3d4e5f6g7h8"

Resposta

Resposta bem-sucedida

A single appointment. id is the stable public id (apt_...).

id
string
obrigatório

Stable public identifier.

Exemplo:

"apt_a1b2c3d4e5f6g7h8"

status
string
obrigatório
Exemplo:

"booked"

createdAt
string
obrigatório

ISO-8601 timestamp when the appointment was created.

consultationInternalId
string | null
Exemplo:

"CONSULT-12345"

start
string | null
Exemplo:

"2026-09-01T14:00:00.000Z"

end
string | null
Exemplo:

"2026-09-01T14:30:00.000Z"

minutesDuration
integer | null
Exemplo:

30

serviceType
string | null
Exemplo:

"cardiology"

appointmentType
string | null
Exemplo:

"follow-up"

reason
string | null
Exemplo:

"Follow-up"

description
string | null
Exemplo:

"Routine check"