Follow the question structure recommended by Dev Bot before submitting your integration questions.
NOTE. Available for use with branch access key and also with General ADM access key. π§ The webhook is not created automatically for all branches, even when using a General Admin key. To configure the webhook for multiple units, register it individually for each branch, providing the corresponding idBranch.
| Parameter | Type | Description |
|---|---|---|
| idBranch | String | Number of the branch where the webhook will be registered. Only available when using a multi-location access key; ignored otherwise. |
| eventType | String | Specifies the type of event that will trigger this webhook. |
| urlCallback | String | URL that will be called after the event occurs. The API receiving the request must accept the POST type and the content in the specified format. |
| headers | Arrayobject | Optional. List of custom headers that will be included in the request. Each header is an object with name (type: string) and value (type: string). |
| filters | Arrayobject | Optional. List of filters applicable only for webhooks of type 'NewSale'. Read the explanation below. |
filters Object| Parameter | Type | Description |
|---|---|---|
filterType | string | Type of filter to be applied. Currently, the available type is SaleItemDescription. |
value | string | Value used for filtering. The match is made by contains (substring), meaning if the provided value is present anywhere in the sale item description, the filter will be satisfied. |
"filters": [
{ "FilterType": "SaleItemDescription", "Value": "ANUAL" },
{ "FilterType": "SaleItemDescription", "Value": "MENSAL" }
]urlCallback provided in the webhook registration, sending a standard event notification object in the request body.| Field | Type | Description |
|---|---|---|
IdW12 | int32 | Identifier of the W12 account (company) where the event occurred. |
IdBranch | int32 | Identifier of the branch related to the event. |
IdRecord | int32 | Identifier of the record generated by the event (e.g., sale ID, membership, customer, etc.). |
EventType | string | Type of event that triggered the webhook. The value varies according to the configured event (e.g., NewSale). |
ApiCallback | string | Endpoint of the EVO Integration API where you can consult the complete data of the occurred event. |
{
"IdW12": 123,
"IdBranch": 1,
"IdRecord": 123,
"EventType": "NewSale",
"ApiCallback": "https://evo-integracao-api.w12app.com.br/api/v1/sales/123"
}| eventType | Description | Received ID |
|---|---|---|
| EndedSessionActivity | Triggered whenever a session of the Schedule is finalized. | idActivitySession |
| Entries | Triggered whenever a passage is registered by access control. | IdEntry |
| ActivityEnroll | Triggered whenever a member schedules for an activity in the schedule. | idSession |
| SpotAvailable | Triggered whenever an activity in the schedule, previously full, becomes available. | idActivitySession |
| AppointmentEnroll | Triggered whenever there is a new scheduling of activity in the scheduling module (EVO, Site/Totem/Fiti/API). | idActivitySession |
| CancelAppointment | Triggered whenever there is a cancellation of scheduling of activity in the scheduling module (EVO, Site/Totem/Fiti/API). | idActivitySession |
| EndedSessionAppointment | Triggered whenever the scheduled activity is finalized in EVO (manually or via cron job). | idActivitySession |
| eventType | Description | Received ID |
|---|---|---|
| CreateMember | Triggered whenever an opportunity is converted into a customer. | idMember |
| AlterMember | Triggered whenever personal information of a customer is altered or when the customer is deleted. Note: Does not include change of status from active to inactive. | idMember |
| Freeze | Triggered whenever a suspension is made on a member or when the suspension is removed. | idMemberMembership |
| TransferMember | Triggered whenever a customer (member) is transferred from one branch to another. | idMember |
| eventType | Description | Received ID |
|---|---|---|
| CreateMembership | Triggered whenever a new type of contract is created. | idMembership |
| AlterMembership | Triggered whenever a contract information is altered. | idMembership |
| ScheduleCancelMembership | Triggered whenever there is a scheduling of contract cancellation. | idMemberMembership |
| CancelMembership | Triggered whenever a contract is canceled. | idMemberMembership |
| eventType | Description | Received ID |
|---|---|---|
| ClearedDebt | Triggered whenever a customer makes a payment of an overdue balance, that is, only when the payment occurs AFTER the due date, either manually by reception or by automated system collection. | idSale |
| AlterReceivables | Triggered whenever the information of a receivable in Accounts Receivable is manually edited. Automatic updates, such as payment status changes, do not trigger this event. | idReceivable |
| NewInvoice | Triggered whenever a new invoice sent for issuance is actually issued (regardless of whether it was created by recurring sale, one-off sale, or manual entry). | id |
| CancelInvoice | Triggered whenever an existing invoice in the system with issued status is canceled. | id |
| eventType | Description | Received ID |
|---|---|---|
| TransferProspect | Triggered whenever an opportunity (prospect) is transferred from one branch to another. | idProspect |
| eventType | Description | Received ID |
|---|---|---|
| CreateProduct | Triggered whenever a new type of product is created. | id |
| AlterProduct | Triggered whenever a type of product is altered. | id |
| eventType | Description | Received ID |
|---|---|---|
| CreateService | Triggered whenever a new type of service is created. | idService |
| AlterService | Triggered whenever a type of service is altered. | idService |
| eventType | Description | Received ID |
|---|---|---|
| NewSale | Triggered whenever a new sale is made in the EVO system or through the Site/Totem. Note: Does not include sales generated automatically by recurrence. | idSale |
| RecurrentSale | Triggered whenever a contract is automatically renewed in the recurrence. | idSale |
| SalesItensUpdated | Triggered whenever a new sale item is added to a Sales Page. | idSaleItem |