Portabase DashboardAPINotification channels
List global notification channels (instance administrators)
GET
apiKeyAuthheader
x-api-key<token>API key generated from the Portabase dashboard. Pass as the x-api-key header.
Global notification channels
application/json- response
data*array<>Example Request
curl -X GET 'https://portabase.example.com/api/v1/notification-channels'Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "provider": "string", "enabled": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "organizationIds": [ "fd846392-cc8b-40e0-8cea-70228902ca0a" ] } ]}Set the organizations allowed to use a global storage channel (instance administrators) PUT
Replaces the list. Removing an organization keeps that organization's policies that already use the channel.
Create a global notification channel (instance administrators) POST
Credentials in config are stored and never returned by the API. Assign it to organizations with PUT /notification-channels/{channelId}/organizations.