Instead of asking repeatedly, give us an https address and we will POST to it when something changes in the account. Add one with create-account-webhook; the answer carries a signing secret, shown once.
POST /your/endpoint
NationCam-Event: camera.paused
NationCam-Delivery: 1842
NationCam-Signature: t=1796400000,v1=5d41402abc4b2a76…
{
"id": "evt_9f8e7d6c5b4a39281706f5e4",
"type": "camera.paused",
"created_at": "2026-12-04T15:04:05Z",
"account_id": 12,
"data": { … }
}
To check a delivery is ours, compute HMAC-SHA256 of <t>.<raw body> with your secret and compare it with v1. Refuse a t more than a few minutes old.
Answer 2xx within 10 seconds. Anything else is tried again after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, then given up on. The same event can arrive twice; use id to ignore repeats. list-webhook-deliveries shows what your endpoint answered, and test-account-webhook sends a webhook.test event on demand.
| camera.created | A camera was added. data is the camera. |
| camera.deleted | A camera was deleted. data is its id and name. |
| camera.paused | A camera was paused. data is the camera. |
| camera.resumed | A camera was resumed. data is the camera. |
| camera.updated | A camera's name or description changed. data is the camera. |
| location.created | A location was added. data is the location. |
| location.deleted | A location was deleted. data is its id and name. |
| location.updated | A location was edited. data is the location. |
| member.joined | Someone accepted an invitation. data is the member. |
| member.removed | A member was removed or left. data is their user id. |
| member.updated | A member's role or cameras changed. data is the member. |