Skip to main content
POST
Test destination
Requires the Alerts Admin role. The test notification has the subject Test Notification. A test of a queue destination adds a message to the queue, and a test of the in_app destination adds an entry to the Cloud Console Alert history page. The response returns delivered: true on success, or delivered: false with the delivery error in error. If the destination’s credential is revoked, the request fails with FAILED_PRECONDITION.
Example request

Authorizations

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

CoreWeave API access token sent as a bearer token.

Path Parameters

destId
string
required

Body

application/json
destId
string
required

Response

OK

eventId
string

The ID of the test notification.

delivered
boolean

Whether the test notification was delivered.

error
string

The delivery error when delivered is false.