Application primers
Last modified: Wednesday July 02, 2025.
The following examples outline the steps and API operations required to perform some common integration tasks.
View alarm video using a shared link
- Configure an external link and webhook as alarm actions for the zone. See Alarm and arm/disarm actions.
- Include the
$alarmZoneIdin the webhook payload. - When the webhook triggers, get a list of ongoing alarms using
/api/v1/ongoingAlerts - Find the alarm
guidby matching thealarm_zone_idin the response with the$alarmZoneIdin the webhook payload. - Get a list of bookmarks for the alert using
/api/v1/alerts/<guid>/bookmarks- If an external link is configured as an alarm action, the system automatically boomarks video of the incident.
- Extract the
guest_tokenfrom each bookmark. - Create and share a link to each video:
https://<deploymentname>.<region>.alta.avigilon.com/cloud?t=<guest_token>
Verify an ongoing alarm
- Configure a webhook as an alarm action for the zone. See Alarm and arm/disarm actions.
- Include the
$alarmZoneIdand$deviceIdin the webhook payload. - When the webhook triggers, get a list of ongoing alarms using
/api/v1/ongoingAlerts - In the response:
- Find the alarm
guidby matching thealarm_zone_idwith the$alarmZoneIdin the webhook payload. - Find if the alarm is
merged. Similar detections within a short space of time are merged into a single ongoing alert. - You can also extract the
origin_nameif you didn’t pass$deviceIdin the webhook.
- Find the alarm
- Change the verification status by posting the
acknowledgment_code,guid,merged, andorigin_nameto/api/v1/alerts/<guid> - Pass the
acknowledgment_codeas:101for none201for valid202for false
End an ongoing alarm
- Configure a webhook as an alarm action for the zone. See Alarm and arm/disarm actions.
- Include the
$alarmZoneIdin the webhook payload. - Get a list of ongoing alarms using
/api/v1/ongoingAlerts - Find the alarm
guidby matching thealarm_zone_idin the response with the$alarmZoneIdin the webhook payload. - End the alarm by posting
/api/v1/alerts/<guid>/end
Useful API calls
The following API calls are useful for creating Alta Protect applications. For a full list of API calls, see https://alta-video.readme.io/reference/get_api-v1-about.
- /api/v1/alarmZoneAlerts
- /api/v1/alarmZoneAlerts/stopLocalOngoing
- /api/v1/alarmZoneAlerts/{alert_id}/{sub_alert_id}/details
- /api/v1/alarmZones
- /api/v1/alarmZones/arm
- /api/v1/alarmZones/disarm
- /api/v1/alarmZones/{alarm_zone_id}/arm
- /api/v1/alarmZones/{alarm_zone_id}/disarm
- /api/v1/alarmZones/{id}
- /api/v1/alarmZones/{id}/comment
- /api/v1/alarmZones/{id}/logs
- /api/v1/alarmZonesUserMuted
- /api/v1/alarmZonesUserMuted/{id}
- /api/v1/alerts
- /api/v1/alerts/{guid}
- /api/v1/alerts/{guid}/bookmarks
- /api/v1/alerts/{guid}/end
- /api/v1/ongoingAlerts
- /api/v1/publicIntrusionEmergencyContacts
- /api/v1/publicIntrusionEmergencyContacts/{id}
- /api/v1/publicIntrusionWebhooks