Request

POST https://api.angelcam.com/v1/cameras/{camera_id}/guests/

Path parameters

Parameter name Value Description Additional
camera_id integer

Camera ID.

Required

Request body

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

{
    "email": "email",
    "permissions": {
        "can_view_rec": "boolean"
    }
}

Properties

Name Type Description Additional
email email
permissions object Guest permission Optional
permissions.can_view_rec boolean

Can view camera recordings

Optional

Authorisation

This request requires the use of one of following authorisation methods: OAuth2.

For OAuth 2 authorisation, the following scopes are required:

Scope Description
read Grants read access
write Grants write access

Response

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

Status code Description Resource
201 Created

Created

Guest object
401 Unauthorized

Missing or invalid authorization.

Error 401 Unauthorized
404 Not Found

The specified resource was not found

Error 404 Not Found