Get Alert Configuration
Changed onReturns one alert configuration the company has set up: which alert template it uses, when it runs, who receives it, and any custom subject, message, or list-value filters. The response is a single JSON object with no wrapper.
Use this when the configuration's id is already known, either from List Alert Configurations (list-alert-configurations) or from the body Create Alert Configuration (create-alert-configuration) and Replace Alert Configuration (replace-alert-configuration) return. To enumerate or search a company's configured alerts, use list-alert-configurations instead. For the catalog of alert types that can be configured, rather than what this company has configured, use List Alert Templates (list-alert-templates). The bambooAlertId on the returned object identifies the underlying template, not this configuration, so the two identifiers are not interchangeable.
Access is all-or-nothing rather than per-record. An authenticated caller without view access to the company's Email Alerts settings receives 403 rather than a partially redacted object. Only configurations belonging to the authenticated company are reachable, and an id from any other company is indistinguishable from one that never existed.
OAuth Scopes: alerts
Request
- Base URLhttps://companySubDomain.bamboohr.com
- AuthOAuth 2Authorization code/authorize.phpToken URL/token.phpScopesalerts
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Identifier of the alert configuration to return, 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. No wildcard or 0 sentinel is supported; enumerate configurations with list-alert-configurations instead.
Response
The requested alert configuration, as a single JSON object.
Example response
{
"runAtTime": "07:00:00",
"runAtTimeZone": "America/Denver"
}Changes
- breaking
response property
lastEditedlist-of-types was widened by adding typesstringto media typeapplication/jsonof response200 - 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
14e66bfb5f075043221ce1e843c97493removed and replaced withget-alert-configuration - info
api tag
Alertsadded - info
api tag
Alert Configurationsremoved - 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