User Profile Updated
This webhook sends an event every time a registration is edited. The event will be triggered when a user edits their profile information or when an administrator/manager performs the edit on behalf of the user.
Event Details
Section titled “Event Details”| Parameter | Type | Description |
|---|---|---|
name | string | Name of the event: “Membros - Edição de dados de usuário” |
slug | string | Unique identifier: members.updated |
send_at | string | Date and time of the event (format: “yyyy-MM-dd HH:mm:ss”) |
acao | string | Action associated with the event: atualização |
Payload Structure
Section titled “Payload Structure”User Object
Section titled “User Object”| Parameter | Type | Description |
|---|---|---|
id | number | Numerical identifier of the user. |
name | string | Name of the user. |
email | string | Email address of the user. |
institution | array | List of institutions the user belongs to. |
institution[].id | number | Institution identifier. |
institution[].schools | array | Schools associated with the institution. |
institution[].schools[].id | number | School identifier. |
institution[].schools[].role_id | number | User role ID in the school. |
institution[].schools[].created_at | string | Creation date (format: “dd/MM/yyyy HH:mm:ss”). |
institution[].schools[].updated_at | string | Last update date (format: “dd/MM/yyyy HH:mm:ss”). |
cpf | string | User’s CPF. |
nickname | string | null | User’s nickname. |
uuid | string | null | Universal unique identifier of the user. |
Trigger Action
Section titled “Trigger Action”The event will be triggered when a user edits their profile information or when an administrator/manager performs the edit on behalf of the user.
Payload Example
Section titled “Payload Example”{ "event": { "name": "Membros - Edição de dados de usuário", "slug": "members.updated", "send_at": "2023-07-03 13:16:22", "acao": "atualização" }, "data": { "user": { "id": 123456789, "name": "Student Name", "email": "student@toolzz.com", "institution": [ { "id": 123456, "schools": [ { "id": 12345678, "role_id": 4, "created_at": "29/06/2023 17:46:31", "updated_at": "03/07/2023 13:15:38" } ] } ], "cpf": "123.456.789-99", "nickname": null, "uuid": null } }}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.