Request

POST https://api.angelcam.com/v1/events/

Request body

The request body takes a complete event resource, containing the following writable properties:

{
    "hash": "string",
    "title": "string"
}

Properties

Name Type Description Additional
hash string

Event API hash (a unique token for each camera found in My Angelcam dashboard or obtained via Camera Resource) - used to authenticate the request and pair the event with corresponding camera.

title string Optional

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
201 Created

Event was received

Event object
400 Bad Request

The event hash is invalid or there's another error in the request

Error 400 Bad Request