Skip to main content
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parâmetros de caminho

response_id
string
obrigatório

O identificador único da resposta, formatado como 'resp_' ou 'resp-' seguido por caracteres alfanuméricos.

Pattern: ^resp[-_][a-zA-Z0-9]+$

Corpo

application/json
input
string
obrigatório
Required string length: 1 - 20000

Resposta

A resposta de sono foi sinalizada para acordar.

object
enum<string>
obrigatório
Opções disponíveis:
response.sleep_wake
response_id
string
obrigatório
created_at
string<date-time>
obrigatório