---
title: "Get notification by id"
method: GET
path: "/notifications/{id}"
tags: ["Notifications"]
---

# Get notification by id

`GET /notifications/{id}`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/notifications/{id}`
- Auth: API key in header `Authorization`

Returns notification info.

## Path parameters

- `id` number, required

## Response `200`

Successful response

- object
  - `id` number, required: Notification id
  - `type` string, required: Notification type
  - `destinations` object, required: Array of notification destinations
  - `destinations.email` string: Email to send notifications
  - `destinations.user_id` number: Id of user to send notifications
  - `destinations.web_hook_id` number: Id of webhook to send notifications
  - `job_id` number: Job id. Is null in case of notification is configured for any job. Only for job notifications
  - `trigger` string: Notification trigger. Only for job notifications
  - `settings` object, required: Notification settings
  - `settings.error_code` string: Error code to trigger notification. Is null in case of notification is configured for any error code. Only for job notifications and JOB_RUN_ERROR trigger
  - `settings.notify_after_error_timeout` boolean: Trigger notification after error timeout. Only for job notifications and JOB_RUN_ERROR trigger
  - `settings.error_timeout` number: Error timeout (seconds). Only for job notifications and JOB_RUN_ERROR trigger. Minimum value is 1 minute
  - `settings.notify_on_error_remove` boolean: Notify when error is resolved. Only for job notifications and JOB_RUN_ERROR trigger
  - `settings.complete_timeout` number: Send notification if job run isn't complete within time wait period (seconds). Only for job notifications and JOB_RUN_NOT_COMPLETE trigger. Minimum value is 1 minute
  - `settings.dont_send_if_no_data_transferred` boolean: Skip notice if jobs did not transfer files. Only for job notifications and JOB_RUN_FINISHED trigger
  - `settings.event` string: Event to trigger notification. Only for event notifications
  - `settings.weekly` boolean: Send notification weekly (every Monday). Only for overview notifications
  - `settings.daily` boolean: Send notification daily. Only for overview notifications
  - `settings.send_time_daily` number: Send daily overview notification as specified number of seconds since midnight passes. Default value is 0 seconds
  - `settings.send_time_weekly` number: Send weekly overview notification as specified number of seconds since midnight passes. Default value is 0 seconds.

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
