Integrations /
List notification integrations
Lists notification integrations for the authenticated user or team.
Required permission
Account > Team > Notifications > Read
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.notificationIntegrations
[array] requiredAn array of notification integrations on the account.- {object}
name
string requiredThe name of the notification integration.min length3max length39pattern^[a-zA-Z]((-|\s)?[a-zA-Z0-9]+((-|\s)[a-zA-Z0-9]+)*)?$id
string requiredThe ID of the notification integration.type
string requiredThe provider to send webhooks to. `RAW_WEBHOOK` allows you to send webhooks to a url of your choice, or you can choose a specific provider.one ofRAW_WEBHOOK, SLACK, DISCORD, TEAMSwebhook
string requiredThe URL where webhooks will be sent.status
{object}Information on the current webhook status.disabled
booleanIs the webhook currently disabled?reason
booleanWhy the webhook was disabled.createdAt
string requiredCreation dateupdatedAt
string requiredLast update datepagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/integrations/notifications
Example response
200 OK
A list of notification integrations for the authenticated user or team
JSON
{
"data": {
"notificationIntegrations": [
{
"name": "Example Notification",
"id": "example-notification",
"type": "RAW_WEBHOOK",
"webhook": "https://example.com/webhooks",
"status": {
"disabled": false
},
"createdAt": "2023-09-12T16:39:44.166Z\"",
"updatedAt": "2023-09-12T16:39:44.166Z\""
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}