Get Notification Providers
Return a list of notification providers for the organization. The id of the organization is fetched from CSP token
Filter by enabled status
Filter by removed
Name of the field to order the notification providers: CREATED_AT, UPDATED_AT, NAME
CREATED_AT
Order to sort by the selected field: ASC or DESC (default)
An integer that identifies the page number for a paged response
An integer that identifies the maximum page size for a paged response
List of notification providers
{
"page": 1,
"page_size": 5,
"total_size": 10,
"total_pages": 2,
"items": [
{
"id": "e24ae877-6bfa-42da-a735-4ea55fba6c45",
"name": "My Provider",
"type": "string",
"enabled": true,
"notification_types": [
"CRITICAL_CVE_PATCH_AVAILABLE"
],
"created_at": "2025-10-31T12:42:14.000Z",
"created_by": "johndoe",
"updated_at": "2025-10-31T12:42:14.000Z",
"updated_by": "johndoe",
"removed_at": "2025-10-31T12:42:14.000Z",
"removed_by": "johndoe"
}
]
}
An error related to the request
{
"type": "https://example.com/probs/validation-error",
"title": "Validation error",
"status": 400,
"detail": "There was an error validating the request",
"violations": [
{
"field": "amount",
"message": "It should be greater than zero"
}
]
}
The requesting user is not authorized to get the notification providers
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
An internal server error object
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
The server is temporarily unavailable
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/2217eb9c-f042-11eb-9a03-0242ac130003/msgs/abc"
}
curl -H 'Authorization: <value>' https://{api_host}/v1/notification-providers