Skip to content

Returns notifications for specific target parameter.

GET
/api/notifications/{target}

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

target*
Typestring
Required

Responses

Successful
Authorization
api_key
Variables
Key
Value
target*
cURL
curl -X GET \
'http://localhost/api/notifications/{target}'

Samples

cURL
curl -X GET http://localhost/api/notifications/{target}
JavaScript
fetch("http://localhost/api/notifications/{target}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/notifications/{target}");
Python
import requests
response = requests.get("http://localhost/api/notifications/{target}")
print(response.json())