Reference / Events and destinations

Create an event destination

create_destinationocmgr events destination createPOST /v1/destinationsADMIN

Create an event destination. Admin scope required; credentials are write-only.

Parameters

filtersobject

Claude routine filters keyed by native topic; same source, activity_type, segment_id and tag_id arguments as MCP events.

type"claude_routine" | "webhook" | "aws_sqs" | "rabbitmq" | "gcp_pubsub" | "kafka" | "aws_kinesis" | "azure_servicebus" | "hookdeck" | "aws_s3" | "aws_eventbridge" | "cloudflare_queues"REQUIRED

Delivery transport; list_destination_types gives supported types and their fields.

topics"*" | "organisation_set.entered" | "organisation_set.left" | "member.created" | "member.tagged" | "member.untagged" | "activity.tagged" | "member.merged" | "member.split" | "member.updated" | "member.redacted" | "segment.member_entered" | "segment.member_left" | "identity.created" | "activity.created" | "review.item_created" | "review.item_decided" | "import.completed" | "organisation.created" | "organisation.updated" | "organisation.dissolved" | "connection.unhealthy" | "routing.delivered" | "commonroom.contact" | "commonroom.organization" | "commonroom.activity" | "commonroom.contacts-matching"[]REQUIRED

Subscribed catalogue topics, or * for all current and future native Datum topics. Common Room topics require explicit subscription. Only Claude routines accept [] for sending by hand only.

configobjectREQUIRED

Transport settings. custom_headers accepts a string-to-string JSON object or a JSON-encoded string. Sensitive values are write-only.

credentialsobject

Write-only credentialFields from list_destination_types. Never returned by reads or recorded in audit history.

CLI flags

--file <path>

Private JSON file with type, topics, config and optional credentials

--type <type>

Destination transport

--url <url>

Claude routine API trigger URL

--token-stdin

Read the routine bearer token from standard input

--topics <topics>default none

none (on demand only), comma-separated native topics, or * (every topic)

--instructions <text>

Optional routine instructions (maximum 4000 characters)

Also in Events and destinations