News API
Create or update a standing calendar alert rule
Changed onA rule such as "notify me 30 minutes before every HIGH impact USD event". The 30 minute calendar sync turns it into ordinary alerts, so a change takes effect on the next sync and any alert the previous version had already materialised is dropped.
post/rest/api/v1/projects/{projectId}/calendarAlertRules
Request
- Base URLhttps://api.metacopier.io
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdstring uuid required
Request body
Example request
{
"leadMinutes": [
30
],
"name": "High impact USD",
"notificationTargets": [
{
"recipient": "@john"
}
]
}Response
OK
Example response
{
"leadMinutes": [
30
],
"name": "High impact USD",
"notificationTargets": [
{
"recipient": "@john"
}
]
}Changes
- info
endpoint added
- info