Channel Endpoints
Create a channel endpoint
Changed onCreate a new channel endpoint for a resource.
post/v1/channel-endpoints
Request
- Base URLhttps://api.novu.co
- Auth
- API key in header Authorization
- or API key in header Authorization
Headers
idempotency-keystring
A header for idempotency purposes
Request body
Example request
{
"identifier": "slack-channel-user123-abc4",
"subscriberId": "subscriber-123",
"integrationIdentifier": "slack-prod",
"connectionIdentifier": "slack-connection-abc123",
"type": "slack_channel",
"endpoint": {
"channelId": "C123456789"
}
}Response
Created
Example response
{
"providerId": "slack",
"integrationIdentifier": "slack-prod",
"connectionIdentifier": "slack-connection-abc123",
"subscriberId": "subscriber-123",
"contextKeys": [
"tenant:org-123",
"region:us-east-1"
],
"type": "slack_channel",
"endpoint": {
"channelId": "C123456789"
}
}Changes
- warning
changed the pattern of the request property
/////////from/^[a-zA-Z0-9]{32}$/to^[a-zA-Z0-9]{32}$ - info
removed the pattern
GRAFANA_ONCALL_WEBHOOK_URL_PATTERNfrom the request property///////// - info
removed the pattern
OPSGENIE_API_KEY_PATTERNfrom the request property///////// - info
the
/////response's property pattern was changed from/^[a-zA-Z0-9]{32}$/to^[a-zA-Z0-9]{32}$for the status - info
the
/////response's property patternGRAFANA_ONCALL_WEBHOOK_URL_PATTERNwas removed for the status - info
the
/////response's property patternOPSGENIE_API_KEY_PATTERNwas removed for the status
- warning
- warning
added the new
agent-email-inboxenum value to theresponse property for the response status
- warning