Skip to main content
POST
Create destination
Requires the Alerts Admin role. The webhook, slack_webhook, and google_chat channels deliver to a URL held in a credential, so create the credential first with Create credential and pass its id as credentialId. A queue destination needs no credential or config. For the format each channel expects, see Destination channels and credentials. A new destination receives no alerts until you subscribe alerts to it.
Example request

Authorizations

Authorization
string
header
default:Bearer [API-ACCESS-TOKEN]
required

CoreWeave API access token sent as a bearer token.

Body

application/json
channel
string
required

The delivery channel, webhook, slack_webhook, google_chat, or queue. webhook, slack_webhook, and google_chat require credentialId. Create slack destinations with Join Slack channel.

displayName
string
required

A human-readable name for the destination, 1 to 255 characters.

credentialId
string

The ID of a credential from Create credential. Required for webhook, slack_webhook, and google_chat.

config
string

Channel-specific configuration as a JSON-encoded string.

Response

OK

destination
object

A place CoreWeave Alerts delivers to.