New Registration
This event is triggered whenever a new user is registered on the platform, regardless of the method. It sends information about the newly registered user to the chosen route.
Event Details
Section titled “Event Details”| Parameter | Type | Description |
|---|---|---|
name | string | Name of the event: “Membros - Novo cadastro” |
slug | string | Unique identifier: members.created |
send_at | string | Date and time of the event (format: “yyyy-MM-dd HH:mm:ss”) |
acao | string | Description of the action performed: “cadastro” |
Payload Structure
Section titled “Payload Structure”User Object
Section titled “User Object”| Parameter | Type | Description |
|---|---|---|
id | number | Unique identifier for the user. |
name | string | The name of the user. |
email | string | The email address of the user. |
date_of_birth | string | Date of birth of the user. |
institution | array | List of institutions the user belongs to. |
institution[].id | number | Institution ID. |
institution[].schools | array | Schools associated with the institution. |
cpf | string | User’s CPF. |
cnpj | string | User’s CNPJ. |
nickname | string | null | User’s nickname. |
uuid | string | null | Universal unique identifier of the user. |
phone | string | User’s phone number. |
address | object | Address information for the user. |
address.cep | string | ZIP code. |
address.uf | string | State. |
address.cidade | string | City. |
address.bairro | string | Neighborhood. |
address.logradouro | string | Street address. |
address.numero | string | Address number. |
address.complemento | string | Address complement. |
Form Answers
Section titled “Form Answers”| Parameter | Type | Description |
|---|---|---|
formulario_respostas | array | List of objects containing form responses. |
Trigger Action
Section titled “Trigger Action”The event is triggered in the following scenarios:
- When a user completes the registration form in the “Institution” or “Unit” system.
- When an Administrator, Manager, or Teacher registers a user through the “New Members” section.
- When a user is registered via API or CSV import.
Payload Example
Section titled “Payload Example”{ "event": { "name": "Membros - Novo cadastro", "slug": "members.created", "send_at": "2023-03-16 11:38:00", "acao": "cadastro" }, "data": { "user": { "id": 88111131, "name": "Student", "email": "student@gmail.com", "institution": [ { "id": 5125342498, "schools": [ { "id": 19123424393, "role_id": 4, "created_at": "16/03/2023 11:37:36", "updated_at": "16/03/2023 11:37:36" } ] } ], "cpf": "111.222.333-01", "cnpj": "67.124.784/0001-30", "nickname": null, "uuid": null, "phone": "(12) 3 1231-3212", "address": { "cep": "05608-015", "uf": "SP", "cidade": "Osasco", "bairro": "Cidade Jardim", "logradouro": "Praça Professor José de Melo Pimenta", "numero": "140", "complemento": "house" } }, "formulario_respostas": [ { "favorite_color": "blue" } ] }}Security
Section titled “Security”Ensure that the destination URL is correct before you start sending payloads. Verify that the parameters sent are correct and complete. Make sure that the webhook recipients are correct and valid. Log and monitor all webhook calls for auditing and troubleshooting purposes.