GET /api/admin/v1/event-reactions
int per_page, number of items per pagination page. Default is 25
int
int page, pagination page number
string sort, field to sort reactions by
string
string dir, sorting direction. desc - from highest to lowest, asc - from lowest to highest
200 OK
OK
Successful response
[ { "id": 13, "name": "closing-dry-contact", "description": "Closing dry contact", "is_default": false }, { "id": 10, "name": "without-reaction", "description": "Without reaction", "is_default": true }, { "id": 2, "name": "set-mark", "description": "Set mark", "is_default": false }, { "id": 4, "name": "show-camera", "description": "Open the camera", "is_default": false }, { "id": 7, "name": "telegram-message", "description": "Telegram message", "is_default": false }, { "id": 8, "name": "show-camera-sidebar", "description": "Show camera in sidebar", "is_default": false }, { "id": 9, "name": "sound", "description": "Send sound notification", "is_default": false } ]
401 Unauthorized
Unauthorized
Authorization token is not provided or is invalid. Obtaining a token
curl -k --request POST \ --url 'https://your-domain/api/admin/v1/event-reactions' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data '{ "per_page": 0, "page": 0, "sort": "string", "dir": "string" }'
$data = array ( 'per_page' => 0, 'page' => 0, 'sort' => 'string', 'dir' => 'string', ); $context = stream_context_create([ 'ssl'=>['verify_peer' => false], 'http' => [ 'method' => 'GET', 'header' => "Content-Type: application/json\r Accept: application/json", 'content'=>json_encode($data) ] ]); $result = file_get_contents('https://your-domain/api/admin/v1/event-reactions', false, $context);
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.