POST/v1/dispatch_targets

dispatch_targets.create

Creates a new dispatch target. `config` shape is type-specific (e.g. `{ webhook_url }` for slack, `{ integration_key }` for pagerduty) and is encrypted at rest with the app encryption key.

Parameters

NameTypeRequiredDescription
Idempotency-KeystringoptionalOptional client-supplied key for at-most-once semantics. The first request with a given key is processed; subsequent requests with the same key replay the cached response for 24h.

Request body

No parameters.

Response

No parameters.

Examples

curl -sS -X POST \
  -H "Authorization: Bearer $CULPRIT_API_TOKEN" \
  -H "content-type: application/json" \
  -d '{ /* … */ }' \
  https://api.theculprit.ai/v1/dispatch_targets

Try it

Stored locally in your browser at localStorage.docs.tryit.token. Never sent to Culprit's analytics. Use a read-only token.