Webhook configuration and event notifications.
Altegio sends real-time HTTP POST notifications to your configured URLs when events occur in subscribed locations. Each notification contains a JSON payload with the event envelope (company_id, resource, resource_id, status) and the full resource data.
Delivery details:
- Method: POST
- Content-Type: application/json
- Delivery delay: ~5 seconds after the event
- Your endpoint must respond with a 2xx status code
Configuration: Use the Webhook Settings endpoint to subscribe to specific resource types.
Retry behavior:
- If your endpoint returns a non-2xx status or times out, the delivery is considered failed
- Failed deliveries are not retried automatically
- Webhook delivery timeout: 15 seconds
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/developers/openapi/hooks_settings/{location_id}
- Productionhttps://api.alteg.io/api/v1/hooks_settings/{location_id}
curl -i -X GET \
'https://developer.alteg.io/_mock/en/developers/openapi/hooks_settings/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: string'OK
Object with data
Example:
{ "urls": [ "https://dev.tools.test.com/test/Hooks" ], "active": 0, "salon": 1, "service_category": 0, "service": 1, "good": 1, "master": 1, "client": 1, "record": 1, "goods_operations_sale": 1, "goods_operations_receipt": 1, "goods_operations_consumable": 1, "goods_operations_stolen": 1, "goods_operations_move": 1, "finances_operation": 1 }
Response
{ "success": true, "data": { "urls": [ … ], "active": 0, "salon": 1, "service_category": 0, "service": 1, "good": 1, "master": 1, "client": 1, "record": 1, "goods_operations_sale": 1, "goods_operations_receipt": 1, "goods_operations_consumable": 1, "goods_operations_stolen": 1, "goods_operations_move": 1, "finances_operation": 1 }, "meta": [] }