Skip to content

Create an alert site link

Request

Create a link between an alert and a site.

Security
api_key
Bodyapplication/jsonrequired

The link between an alert and a site to store.

alertIdstring, (uuid)required
siteIdstring, (uuid)required
curl -i -X PUT \
  https://coreapi.hoxton.ai/_mock/v1/alert-sites \
  -H 'Authorization: YOUR_API_KEY_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
    "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e",
    "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1"
  }'

Responses

OK.

Bodyapplication/json
alertIdstring, (uuid)required
siteIdstring, (uuid)required
Response
{ "alertId": "a9367074-b5c3-42c4-9be4-be129f43577e", "siteId": "60189e9c-7d12-438c-b9ca-6998d9c364b1" }