Retrieve a Notification
get
/api/v2/notifications/{id}/
Make GET request to this resource to retrieve a single notification record containing the following fields:
id
: Database ID for this notification. (integer)type
: Data type for this notification. (choice)url
: URL for this notification. (string)related
: Data structure with URLs of related resources. (object)summary_fields
: Data structure with name/description for related resources. The output for some objects may be limited for performance reasons. (object)created
: Timestamp when this notification was created. (datetime)modified
: Timestamp when this notification was last modified. (datetime)notification_template
: (id)error
: (string)status
: (choice)pending
: Pendingsuccessful
: Successfulfailed
: Failed
notifications_sent
: (integer)notification_type
: (choice)email
: Emailgrafana
: Grafanairc
: IRCmattermost
: Mattermostpagerduty
: Pagerdutyrocketchat
: Rocket.Chatslack
: Slacktwilio
: Twiliowebhook
: Webhook
recipients
: (string)subject
: (string)body
: Notification body (json)
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search: string
A search term.