Create a destination
Adds a registry entry. Check-then-create: an sqs queue (GetQueueAttributes), an https endpoint, or a mirror (both an SSRF-gated HEAD/GET connect — any HTTP status counts as reachable; a mirror additionally refuses an Emithook ingest domain, for loop prevention) MUST pass the live reachability probe BEFORE it is persisted — an unreachable target is refused with 422 (details.check: connectivity) rather than created, and a target that passes is stored valid. pull (emithook-hosted) is always reachable and created pending. Not-yet-deliverable broker types (sns, pubsub, kafka, nats, amqp, redis) are refused with 422 (<type> delivery isn't supported yet). Probe a URL first with POST /v1/destinations/check.
Authorizations
Scoped API key. Scopes are read ⊂ write ⊂ admin. A call needing more scope than the key holds returns 403 insufficient_scope.
Request Body
Responses
Created — pending validation.