Arm and disarm with webhooks
Last modified: Tuesday July 01, 2025.
You can arm and disarm zones using webhooks.
- Open the Zones tool andcreate or edit a zone. 
- Click ARM & DISARM .
- Under ARM BY SCHEDULE , selectBy External trigger .
- Open the dropdown and select a webhook or + Add new trigger :- Click . 
- Enter a name and click Add .
- Copy and save the Webhook address .
- Copy and save the Token .
- Click Done .
 
- Click 
- To activate or deactivate the zone:- Send an HTTP POST request to the webhook URL address.
- Set the authorization request header as Authorization: Bearer <webhook token>
- Set the request body as a JSON object:- To arm the zone, use {"action":"activate"}
- To disarm the zone, use {"action":"deactivate"}
 
- To arm the zone, use 
 
- Example cURL request:curl --location 'https://test-deployment.eu1.alta.avigilon.com/api/v1/public/ruleActivation/eyJzdWI-iOiI-xMjM-0NTY-3ODkwIiwibmF'
 --header 'Content-Type: application/json'
 --header 'Authorization: Bearer JIUzI1NiIsInR5cCI6IkpXVCJ9'
 --data '{"action": "activate"}'
- Example Windows Command Prompt cURL request:curl -H "Authorization: Bearer JIUzI1NiIsInR5cCI6IkpXVCJ9" ^
 -H "Content-Type: application/json" ^
 -d "{\"action\":\"deactivate\"}" ^
 https://test-deployment.eu1.alta.avigilon.com/api/v1/public/ruleActivation/eyJzdWI-iOiI-xMjM-0NTY-3ODkwIiwibmF- Leave out the ^carets if you enter the command in one line.
- Escape the internal double quotes around the JSON name/value pairs with backslashes: \"
 
- Leave out the 
- To edit a webhook, open the Zones tool and select > External triggers .
For more information about configuring webhooks, see Using external triggers and webhooks.