Posts right away, even while the destination is turned off, and logs it as a delivery with test: true: Discord gets a short message, a webhook a sample comment.created with test: true. A Claude Code task gets a text that says it's a test, which still starts a run; a GitHub repository gets a dispatch of type annoty-test, which starts only workflows that list it. A webhook deleted on Discord's side, one that answers 410, or an agent whose token is refused, turns it off. Requires notificationDestination:update and a plan with the type's feature (Discord: integrations, webhook: webhooks, coding agents: agents).
apiKeyAuthorizationBearer <token>An organization API key from the dashboard (Settings → API keys), e.g. Authorization: Bearer annoty_.... x-api-key: annoty_... also works. While the organization has no subscription or trial, every request with a key except GET /v1/organization fails with 402 SUBSCRIPTION_REQUIRED.
destinationId*stringWhat happened
application/jsondelivered*booleandeliveryId*stringThe test in the destination's delivery log
error*|Why it wasn't delivered; also stored as the destination's lastError
destination*curl -X POST 'https://api.annoty.app/v1/notification-destinations/string/test'{
"delivered": true,
"deliveryId": "string",
"error": "string",
"destination": {
"id": "string",
"projectId": "string",
"feedbackSessionIds": [
"string"
],
"type": "discord",
"name": "string",
"urlPreview": "string",
"events": [
"comment.created"
],
"enabled": true,
"lastError": "string",
"lastErrorAt": "2019-08-24T14:15:22Z",
"hasAnnotyApiKey": true,
"createdAt": "2019-08-24T14:15:22Z"
}
}