Eventos de interação (interaction.*)
Registros da timeline de contato com o cliente (ligações, e-mails, notas). data é a interação completa com person, user (quem registrou) e charge resumidos.
Valores de interactionType: call · email · whatsapp · meeting · note. direction: inbound · outbound. outcome: promise_to_pay · negotiation · dispute · no_contact · callback_requested · payment_confirmed.
interaction.created
Dispara quando uma interação é registrada na timeline.
{
"event": "interaction.created",
"timestamp": "2026-07-23T12:00:00.000Z",
"organizationId": "0f7a3c1e-2b4d-4e6f-8a9b-1c2d3e4f5a6b",
"data": {
"id": "0b2d4f6a-8c1e-4a3c-9e5f-7a9b1d3f5c7e",
"publicId": "e1f2a3b4-c5d6-4e7f-8091-021324354657",
"organizationId": "0f7a3c1e-2b4d-4e6f-8a9b-1c2d3e4f5a6b",
"workspaceId": null,
"companyId": null,
"businessUnitId": null,
"personId": "7c1e9f2a-3b4d-4c5e-8f6a-1b2c3d4e5f60",
"chargeId": "4a2b6c8d-1e3f-4a5b-9c7d-2e4f6a8b0c1d",
"userId": "3e5a7c9b-2d4f-4a6c-8e0b-7f9d1b3e5a7c",
"interactionType": "call",
"direction": "outbound",
"summary": "Cliente prometeu pagar até sexta-feira.",
"outcome": "promise_to_pay",
"promiseDate": "2026-07-25T00:00:00.000Z",
"promisedAmount": "1500.00",
"contactedAt": "2026-07-23T11:40:00.000Z",
"durationSeconds": 320,
"metadata": null,
"externalId": null,
"customData": null,
"tags": [],
"deletedAt": null,
"createdAt": "2026-07-23T12:00:00.000Z",
"updatedAt": "2026-07-23T12:00:00.000Z",
"person": {
"id": "7c1e9f2a-3b4d-4c5e-8f6a-1b2c3d4e5f60",
"name": "Padaria Pão Quente Ltda",
"documentNumber": "12345678000190"
},
"user": {
"id": "3e5a7c9b-2d4f-4a6c-8e0b-7f9d1b3e5a7c",
"name": "Ana Souza",
"email": "ana@empresa.com.br",
"avatarUrl": null
},
"charge": {
"id": "4a2b6c8d-1e3f-4a5b-9c7d-2e4f6a8b0c1d",
"documentNumber": "NF-2026-0451",
"originalAmount": "1500.00",
"dueDate": "2026-07-31T00:00:00.000Z",
"status": "overdue"
}
}
}
user é null em interações registradas automaticamente (ex.: nota criada por um webhook de pagamento falho).