Replace Alert Configuration
Changed onOverwrites the alert configuration identified by {id} and returns the stored configuration as a single JSON object. Each call replaces the whole configuration: a property left out of the request body is reset to its default rather than kept at its current value, so send the full desired state and not only the properties that changed. Read the current state with Get Alert Configuration (get-alert-configuration) first when only part of a configuration should change. The response echoes the values submitted rather than re-reading the saved row, so read the configuration back with get-alert-configuration when the persisted state needs to be confirmed.
Use this to change a configuration the company already has. To add one, use Create Alert Configuration (create-alert-configuration) instead; to find out what is already configured, use List Alert Configurations (list-alert-configurations). bambooAlertId names the alert template the configuration is built on, comes from List Alert Templates (list-alert-templates), and is required on every call even when the template is not changing.
The configuration stays live throughout and sends on whatever schedule the call leaves it with, so an update that omits the sendTo* properties can re-enable delivery to recipients the previous state excluded. Changing bambooAlertId re-points this configuration at a different alert template rather than adding a second one, and no endpoint deletes an alert configuration once it exists. The returned object also carries additionalRecipientEmails, employeeIds, listValueIds, and userIds; this API never stores those, so scope an alert's audience with filterListValueIds and the sendTo* properties instead.
Access is all-or-nothing rather than per-record. An authenticated caller without view access to the company's Email Alerts settings receives 403 instead of a partial success.
OAuth Scopes: alerts.write
Request
- Base URLhttps://companySubDomain.bamboohr.com
- AuthOAuth 2Authorization code/authorize.phpToken URL/token.phpScopesalerts.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Identifier of the alert configuration to overwrite, as emitted in the id field of List Alert Configurations (list-alert-configurations). This is the configuration's own identifier, not the bambooAlertId of the alert template it is based on. The path value is authoritative; no wildcard or 0 sentinel is supported.
Request body
Example request
{
"runAtTime": "07:00:00",
"runAtTimeZone": "America/Denver"
}Response
The replaced alert configuration, as a single JSON object.
Example response
{
"runAtTime": "07:00:00",
"runAtTimeZone": "America/Denver"
}Changes
- breaking
request property
/was restricted to a list of enum values - breaking
request property
/was restricted to a list of enum values - breaking
the request property
became required - breaking
response property
lastEditedlist-of-types was widened by adding typesstringto media typeapplication/jsonof response200 - warning
the
/request property's max was set to32767.00 - warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
added the new
daysenum value to the/response property for the response status - warning
added the new
departmentenum value to the/response property for the response status - warning
added the new
divisionenum value to the/response property for the response status - warning
added the new
jobTitleenum value to the/response property for the response status - warning
added the new
locationenum value to the/response property for the response status - warning
added the new
monthsenum value to the/response property for the response status - warning
added the new
weeksenum value to the/response property for the response status - info
api operation id
eb42aa2fa339ba5c08b147fc13c6a79eremoved and replaced withreplace-alert-configuration - info
api tag
Alertsadded - info
api tag
Alert Configurationsremoved - info
the
request property default valuefalsewas added - info
the
request property default valuefalsewas added - info
the
request property default valuetruewas added - info
the
request property default valuedailywas added - info
the
request property default valuefalsewas added - info
the
request property default valuetruewas added - info
the
request property default valuefalsewas added - info
added the new
daysenum value to the request property/ - info
added the new
departmentenum value to the request property/ - info
added the new
divisionenum value to the request property/ - info
added the new
jobTitleenum value to the request property/ - info
added the new
locationenum value to the request property/ - info
added the new
monthsenum value to the request property/ - info
added the new
weeksenum value to the request property/ - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the non-success response with the status
- breaking