Pular para o conteúdo principal
POST
Enviar eventos em lote

Autorizações

Authorization
string
header
obrigatório

API key criada nas configurações da organização.

Cabeçalhos

Idempotency-Key
string

Chave única da operação. Repetir a mesma chave com o mesmo corpo devolve a resposta original em vez de executar de novo.

Corpo

application/json
events
object[]
obrigatório
Required array length: 1 - 100 elements

Resposta

Resultado de cada evento, na ordem enviada.

object
string
obrigatório
Allowed value: "event_batch"
created
integer
obrigatório
Intervalo obrigatório: x >= 0
duplicate
integer
obrigatório
Intervalo obrigatório: x >= 0
failed
integer
obrigatório
Intervalo obrigatório: x >= 0
results
object[]
obrigatório

Um resultado por evento, na mesma ordem e com o mesmo tamanho de events.