Criação de Empresa
1 min
Ao receber um novo cadastro de empresa na plataforma, o Webhook Administrativo é chamado.
Abaixo segue o payload enviado:
{
"event": "new_company",
"company": {
"document": "",
"id": 91,
"name": "teste webhook empresa",
"phone": "39218120321312",
"namecomplete": "teste webhook",
"pais": "BR",
"indicator": null,
"email": "[email protected]",
"status": true,
"planId": 2,
"dueDate": "2024-05-16T20:21:05.000Z",
"recurrence": "MENSAL",
"importar": false,
"typebotName": "",
"typebotUrl": "",
"iframeUser": "",
"iframeUserUrl": "",
"iframeAdmin": "",
"iframeAdminUrl": "",
"blockGroups": false,
"updatedAt": "2024-05-10T20:21:34.740Z",
"createdAt": "2024-05-10T20:21:34.740Z",
"schedules": [],
"lastLogin": null,
"paymentMethod": "",
"messageCount": "",
"keystorage": "postgres",
"apiUsada": "postgres",
"iframeUserUrlB": "",
"iframeUserB": ""
}
}