Skip to main content

How to get motion events from AXIS security cameras

Send motion events from an AXIS camera to Angelcam over HTTPS: add a recipient and an event rule in the camera.

This video shows how to send motion events from an AXIS camera to Angelcam over HTTP(S). The written steps are below.

Send motion events over HTTPS

AXIS cameras should send events to Angelcam over HTTP(S), not by e-mail. You need the sensor hash of an Angelcam sensor. To create a sensor and find its hash, see How to send events to Angelcam via HTTP(S).

Add Angelcam as a recipient

  1. Open the camera's web interface and go to Settings → System → Events → Recipients.

  2. Click Add a recipient.

  3. Name: for example, Angelcam.

  4. Type: HTTPS.

  5. URL: https://api.angelcam.com/v1/events/

  6. Leave Username and Password empty. Click Save.

Turn on motion detection

Go to Settings → Apps → AXIS Video Motion Detection and start the app if it isn't running. If your camera has AXIS Object Analytics, you can use it instead.

Add the rule

  1. Go to Settings → System → Events → Rules and click Add a rule.

  2. Name: for example, Motion to Angelcam.

  3. Condition: under Application, select AXIS Video Motion Detection (VMD), or your AXIS Object Analytics scenario.

  4. Action: select Send notification through HTTP(S) and choose the Angelcam recipient.

  5. Method: POST.

  6. HTTP(S) header: Content-Type: application/json.

  7. Body: {"hash": "<sensor hash>"}. Replace <sensor hash> with the hash from the sensor page. You can also add a title, for example {"hash": "<sensor hash>", "title": "Motion at entrance"}.

  8. Leave Message and Query string suffix empty. Click Save.

Walk in front of the camera and check that the event appears on the camera timeline in Angelcam.

💡 Note: Menu names and fields can differ between AXIS OS versions and camera models. If your firmware doesn't offer the Method, HTTP(S) header or Body fields, send a GET request instead: in the action, put hash=<sensor hash> into Query string suffix. See If your device can't send a POST request.

Did this answer your question?