Skip to content

List alert site links

Request

Get all links between alerts and sites subject to filters.

Security
api_key
Query
alertIdstring, (uuid)

The ID of the alert the sites are linked to.

siteIdstring, (uuid)

The ID of a site linked to the alerts.

organisationIdstring, (uuid)

The ID of the associated organisation.

curl -i -X GET \
  'https://coreapi.hoxton.ai/_mock/v1/alert-sites?alertId=497f6eca-6276-4993-bfeb-53cbbbba6f08&siteId=497f6eca-6276-4993-bfeb-53cbbbba6f08&organisationId=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

OK.

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