Alert Policies
Create an alert policy
Create an alert policy
POST
/
{product}
/
alert-policies
Please be aware that the Phare API is currently in beta and is subject to change.
Authorizations
Authorization
string
headerrequiredUse a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer <token>'.
Path Parameters
product
enum<string>
requiredThe Phare product
Available options:
uptime
Body
application/json
project_id
number | null
requiredRestrict the use to a single project ID
name
string
requiredMonitor name
Response
201 - application/json
project_id
number | null
requiredRestrict the use to a single project ID
name
string
requiredMonitor name
id
number
product
enum<string>
Phare product that can use the alert policy
Available options:
uptime
created_at
string
Date of creation for the entity
updated_at
string
Date of last update for the entity
Was this page helpful?