Optional key that makes the request idempotent. Retrying with the same key returns the original response instead of repeating the operation; keys expire after 24 hours. Any string up to 256 characters. See Idempotency.
Maximum string length: 256
Example:
"550e8400-e29b-41d4-a716-446655440000"
Body
application/jsontext/jsonapplication/*+json
Request body for creating a new event destination. Provide name, type, events, and exactly one type-specific configuration object whose property name matches type (for example {"type": "webhook", "webhook": {"url": "..."}}).
Destination type. Defaults to webhook if omitted. Send the matching configuration object under a property whose name equals this value (for example, when type is aws_sqs, include an aws_sqs object).
Event types to subscribe to (for example task_run.completed, credential.verified). Use ["*"] to subscribe to all event types; * cannot be combined with specific types, and the list must not be empty.
Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example {"data": {"task_id": "task_a1b2c3d4"}}. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See Filtering events.
Destination type. The endpoint configuration is returned under a property whose name equals this value (for example, a webhook destination returns a webhook object).
Configuration returned for a cloudflare_queues destination (credentials are never returned).
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Deck Docs","description":"Deck is the infrastructure layer for accessing user-permissioned data across industries.","colors":{"primary":"#60917e","light":"#60917e","dark":"#60917e"},"logo":{"light":"https://mintcdn.com/decksoftwareinc/qU-Ph3TxWRaVaZ4z/logo/light.svg?fit=max\u0026auto=format\u0026n=qU-Ph3TxWRaVaZ4z\u0026q=85\u0026s=7219c0996a361a0efa1315710acaece8","dark":"https://mintcdn.com/decksoftwareinc/jwJI_GBuvjfYMken/logo/dark.svg?fit=max\u0026auto=format\u0026n=jwJI_GBuvjfYMken\u0026q=85\u0026s=e9bd389078aeea4f50927a177953c988"},"favicon":"https://mintcdn.com/decksoftwareinc/jwJI_GBuvjfYMken/favicon.png?fit=max\u0026auto=format\u0026n=jwJI_GBuvjfYMken\u0026q=85\u0026s=2346acf6ab834aa5c9464f3061102418","appearance":{"default":"dark","strict":true},"background":{},"navbar":{"primary":{"type":"button","label":"Console","href":"https://console.deck.co"}},"footer":{"socials":{"website":"https://deck.co","github":"https://github.com/buildwithdeck","linkedin":"https://www.linkedin.com/company/deck-platform"}},"fonts":{"heading":{"family":"Plain","weight":500},"body":{"family":"Plain","weight":400}},"integrations":{"ga4":{"measurementId":"G-7797442138"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"decksoftwareinc","hasAudioNarration":false,"actualSubdomain":"decksoftwareinc","customDomains":["docs.deck.co"],"gitSource":{"type":"github","owner":"buildwithdeck","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af340627a7ae7749a635095","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":65},{"language":"default","tag":"Guides","count":58},{"language":"default","tag":"Development","count":16},{"language":"default","tag":"Get Started","count":16},{"language":"default","tag":"Concepts","count":10},{"language":"default","tag":"Workflows","count":10},{"language":"default","tag":"API","count":9},{"language":"default","tag":"Platform","count":7},{"language":"default","tag":"Event Destinations","count":7},{"language":"default","tag":"Task Runs","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:'Plain';src:url('/fonts/PlainRegular.otf') format('opentype');font-weight:400;font-style:normal}@font-face{font-family:'Plain';src:url('/fonts/PlainMedium.otf') format('opentype');font-weight:500;font-style:normal}*{border-radius:0!important}:root{--docs-sidebar-width: 18rem;--docs-toc-width: 16.5rem;--docs-api-code-width: 34rem;--docs-content-max: 48rem;--docs-frame-pad: 1.5rem;--docs-sidebar-pad-x: 1rem;--docs-sidebar-item-pad-x: 0.75rem;--docs-nav-pad-x: calc(var(--docs-sidebar-pad-x) + var(--docs-sidebar-item-pad-x));--docs-border: rgba(246, 246, 246, 0.08);--docs-surface: rgba(246, 246, 246, 0.06);--docs-code-bg: rgba(246, 246, 246, 0.03);--docs-code-radius: 8px;--docs-note-accent: #547DC5;--docs-note-text: #A2B9E2;--docs-warning-accent: #FDFAC3;--docs-tip-accent: #286650;--docs-tip-text: #7AAB98;--docs-check-accent: #60917E;--docs-info-text: #F6F6F6;--docs-page-end-gap: 2.5rem}:root.dark{--tw-text-opacity: 1;--text-primary: #F6F6F6;--text-secondary: #F6F6F6B3}.dark body{color:#F6F6F6}.dark .text-gray-200,.dark .dark\\:text-gray-200{color:#F6F6F6!important}.dark .text-gray-400,.dark .dark\\:text-gray-400,.dark .text-gray-500,.dark .dark\\:text-gray-500{color:rgba(246, 246, 246, 0.7)!important}.dark .text-white,.dark .dark\\:text-white{color:#F6F6F6!important}#navbar .max-w-8xl{max-width:none!important;width:100%;padding-left:var(--docs-nav-pad-x)!important;padding-right:var(--docs-nav-pad-x)!important;box-sizing:border-box}#navbar .h-16,#navbar .h-12{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}#navbar .ml-auto.justify-end.space-x-4{column-gap:0!important;row-gap:0!important;gap:0!important}#navbar .ml-auto.justify-end.space-x-4>*{margin-left:0!important;margin-right:0!important;margin-inline:0!important}#navbar .ml-auto.justify-end>:not(nav){display:none!important}#navbar{border-bottom:1px solid var(--docs-border)!important}#navbar-transition,#navbar .h-16,#navbar .h-16 *,#navbar .h-12,#navbar .h-12 *{border-bottom:none!important;border-bottom-width:0!important;box-shadow:none!important}.nav-logo{height:18px!important;width:auto!important}[data-component-part=\"version-select-trigger\"],[data-component-part=\"products-selector-trigger\"]{border-radius:6px!important}#search-bar-entry{width:20rem!important;max-width:20rem!important;height:2.25rem!important;padding-right:0.3rem!important;border:none!important;box-shadow:none!important;outline:none!important;--tw-ring-shadow: 0 0 #0000;--tw-ring-offset-shadow: 0 0 #0000;border-radius:6px!important;background:rgba(246, 246, 246, 0.06)!important;filter:none!important}#search-bar-entry:hover{background:rgba(246, 246, 246, 0.09)!important;box-shadow:none!important}#search-bar-entry>span.flex-none{border-radius:4px!important;background:rgba(246, 246, 246, 0.08);padding:0.15rem 0.35rem;font-weight:500;letter-spacing:0.02em;color:rgba(246, 246, 246, 0.55)}#topbar-cta-button a{border-radius:6px!important;padding:0.4rem 0.7rem 0.4rem 0.85rem!important}#topbar-cta-button a>span.absolute{background:#60917E!important;border-radius:6px!important}#topbar-cta-button a:hover>span.absolute{opacity:0.88!important}#topbar-cta-button .text-white{color:#F6F6F6!important}#topbar-cta-button a .z-10{gap:0.35rem!important}#topbar-cta-button svg{display:block!important;width:0.7rem!important;height:0.7rem!important;color:#F6F6F6!important;stroke:currentColor!important}#topbar-cta-button a .z-10::after{display:none!important}div:has(>#sidebar){max-width:none!important;width:100%!important;margin-inline:0!important;padding-inline:0!important}#sidebar{position:sticky!important;left:0;flex-shrink:0!important;width:var(--docs-sidebar-width)!important;margin:0!important;padding:0!important;box-sizing:border-box;border-right:1px solid var(--docs-border)!important;border-right-color:var(--docs-border)!important}#mobile-nav{border-right:1px solid var(--docs-border)!important}#footer,footer#footer{margin-top:var(--docs-page-end-gap)!important;padding-top:var(--docs-page-end-gap)!important;padding-bottom:var(--docs-page-end-gap)!important;border-top:1px solid var(--docs-border)!important;border-top-color:var(--docs-border)!important}#content-area>.invisible.sticky,#content-area>[aria-hidden=\"true\"].sticky{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}#sidebar-content{padding:0.25rem var(--docs-sidebar-pad-x) 1.5rem;box-sizing:border-box}#sidebar-content .base-ui-disable-scrollbar{padding-right:0.25rem!important}#sidebar a,#sidebar button,#mobile-nav .sidebar-group a,#mobile-nav .sidebar-group button{border-radius:4px!important;padding-right:var(--docs-sidebar-item-pad-x)!important;min-width:0;overflow:visible;white-space:nowrap}#sidebar a span.break-words,#sidebar button span.break-words,#mobile-nav .sidebar-group a span.break-words,#mobile-nav .sidebar-group button span.break-words{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-group-header{padding-left:var(--docs-sidebar-item-pad-x)!important}@media (max-width: 1023px){#navbar .max-w-8xl{padding-left:1rem!important;padding-right:1rem!important}#navbar button.h-14.lg\\:hidden{padding-left:0!important;padding-right:0!important}#navbar .ml-auto.justify-end.space-x-4,#topbar-cta-button{display:none!important}#navbar .flex.lg\\:hidden.items-center{display:flex!important}#navbar button[aria-label=\"More actions\"]{display:flex!important}}#search-bar-entry-mobile svg,#navbar button[aria-label=\"More actions\"] svg{background:#F6F6F6!important}#search-bar-entry-mobile:hover svg,#navbar button[aria-label=\"More actions\"]:hover svg{background:rgba(246, 246, 246, 0.7)!important}#mobile-nav [data-component-part=\"version-select-trigger\"],#mobile-nav [data-component-part=\"products-selector-trigger\"],#mobile-nav button.group\\/trigger{border-radius:6px!important;background:var(--docs-surface)!important;border-color:var(--docs-border)!important}#mobile-nav .sidebar-group{padding-left:0.75rem}#mobile-nav [aria-label=\"Close navigation\"]{border-radius:50%!important}html.dark :has(>nav[aria-label=\"Mobile menu\"]){border-radius:8px!important;border:1px solid var(--docs-border)!important;background:#0D100F!important}html.dark nav[aria-label=\"Mobile menu\"] a,html.dark nav[aria-label=\"Mobile menu\"] button{border-radius:6px!important}#content-container,div:has(>#sidebar)>#content-container{flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important}#content-container>div.flex.flex-row-reverse{display:flex!important;justify-content:flex-start!important;align-items:flex-start!important;width:100%!important;max-width:none!important;gap:0!important;padding-inline:0;box-sizing:border-box}#content-container:has(#table-of-contents) #content-side-layout{position:sticky!important;flex:0 0 var(--docs-toc-width)!important;width:var(--docs-toc-width)!important;max-width:var(--docs-toc-width)!important;margin:0!important;height:calc(100vh - 9.5rem)!important}#table-of-contents-layout{width:var(--docs-toc-width)!important;max-width:var(--docs-toc-width)!important;padding-left:1rem!important;padding-right:var(--docs-nav-pad-x)!important;box-sizing:border-box}#content-area{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding-left:var(--docs-frame-pad)!important;padding-right:var(--docs-frame-pad)!important;display:flex!important;flex-direction:column!important;align-items:center!important;box-sizing:border-box}#content-area>#header,#content-area>#content,#content-area>.mdx-content,#content-area>.feedback-toolbar,#content-area>#pagination,#content-area>footer,#content-area>#footer{width:100%;max-width:var(--docs-content-max)}html[data-page-mode=\"wide\"] #content-area>#header,html[data-page-mode=\"wide\"] #content-area>#content,html[data-page-mode=\"wide\"] #content-area>.mdx-content,html[data-page-mode=\"wide\"] #content-area>.feedback-toolbar,html[data-page-mode=\"wide\"] #content-area>#pagination,html[data-page-mode=\"wide\"] #content-area>footer,html[data-page-mode=\"wide\"] #content-area>#footer{width:100%;max-width:var(--docs-content-max)}#content-container:has(#api-playground-2-operation-page)>div.flex.flex-row-reverse{gap:0!important;padding-right:var(--docs-nav-pad-x);box-sizing:border-box}#content-container:has(#api-playground-2-operation-page) #content-side-layout{flex:0 0 var(--docs-api-code-width)!important;width:var(--docs-api-code-width)!important;max-width:var(--docs-api-code-width)!important;margin:0!important;height:calc(100vh - 9.5rem)!important;padding:0!important}#content-container:has(#api-playground-2-operation-page) #content-side-layout>div{width:100%!important;max-width:none!important}#content-container:has(#api-playground-2-operation-page) #content-area{flex:1 1 auto!important;width:auto!important;max-width:none!important;margin:0!important;padding-left:2.5rem!important;padding-right:2.5rem!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}#content-container:has(#api-playground-2-operation-page) #content-area>#header,#content-container:has(#api-playground-2-operation-page) #content-area>#api-playground-2-operation-page,#content-container:has(#api-playground-2-operation-page) #content-area>#pagination,#content-container:has(#api-playground-2-operation-page) #content-area>footer,#content-container:has(#api-playground-2-operation-page) #content-area>#footer{width:100%;max-width:none!important}#header .eyebrow{color:rgba(246, 246, 246, 0.4)!important;font-weight:400!important;font-size:0.8125rem!important;letter-spacing:0}#page-context-menu{gap:0.35rem}@media (max-width: 1023px){#page-context-menu.ml-auto{display:none!important}#page-context-menu.mt-3{display:flex!important;margin-left:0!important;justify-content:flex-start!important}}#page-context-menu button{border:none!important;box-shadow:none!important;outline:none!important;--tw-ring-shadow: 0 0 #0000;border-radius:6px!important;background:rgba(246, 246, 246, 0.06)!important;color:rgba(246, 246, 246, 0.65)!important}#page-context-menu button:hover{background:rgba(246, 246, 246, 0.1)!important}.feedback-toolbar{margin-top:var(--docs-page-end-gap);padding-top:var(--docs-page-end-gap)!important;padding-bottom:0!important;margin-bottom:0!important;border-top:1px solid var(--docs-border)!important;border-top-color:var(--docs-border)!important;gap:1rem!important}.feedback-toolbar>div{gap:0.75rem!important}#pagination{margin-top:var(--docs-page-end-gap)!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}.feedback-toolbar p{color:rgba(246, 246, 246, 0.4)!important;font-size:0.8125rem!important;font-weight:400!important;letter-spacing:0}#feedback-thumbs-up,#feedback-thumbs-down{border:none!important;box-shadow:none!important;outline:none!important;--tw-ring-shadow: 0 0 #0000;border-radius:6px!important;background:var(--docs-surface)!important;color:rgba(246, 246, 246, 0.65)!important;padding:0.4rem 0.75rem!important;gap:0.45rem!important}#feedback-thumbs-up:hover,#feedback-thumbs-down:hover{background:rgba(246, 246, 246, 0.1)!important;color:#F6F6F6!important}#feedback-thumbs-up.border,#feedback-thumbs-down.border{background:rgba(96, 145, 126, 0.16)!important;color:#7AAB98!important}#feedback-form,#feedback-form-input,#feedback-form-cancel,#feedback-form-submit{border-radius:6px!important}#feedback-form-input{background:var(--docs-surface)!important;border:1px solid var(--docs-border)!important;color:#F6F6F6!important}#feedback-form-submit{background:#60917E!important;color:#F6F6F6!important;border:none!important}#table-of-contents h2{margin:0 0 0.75rem!important}#table-of-contents h2 button{color:rgba(246, 246, 246, 0.4)!important;font-weight:400!important;font-size:0.8125rem!important;letter-spacing:0;cursor:default}#table-of-contents h2 svg{display:none!important}#table-of-contents-content.toc{position:relative;margin:0!important;padding:0 0 0 0.875rem!important;border-left:1px solid var(--docs-border)!important;list-style:none;min-width:0;overflow:hidden}#table-of-contents-content.toc::before{content:'';position:absolute;top:0;left:-1px;width:2px;height:var(--toc-indicator-h, 0px);background:#F6F6F6;border-radius:1px;pointer-events:none;opacity:var(--toc-indicator-opacity, 0);transform:translateY(var(--toc-indicator-y, 0px));will-change:transform, height}#table-of-contents-content.toc.is-ready::before{transition:transform 220ms cubic-bezier(0.645, 0.045, 0.355, 1),\n height 220ms cubic-bezier(0.645, 0.045, 0.355, 1),\n opacity 150ms ease}#table-of-contents-content.toc>li,#table-of-contents .toc-item{margin-top:0!important;min-width:0}#table-of-contents .toc-item ul{margin:0!important;padding:0!important;list-style:none!important;border:none!important}#table-of-contents .toc-item>a{color:rgba(246, 246, 246, 0.38)!important;text-shadow:none!important;font-weight:400!important;font-size:0.875rem;line-height:1.35;padding-top:0.3rem!important;padding-bottom:0.3rem!important;padding-left:0.2rem!important;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;max-width:100%;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;transition:color 150ms ease}#table-of-contents .toc-item[data-depth=\"1\"]>a{padding-left:1.15rem!important}#table-of-contents .toc-item[data-depth=\"2\"]>a{padding-left:2.1rem!important}#table-of-contents .toc-item[data-depth=\"3\"]>a{padding-left:3.05rem!important}#table-of-contents .toc-item[data-depth=\"4\"]>a{padding-left:4rem!important}#table-of-contents .toc-item>a:hover{color:rgba(246, 246, 246, 0.72)!important}#table-of-contents .toc-item.is-current>a{color:#F6F6F6!important}@media (prefers-reduced-motion: reduce){#table-of-contents-content.toc.is-ready::before{transition:none}#table-of-contents .toc-item a{transition:none}}html.dark .code-block.code-block{--shiki-dark-bg: var(--docs-code-bg);border:1px solid var(--docs-border)!important;border-color:var(--docs-border)!important;border-radius:var(--docs-code-radius)!important;background:transparent!important;background-image:none!important;box-shadow:none!important;outline:none!important;overflow:hidden}html.dark .code-block .code-block-background,html.dark .code-block [data-component-part=\"code-block-root\"]{--shiki-dark-bg: var(--docs-code-bg) !important;background:var(--docs-code-bg)!important;background-color:var(--docs-code-bg)!important;background-image:none!important;box-shadow:none!important;border:none!important}html.dark .code-block pre.shiki,html.dark .code-block .shiki{--shiki-dark-bg: transparent !important;background:transparent!important;background-color:transparent!important}.code-block [data-component-part=\"code-block-header\"]{border-radius:0!important;background:transparent!important;border:none!important}html.dark .code-block [data-fade-overlay]{display:none!important;background:none!important;opacity:0!important;width:0!important}html.dark .code-block button,html.dark button[data-testid=\"copy-code-button\"]{border:none!important;box-shadow:none!important;outline:none!important;--tw-ring-shadow: 0 0 #0000 !important;--tw-ring-offset-shadow: 0 0 #0000 !important;--tw-ring-color: transparent !important;border-radius:6px!important;background:rgba(246, 246, 246, 0.08)!important;background-color:rgba(246, 246, 246, 0.08)!important}html.dark .code-block button:hover,html.dark button[data-testid=\"copy-code-button\"]:hover{background:rgba(246, 246, 246, 0.14)!important;background-color:rgba(246, 246, 246, 0.14)!important}html.dark .code-group{--rounded-xl: 4px;--radius-xl: 4px;border-radius:var(--docs-code-radius)!important;border-color:var(--docs-border)!important;overflow:hidden}html.dark .code-group [data-component-part=\"code-block-root\"],html.dark .code-group .code-block-background,html.dark .code-group .rounded-xt,html.dark .code-group [class*=\"rounded-xt\"]{--rounded-xl: 4px !important;--radius-xl: 4px !important;border-radius:4px!important}html.dark .code-group [data-component-part=\"code-block-root\"]::before,html.dark .code-group [class*=\"rounded-xt\"]::before,html.dark .code-group [class*=\"before:rounded\"]::before{border-radius:4px!important}html.dark .code-group [data-component-part=\"scroll-area-viewport\"]{border-radius:inherit!important}html.dark .callout{border-radius:8px!important}html.dark .callout[data-callout-type=\"note\"]{border:1px solid rgba(84, 125, 197, 0.4)!important;border-color:rgba(84, 125, 197, 0.4)!important;background:rgba(84, 125, 197, 0.14)!important;background-color:rgba(84, 125, 197, 0.14)!important;border-radius:8px!important}html.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"],html.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-icon\"] svg,html.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"],html.dark .callout[data-callout-type=\"note\"] [data-component-part=\"callout-content\"] *{color:#A2B9E2!important}html.dark .callout[data-callout-type=\"warning\"]{border:1px solid rgba(253, 250, 195, 0.4)!important;border-color:rgba(253, 250, 195, 0.4)!important;background:rgba(253, 250, 195, 0.14)!important;background-color:rgba(253, 250, 195, 0.14)!important;border-radius:8px!important}html.dark .callout[data-callout-type=\"warning\"] [data-component-part=\"callout-icon\"],html.dark .callout[data-callout-type=\"warning\"] [data-component-part=\"callout-icon\"] svg,html.dark .callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"],html.dark .callout[data-callout-type=\"warning\"] [data-component-part=\"callout-content\"] *{color:#FDFAC3!important}html.dark .callout[data-callout-type=\"tip\"]{border:1px solid rgba(96, 145, 126, 0.45)!important;border-color:rgba(96, 145, 126, 0.45)!important;background:rgba(40, 102, 80, 0.18)!important;background-color:rgba(40, 102, 80, 0.18)!important;border-radius:8px!important}html.dark .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"],html.dark .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-icon\"] svg,html.dark .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-content\"],html.dark .callout[data-callout-type=\"tip\"] [data-component-part=\"callout-content\"] *{color:#7AAB98!important}html.dark .callout[data-callout-type=\"check\"]{border:1px solid rgba(96, 145, 126, 0.45)!important;border-color:rgba(96, 145, 126, 0.45)!important;background:rgba(96, 145, 126, 0.16)!important;background-color:rgba(96, 145, 126, 0.16)!important}html.dark .callout[data-callout-type=\"check\"] [data-component-part=\"callout-icon\"],html.dark .callout[data-callout-type=\"check\"] [data-component-part=\"callout-icon\"] svg,html.dark .callout[data-callout-type=\"check\"] [data-component-part=\"callout-content\"],html.dark .callout[data-callout-type=\"check\"] [data-component-part=\"callout-content\"] *{color:#7AAB98!important}html.dark .callout[data-callout-type=\"info\"]{border:1px solid rgba(246, 246, 246, 0.16)!important;border-color:rgba(246, 246, 246, 0.16)!important;background:rgba(246, 246, 246, 0.06)!important;background-color:rgba(246, 246, 246, 0.06)!important}html.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-icon\"],html.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-icon\"] svg,html.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"],html.dark .callout[data-callout-type=\"info\"] [data-component-part=\"callout-content\"] *{color:#F6F6F6!important}html.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"]{color:rgba(246, 246, 246, 0.6)!important;border-bottom-color:transparent!important}html.dark [data-component-part=\"tabs-list\"] [data-component-part=\"tab-button\"][data-active=\"true\"]{color:#F6F6F6!important;border-bottom-color:#60917E!important}html.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"]{color:rgba(246, 246, 246, 0.6)!important}html.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"][aria-selected=\"true\"],html.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"][data-active]{color:#F6F6F6!important}html.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"]>div:first-child{border-radius:6px!important;color:inherit!important}html.dark [data-component-part=\"code-group-tab-bar\"] [role=\"tab\"][aria-selected=\"true\"]>div:last-child{background:#60917E!important;background-color:#60917E!important;border-radius:999px!important}.accordion-group,details.accordion{border-radius:8px!important;overflow:hidden!important}.accordion-group details.accordion{border-radius:0!important}.accordion [data-component-part=\"accordion-button\"]{gap:0.5rem}.accordion [data-component-part=\"accordion-button\"]>div{margin-left:0!important;margin-right:0!important}.accordion [data-component-part=\"accordion-title-container\"]{order:1;flex:1 1 auto;width:auto!important}.accordion [data-component-part=\"accordion-caret-right\"]{order:2;flex:0 0 auto;margin-left:auto!important}.accordion [data-component-part=\"accordion-caret-right\"] svg{width:0.75rem!important;height:0.75rem!important;background-color:rgba(246, 246, 246, 0.7)!important;-webkit-mask-image:url(\"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/chevron-down.svg\")!important;mask-image:url(\"https://d3gk2c5xim1je2.cloudfront.net/fontawesome/v7.2.0/regular/chevron-down.svg\")!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;-webkit-mask-position:center!important;mask-position:center!important;-webkit-mask-size:contain!important;mask-size:contain!important;transition:rotate 75ms ease-out!important;rotate:0deg;transform:none!important}.accordion[open] [data-component-part=\"accordion-caret-right\"] svg,.accordion [data-component-part=\"accordion-button\"][aria-expanded=\"true\"] [data-component-part=\"accordion-caret-right\"] svg{rotate:180deg!important}html.dark tooltip,html.dark [role=\"tooltip\"],html.dark #text-selection-tooltip{background:#0D100F!important;background-color:#0D100F!important;border:1px solid rgba(246, 246, 246, 0.12)!important;border-color:rgba(246, 246, 246, 0.12)!important;border-radius:4px!important;color:#F6F6F6!important}html.dark [role=\"menu\"],html.dark [role=\"listbox\"],html.dark nav-dropdown-content,html.dark option-dropdown,html.dark multi-view-dropdown-content,html.dark #localization-select-content,html.dark [data-component-part=\"theme-preference-menu-content\"],html.dark [data-component-part=\"version-select-content\"],html.dark [data-component-part=\"products-selector-content\"],html.dark nav-dropdown-products-selector-content,html.dark [data-component-part=\"search-filter-content\"]{border-radius:8px!important}html.dark [data-component-part=\"search-modal\"]{border-radius:8px!important;border:1px solid var(--docs-border)!important;background:#0D100F!important;box-shadow:none!important}html.dark [data-component-part=\"search-input-container\"],html.dark [data-component-part=\"search-cli-state\"]{border-radius:6px!important;background:rgba(246, 246, 246, 0.06)!important;border-color:var(--docs-border)!important}html.dark [data-component-part=\"search-item\"],html.dark [data-component-part=\"search-ask-ai-item\"]{border-radius:6px!important}html.dark [role=\"menuitem\"],html.dark [role=\"option\"]{border-radius:6px!important}html.dark [role=\"menuitem\"]>div:first-child{border-radius:6px!important}.mdx-content video,.mdx-content img,.mdx-content .frame,.mdx-content [data-name=\"frame\"]{display:block;width:100%;max-width:100%;height:auto}.prose :where(img):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){margin-top:0!important}.mdx-content video,.mdx-content iframe,.mdx-content img,.mdx-content .frame,.mdx-content [data-name=\"frame\"]{border-radius:8px!important}.mdx-content video,.mdx-content img,.mdx-content .frame,.mdx-content [data-name=\"frame\"]{overflow:hidden!important}.mdx-content .frame img,.mdx-content [data-name=\"frame\"] img{border-radius:0!important}html.dark .card,html.dark card,html.dark tile{border-radius:8px!important;background:rgba(246, 246, 246, 0.04)!important;background-color:rgba(246, 246, 246, 0.04)!important;border-color:var(--docs-border)!important;overflow:hidden!important}html.dark .card [data-component-part=\"card-content\"],html.dark card [data-component-part=\"card-content\"],html.dark tile [data-component-part=\"card-content\"]{font-size:0.875rem!important;line-height:1.5!important;text-wrap:balance;text-wrap:pretty}html.dark mermaid,html.dark [data-component-name=\"mermaid-container\"]{display:block;border:1px solid var(--docs-border)!important;border-radius:8px!important;background:rgba(246, 246, 246, 0.04)!important;background-color:rgba(246, 246, 246, 0.04)!important;padding:1.5rem 1.25rem!important;overflow:hidden!important}html.dark [data-component-name=\"mermaid-container\"] mermaid{border:none!important;background:transparent!important;padding:0!important;border-radius:0!important;overflow:visible!important}html.dark mermaid svg,html.dark [data-component-name=\"mermaid-container\"] svg{background:transparent!important}html.dark mermaid rect.actor,html.dark [data-component-name=\"mermaid-container\"] rect.actor{rx:8px!important;ry:8px!important}html.dark mermaid .messageLine0,html.dark [data-component-name=\"mermaid-container\"] .messageLine0{stroke:#60917E!important}html.dark mermaid .messageLine1,html.dark [data-component-name=\"mermaid-container\"] .messageLine1{stroke:rgba(205, 205, 205, 0.55)!important}html.dark mermaid .messageText,html.dark mermaid text.actor,html.dark mermaid text.actor tspan,html.dark mermaid .messageText tspan,html.dark [data-component-name=\"mermaid-container\"] .messageText,html.dark [data-component-name=\"mermaid-container\"] text.actor,html.dark [data-component-name=\"mermaid-container\"] text.actor tspan,html.dark [data-component-name=\"mermaid-container\"] .messageText tspan{fill:#F6F6F6!important;font-family:Plain, sans-serif!important}html.dark mermaid marker path,html.dark [data-component-name=\"mermaid-container\"] marker path{fill:#60917E!important;stroke:#60917E!important}#content table th,#content table td{padding-top:0.875rem!important;padding-bottom:0.875rem!important}[data-component-part=\"step-number\"]>div{border-radius:50%!important}#content a.link,#content a.link:hover{color:#F6F6F6!important;border-bottom-color:#60917E!important;text-decoration-color:#60917E!important}#content .callout a.link,#content .callout a.link:hover{color:inherit!important;border-bottom-color:currentColor!important;text-decoration-color:currentColor!important}html.dark .code-block,html.dark .code-block pre,html.dark .code-block code,html.dark .code-group .code-block-background,html.dark .code-group [data-component-part=\"code-block-root\"],html.dark .code-group [data-component-part=\"code-group-tab-content\"],html.dark .code-group pre,html.dark .code-group code{font-size:13px!important}html.dark code:not(pre *){border-radius:4px!important;border:1px solid var(--docs-border)!important;font-size:13px!important}#content-container:has(#api-playground-2-operation-page) [data-component-part=\"field-name\"]{color:#F6F6F6!important;font-size:15px!important;font-weight:500!important}#sidebar .method-pill,#sidebar .method-nav-pill>span,#mobile-nav .method-pill,#mobile-nav .method-nav-pill>span,#content-container:has(#api-playground-2-operation-page) .method-pill,#content-container:has(#api-playground-2-operation-page) [data-component-part=\"field-info-pill\"],#content-container:has(#api-playground-2-operation-page) [data-component-part=\"field-required-pill\"]{border-radius:4px!important}#content-container:has(#api-playground-2-operation-page) [data-component-part=\"field-info-pill\"],#content-container:has(#api-playground-2-operation-page) [data-component-part=\"field-info-pill\"] *,#content-container:has(#api-playground-2-operation-page) [data-component-part=\"field-meta\"] .option-dropdown{color:rgba(246, 246, 246, 0.55)!important}#sidebar .method-nav-pill,#mobile-nav .method-nav-pill{overflow:visible!important;flex-shrink:0!important}#sidebar .method-nav-pill>span,#mobile-nav .method-nav-pill>span{width:max-content!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}#content-container:has(#api-playground-2-operation-page) .tryit-button,#content-container:has(#api-playground-2-operation-page) button[aria-label=\"Copy\"],#content-container:has(#api-playground-2-operation-page) button[aria-label=\"Select language\"],#content-container:has(#api-playground-2-operation-page) [data-component-part=\"version-select-trigger\"],#content-container:has(#api-playground-2-operation-page) .code-group button{border-radius:6px!important}#content-container:has(#api-playground-2-operation-page) .border-standard,#content-container:has(#api-playground-2-operation-page) [data-component-part=\"expandable\"],#content-container:has(#api-playground-2-operation-page) [data-component-part=\"expandable-button\"]{border-radius:8px!important}#content-container:has(#api-playground-2-operation-page) .border-standard.rounded-xl{border-radius:6px!important}"}],"page":{"pagePath":"api-reference/event-destinations/create-an-event-destination","slug":"/api-reference/event-destinations/create-an-event-destination","pageMetadata":{"title":"Create an event destination","description":"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /event-destinations","href":"/api-reference/event-destinations/create-an-event-destination","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create an event destination","description":"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /event-destinations","href":"/api-reference/event-destinations/create-an-event-destination","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/decksoftwareinc/60feb3fe1b2400a1/mermaid.js","/_mintlify/custom/decksoftwareinc/53c63d97f88b046e/toc.js"],"openApiReferenceData":{"operation":{"tags":["Event Destinations"],"summary":"Create an event destination","requestBody":"ca09dc53-b1d9-4dd2-b26e-9bc7a02b94e8","responses":{"201":"3f686697-5939-4843-9b80-a7400391bc30","400":"f2089915-818e-4c57-819e-14af84e49ee5","401":"2e41066b-f38e-476c-826a-96dd05b68c78","403":"750ae556-eb4e-4b3d-91b2-68e0ea5ad0aa","404":"eb3d33eb-4eef-47e7-9312-c882baa610c6","409":"c5cac3ea-7fb4-4264-87b3-f54ee031a195","422":"34d4915f-37bc-4b83-ba3e-738fd0823483","429":"2f846c29-d12a-4b95-8fc4-1419f04a2148","500":"c90c3037-b6e3-43c7-b606-3ca3a54a5fe1"},"operationId":"createEventDestination","description":"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.","parameters":["9aff8b3b-a345-4d9f-9579-c499d85b35d2"],"method":"post","type":"path","servers":["11088669-f0e3-446e-9f56-9d49b375b996"],"security":["70a6cd60-7554-4caa-8414-b07034a86562"],"path":"/event-destinations","baseUrlOptions":["https://api.deck.co/v2"],"title":"Create an event destination","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"9aff8b3b-a345-4d9f-9579-c499d85b35d2":{"name":"Idempotency-Key","in":"header","required":false,"description":"Optional key that makes the request idempotent. Retrying with the same key returns the original response instead of repeating the operation; keys expire after 24 hours. Any string up to 256 characters. See [Idempotency](/api/idempotency).","schema":{"type":"string","maxLength":256,"example":"550e8400-e29b-41d4-a716-446655440000","isRequired":false,"description":"Optional key that makes the request idempotent. Retrying with the same key returns the original response instead of repeating the operation; keys expire after 24 hours. Any string up to 256 characters. See [Idempotency](/api/idempotency).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"content":{"application/json":{"schema":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Display name for the event destination.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["webhook","aws_sqs","aws_kinesis","aws_s3","aws_eventbridge","gcp_pubsub","rabbitmq","azure_servicebus","hookdeck","cloudflare_queues"],"description":"Destination type. Defaults to `webhook` if omitted. Send the matching configuration object under a property whose name equals this value (for example, when `type` is `aws_sqs`, include an `aws_sqs` object).","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"events":{"oneOf":[{"type":"null","items":{"type":"string"},"description":"Event types to subscribe to (for example `task_run.completed`, `credential.verified`). Use `[\"*\"]` to subscribe to all event types; `*` cannot be combined with specific types, and the list must not be empty.","uniqueKey":"events.oneOf.0","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"events.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Event types to subscribe to (for example `task_run.completed`, `credential.verified`). Use `[\"*\"]` to subscribe to all event types; `*` cannot be combined with specific types, and the list must not be empty.","uniqueKey":"events.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"events","typeLabel":"null | string[]"},"filter":{"oneOf":[{"type":"null","description":"Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example `{\"data\": {\"task_id\": \"task_a1b2c3d4\"}}`. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See [Filtering events](/events/destinations-and-deliveries#filtering-events).","uniqueKey":"filter.oneOf.0","typeLabel":"null"},{"type":"object","description":"Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example `{\"data\": {\"task_id\": \"task_a1b2c3d4\"}}`. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See [Filtering events](/events/destinations-and-deliveries#filtering-events).","uniqueKey":"filter.oneOf.1","typeLabel":"object"}],"uniqueKey":"filter","typeLabel":"null | object"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute `https` or `http` URL that receives event deliveries.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"},"secret":{"type":"string","description":"Signing secret used to verify webhook signatures. Write-only; never returned.","uniqueKey":"webhook.secret","typeLabel":"string"}},"description":"Configuration for a `webhook` destination. Provide this object under the `webhook` property when `type` is `webhook`.","uniqueKey":"webhook","typeLabel":"object"},"aws_sqs":{"type":"object","required":["queue_url"],"properties":{"queue_url":{"type":"string","description":"URL of the destination Amazon SQS queue.","isRequired":true,"uniqueKey":"aws_sqs.queue_url","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_sqs.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_sqs.secret","typeLabel":"string"}},"description":"Configuration for a `aws_sqs` destination. Provide this object under the `aws_sqs` property when `type` is `aws_sqs`.","uniqueKey":"aws_sqs","typeLabel":"object"},"aws_kinesis":{"type":"object","required":["stream_name","region"],"properties":{"stream_name":{"type":"string","description":"Name of the Amazon Kinesis stream.","isRequired":true,"uniqueKey":"aws_kinesis.stream_name","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the stream.","isRequired":true,"uniqueKey":"aws_kinesis.region","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_kinesis.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_kinesis.secret","typeLabel":"string"}},"description":"Configuration for a `aws_kinesis` destination. Provide this object under the `aws_kinesis` property when `type` is `aws_kinesis`.","uniqueKey":"aws_kinesis","typeLabel":"object"},"aws_s3":{"type":"object","required":["bucket","region"],"properties":{"bucket":{"type":"string","description":"Name of the destination Amazon S3 bucket.","isRequired":true,"uniqueKey":"aws_s3.bucket","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the bucket.","isRequired":true,"uniqueKey":"aws_s3.region","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_s3.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_s3.secret","typeLabel":"string"}},"description":"Configuration for a `aws_s3` destination. Provide this object under the `aws_s3` property when `type` is `aws_s3`.","uniqueKey":"aws_s3","typeLabel":"object"},"aws_eventbridge":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"AWS region of the event bus.","isRequired":true,"uniqueKey":"aws_eventbridge.region","typeLabel":"string"},"event_bus_name":{"type":"string","description":"Name or ARN of the Amazon EventBridge event bus. Defaults to the account's default event bus.","uniqueKey":"aws_eventbridge.event_bus_name","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_eventbridge.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_eventbridge.secret","typeLabel":"string"}},"description":"Configuration for a `aws_eventbridge` destination. Provide this object under the `aws_eventbridge` property when `type` is `aws_eventbridge`.","uniqueKey":"aws_eventbridge","typeLabel":"object"},"gcp_pubsub":{"type":"object","required":["project_id","topic"],"properties":{"project_id":{"type":"string","description":"Google Cloud project ID.","isRequired":true,"uniqueKey":"gcp_pubsub.project_id","typeLabel":"string"},"topic":{"type":"string","description":"Pub/Sub topic name. Accepted alias: `topic_name`.","isRequired":true,"uniqueKey":"gcp_pubsub.topic","typeLabel":"string"},"service_account_json":{"type":"string","description":"Service account credentials JSON. Accepted alias: `credentials_json`. Write-only.","uniqueKey":"gcp_pubsub.service_account_json","typeLabel":"string"}},"description":"Configuration for a `gcp_pubsub` destination. Provide this object under the `gcp_pubsub` property when `type` is `gcp_pubsub`.","uniqueKey":"gcp_pubsub","typeLabel":"object"},"rabbitmq":{"type":"object","required":["exchange","server_url"],"properties":{"exchange":{"type":"string","description":"Name of the RabbitMQ exchange.","isRequired":true,"uniqueKey":"rabbitmq.exchange","typeLabel":"string"},"server_url":{"type":"string","description":"RabbitMQ host as `host[:port]` (for example `rabbitmq:5672`). You may instead pass a full AMQP URL with embedded credentials; Deck extracts the host, username, and password from it.","isRequired":true,"uniqueKey":"rabbitmq.server_url","typeLabel":"string"},"username":{"type":"string","description":"RabbitMQ username (or embed it in the AMQP `server_url`). Write-only.","uniqueKey":"rabbitmq.username","typeLabel":"string"},"password":{"type":"string","description":"RabbitMQ password (or embed it in the AMQP `server_url`). Write-only.","uniqueKey":"rabbitmq.password","typeLabel":"string"}},"description":"Configuration for a `rabbitmq` destination. Provide this object under the `rabbitmq` property when `type` is `rabbitmq`.","uniqueKey":"rabbitmq","typeLabel":"object"},"azure_servicebus":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Service Bus queue or topic. Accepted alias: `queue_name`.","isRequired":true,"uniqueKey":"azure_servicebus.name","typeLabel":"string"},"connection_string":{"type":"string","description":"Azure Service Bus connection string. Write-only.","uniqueKey":"azure_servicebus.connection_string","typeLabel":"string"}},"description":"Configuration for a `azure_servicebus` destination. Provide this object under the `azure_servicebus` property when `type` is `azure_servicebus`.","uniqueKey":"azure_servicebus","typeLabel":"object"},"hookdeck":{"type":"object","properties":{"token":{"type":"string","description":"Hookdeck API key. Accepted alias: `api_key`. Write-only.","uniqueKey":"hookdeck.token","typeLabel":"string"}},"description":"Configuration for a `hookdeck` destination. Provide this object under the `hookdeck` property when `type` is `hookdeck`.","uniqueKey":"hookdeck","typeLabel":"object"},"cloudflare_queues":{"type":"object","required":["account_id","queue_id"],"properties":{"account_id":{"type":"string","description":"Cloudflare account ID.","isRequired":true,"uniqueKey":"cloudflare_queues.account_id","typeLabel":"string"},"queue_id":{"type":"string","description":"ID of the Cloudflare queue.","isRequired":true,"uniqueKey":"cloudflare_queues.queue_id","typeLabel":"string"},"api_token":{"type":"string","description":"Cloudflare API token with permission to send messages to the queue. Write-only.","uniqueKey":"cloudflare_queues.api_token","typeLabel":"string"}},"description":"Configuration for a `cloudflare_queues` destination. Provide this object under the `cloudflare_queues` property when `type` is `cloudflare_queues`.","uniqueKey":"cloudflare_queues","typeLabel":"object"}},"description":"Request body for creating a new event destination. Provide `name`, `type`, `events`, and exactly one type-specific configuration object whose property name matches `type` (for example `{\"type\": \"webhook\", \"webhook\": {\"url\": \"...\"}}`).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","events":["\u003cstring>"],"filter":{},"hookdeck":{"token":"\u003cstring>"}}}},"exampleType":"generated"},"text/json":{"schema":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Display name for the event destination.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["webhook","aws_sqs","aws_kinesis","aws_s3","aws_eventbridge","gcp_pubsub","rabbitmq","azure_servicebus","hookdeck","cloudflare_queues"],"description":"Destination type. Defaults to `webhook` if omitted. Send the matching configuration object under a property whose name equals this value (for example, when `type` is `aws_sqs`, include an `aws_sqs` object).","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"events":{"oneOf":[{"type":"null","items":{"type":"string"},"description":"Event types to subscribe to (for example `task_run.completed`, `credential.verified`). Use `[\"*\"]` to subscribe to all event types; `*` cannot be combined with specific types, and the list must not be empty.","uniqueKey":"events.oneOf.0","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"events.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Event types to subscribe to (for example `task_run.completed`, `credential.verified`). Use `[\"*\"]` to subscribe to all event types; `*` cannot be combined with specific types, and the list must not be empty.","uniqueKey":"events.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"events","typeLabel":"null | string[]"},"filter":{"oneOf":[{"type":"null","description":"Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example `{\"data\": {\"task_id\": \"task_a1b2c3d4\"}}`. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See [Filtering events](/events/destinations-and-deliveries#filtering-events).","uniqueKey":"filter.oneOf.0","typeLabel":"null"},{"type":"object","description":"Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example `{\"data\": {\"task_id\": \"task_a1b2c3d4\"}}`. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See [Filtering events](/events/destinations-and-deliveries#filtering-events).","uniqueKey":"filter.oneOf.1","typeLabel":"object"}],"uniqueKey":"filter","typeLabel":"null | object"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute `https` or `http` URL that receives event deliveries.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"},"secret":{"type":"string","description":"Signing secret used to verify webhook signatures. Write-only; never returned.","uniqueKey":"webhook.secret","typeLabel":"string"}},"description":"Configuration for a `webhook` destination. Provide this object under the `webhook` property when `type` is `webhook`.","uniqueKey":"webhook","typeLabel":"object"},"aws_sqs":{"type":"object","required":["queue_url"],"properties":{"queue_url":{"type":"string","description":"URL of the destination Amazon SQS queue.","isRequired":true,"uniqueKey":"aws_sqs.queue_url","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_sqs.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_sqs.secret","typeLabel":"string"}},"description":"Configuration for a `aws_sqs` destination. Provide this object under the `aws_sqs` property when `type` is `aws_sqs`.","uniqueKey":"aws_sqs","typeLabel":"object"},"aws_kinesis":{"type":"object","required":["stream_name","region"],"properties":{"stream_name":{"type":"string","description":"Name of the Amazon Kinesis stream.","isRequired":true,"uniqueKey":"aws_kinesis.stream_name","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the stream.","isRequired":true,"uniqueKey":"aws_kinesis.region","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_kinesis.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_kinesis.secret","typeLabel":"string"}},"description":"Configuration for a `aws_kinesis` destination. Provide this object under the `aws_kinesis` property when `type` is `aws_kinesis`.","uniqueKey":"aws_kinesis","typeLabel":"object"},"aws_s3":{"type":"object","required":["bucket","region"],"properties":{"bucket":{"type":"string","description":"Name of the destination Amazon S3 bucket.","isRequired":true,"uniqueKey":"aws_s3.bucket","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the bucket.","isRequired":true,"uniqueKey":"aws_s3.region","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_s3.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_s3.secret","typeLabel":"string"}},"description":"Configuration for a `aws_s3` destination. Provide this object under the `aws_s3` property when `type` is `aws_s3`.","uniqueKey":"aws_s3","typeLabel":"object"},"aws_eventbridge":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"AWS region of the event bus.","isRequired":true,"uniqueKey":"aws_eventbridge.region","typeLabel":"string"},"event_bus_name":{"type":"string","description":"Name or ARN of the Amazon EventBridge event bus. Defaults to the account's default event bus.","uniqueKey":"aws_eventbridge.event_bus_name","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_eventbridge.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_eventbridge.secret","typeLabel":"string"}},"description":"Configuration for a `aws_eventbridge` destination. Provide this object under the `aws_eventbridge` property when `type` is `aws_eventbridge`.","uniqueKey":"aws_eventbridge","typeLabel":"object"},"gcp_pubsub":{"type":"object","required":["project_id","topic"],"properties":{"project_id":{"type":"string","description":"Google Cloud project ID.","isRequired":true,"uniqueKey":"gcp_pubsub.project_id","typeLabel":"string"},"topic":{"type":"string","description":"Pub/Sub topic name. Accepted alias: `topic_name`.","isRequired":true,"uniqueKey":"gcp_pubsub.topic","typeLabel":"string"},"service_account_json":{"type":"string","description":"Service account credentials JSON. Accepted alias: `credentials_json`. Write-only.","uniqueKey":"gcp_pubsub.service_account_json","typeLabel":"string"}},"description":"Configuration for a `gcp_pubsub` destination. Provide this object under the `gcp_pubsub` property when `type` is `gcp_pubsub`.","uniqueKey":"gcp_pubsub","typeLabel":"object"},"rabbitmq":{"type":"object","required":["exchange","server_url"],"properties":{"exchange":{"type":"string","description":"Name of the RabbitMQ exchange.","isRequired":true,"uniqueKey":"rabbitmq.exchange","typeLabel":"string"},"server_url":{"type":"string","description":"RabbitMQ host as `host[:port]` (for example `rabbitmq:5672`). You may instead pass a full AMQP URL with embedded credentials; Deck extracts the host, username, and password from it.","isRequired":true,"uniqueKey":"rabbitmq.server_url","typeLabel":"string"},"username":{"type":"string","description":"RabbitMQ username (or embed it in the AMQP `server_url`). Write-only.","uniqueKey":"rabbitmq.username","typeLabel":"string"},"password":{"type":"string","description":"RabbitMQ password (or embed it in the AMQP `server_url`). Write-only.","uniqueKey":"rabbitmq.password","typeLabel":"string"}},"description":"Configuration for a `rabbitmq` destination. Provide this object under the `rabbitmq` property when `type` is `rabbitmq`.","uniqueKey":"rabbitmq","typeLabel":"object"},"azure_servicebus":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Service Bus queue or topic. Accepted alias: `queue_name`.","isRequired":true,"uniqueKey":"azure_servicebus.name","typeLabel":"string"},"connection_string":{"type":"string","description":"Azure Service Bus connection string. Write-only.","uniqueKey":"azure_servicebus.connection_string","typeLabel":"string"}},"description":"Configuration for a `azure_servicebus` destination. Provide this object under the `azure_servicebus` property when `type` is `azure_servicebus`.","uniqueKey":"azure_servicebus","typeLabel":"object"},"hookdeck":{"type":"object","properties":{"token":{"type":"string","description":"Hookdeck API key. Accepted alias: `api_key`. Write-only.","uniqueKey":"hookdeck.token","typeLabel":"string"}},"description":"Configuration for a `hookdeck` destination. Provide this object under the `hookdeck` property when `type` is `hookdeck`.","uniqueKey":"hookdeck","typeLabel":"object"},"cloudflare_queues":{"type":"object","required":["account_id","queue_id"],"properties":{"account_id":{"type":"string","description":"Cloudflare account ID.","isRequired":true,"uniqueKey":"cloudflare_queues.account_id","typeLabel":"string"},"queue_id":{"type":"string","description":"ID of the Cloudflare queue.","isRequired":true,"uniqueKey":"cloudflare_queues.queue_id","typeLabel":"string"},"api_token":{"type":"string","description":"Cloudflare API token with permission to send messages to the queue. Write-only.","uniqueKey":"cloudflare_queues.api_token","typeLabel":"string"}},"description":"Configuration for a `cloudflare_queues` destination. Provide this object under the `cloudflare_queues` property when `type` is `cloudflare_queues`.","uniqueKey":"cloudflare_queues","typeLabel":"object"}},"description":"Request body for creating a new event destination. Provide `name`, `type`, `events`, and exactly one type-specific configuration object whose property name matches `type` (for example `{\"type\": \"webhook\", \"webhook\": {\"url\": \"...\"}}`).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","events":["\u003cstring>"],"filter":{},"hookdeck":{"token":"\u003cstring>"}}}},"exampleType":"generated"},"application/*+json":{"schema":{"required":["name"],"type":"object","properties":{"name":{"type":"string","description":"Display name for the event destination.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","enum":["webhook","aws_sqs","aws_kinesis","aws_s3","aws_eventbridge","gcp_pubsub","rabbitmq","azure_servicebus","hookdeck","cloudflare_queues"],"description":"Destination type. Defaults to `webhook` if omitted. Send the matching configuration object under a property whose name equals this value (for example, when `type` is `aws_sqs`, include an `aws_sqs` object).","uniqueKey":"type","typeLabel":"enum\u003cstring>"},"events":{"oneOf":[{"type":"null","items":{"type":"string"},"description":"Event types to subscribe to (for example `task_run.completed`, `credential.verified`). Use `[\"*\"]` to subscribe to all event types; `*` cannot be combined with specific types, and the list must not be empty.","uniqueKey":"events.oneOf.0","typeLabel":"null"},{"type":"array","items":{"type":"string","uniqueKey":"events.oneOf.1.items.[INDEX]","typeLabel":"string"},"description":"Event types to subscribe to (for example `task_run.completed`, `credential.verified`). Use `[\"*\"]` to subscribe to all event types; `*` cannot be combined with specific types, and the list must not be empty.","uniqueKey":"events.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"events","typeLabel":"null | string[]"},"filter":{"oneOf":[{"type":"null","description":"Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example `{\"data\": {\"task_id\": \"task_a1b2c3d4\"}}`. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See [Filtering events](/events/destinations-and-deliveries#filtering-events).","uniqueKey":"filter.oneOf.0","typeLabel":"null"},{"type":"object","description":"Optional content filter matched against each event payload. Only events of the subscribed types that match are delivered. Write the filter against the event as you receive it, for example `{\"data\": {\"task_id\": \"task_a1b2c3d4\"}}`. Omit to deliver every event of the subscribed types. Must be an object nested no more than 32 levels deep. See [Filtering events](/events/destinations-and-deliveries#filtering-events).","uniqueKey":"filter.oneOf.1","typeLabel":"object"}],"uniqueKey":"filter","typeLabel":"null | object"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute `https` or `http` URL that receives event deliveries.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"},"secret":{"type":"string","description":"Signing secret used to verify webhook signatures. Write-only; never returned.","uniqueKey":"webhook.secret","typeLabel":"string"}},"description":"Configuration for a `webhook` destination. Provide this object under the `webhook` property when `type` is `webhook`.","uniqueKey":"webhook","typeLabel":"object"},"aws_sqs":{"type":"object","required":["queue_url"],"properties":{"queue_url":{"type":"string","description":"URL of the destination Amazon SQS queue.","isRequired":true,"uniqueKey":"aws_sqs.queue_url","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_sqs.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_sqs.secret","typeLabel":"string"}},"description":"Configuration for a `aws_sqs` destination. Provide this object under the `aws_sqs` property when `type` is `aws_sqs`.","uniqueKey":"aws_sqs","typeLabel":"object"},"aws_kinesis":{"type":"object","required":["stream_name","region"],"properties":{"stream_name":{"type":"string","description":"Name of the Amazon Kinesis stream.","isRequired":true,"uniqueKey":"aws_kinesis.stream_name","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the stream.","isRequired":true,"uniqueKey":"aws_kinesis.region","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_kinesis.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_kinesis.secret","typeLabel":"string"}},"description":"Configuration for a `aws_kinesis` destination. Provide this object under the `aws_kinesis` property when `type` is `aws_kinesis`.","uniqueKey":"aws_kinesis","typeLabel":"object"},"aws_s3":{"type":"object","required":["bucket","region"],"properties":{"bucket":{"type":"string","description":"Name of the destination Amazon S3 bucket.","isRequired":true,"uniqueKey":"aws_s3.bucket","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the bucket.","isRequired":true,"uniqueKey":"aws_s3.region","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_s3.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_s3.secret","typeLabel":"string"}},"description":"Configuration for a `aws_s3` destination. Provide this object under the `aws_s3` property when `type` is `aws_s3`.","uniqueKey":"aws_s3","typeLabel":"object"},"aws_eventbridge":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"AWS region of the event bus.","isRequired":true,"uniqueKey":"aws_eventbridge.region","typeLabel":"string"},"event_bus_name":{"type":"string","description":"Name or ARN of the Amazon EventBridge event bus. Defaults to the account's default event bus.","uniqueKey":"aws_eventbridge.event_bus_name","typeLabel":"string"},"key":{"type":"string","description":"AWS access key ID. Accepted alias: `access_key`. Write-only.","uniqueKey":"aws_eventbridge.key","typeLabel":"string"},"secret":{"type":"string","description":"AWS secret access key. Accepted alias: `secret_key`. Write-only.","uniqueKey":"aws_eventbridge.secret","typeLabel":"string"}},"description":"Configuration for a `aws_eventbridge` destination. Provide this object under the `aws_eventbridge` property when `type` is `aws_eventbridge`.","uniqueKey":"aws_eventbridge","typeLabel":"object"},"gcp_pubsub":{"type":"object","required":["project_id","topic"],"properties":{"project_id":{"type":"string","description":"Google Cloud project ID.","isRequired":true,"uniqueKey":"gcp_pubsub.project_id","typeLabel":"string"},"topic":{"type":"string","description":"Pub/Sub topic name. Accepted alias: `topic_name`.","isRequired":true,"uniqueKey":"gcp_pubsub.topic","typeLabel":"string"},"service_account_json":{"type":"string","description":"Service account credentials JSON. Accepted alias: `credentials_json`. Write-only.","uniqueKey":"gcp_pubsub.service_account_json","typeLabel":"string"}},"description":"Configuration for a `gcp_pubsub` destination. Provide this object under the `gcp_pubsub` property when `type` is `gcp_pubsub`.","uniqueKey":"gcp_pubsub","typeLabel":"object"},"rabbitmq":{"type":"object","required":["exchange","server_url"],"properties":{"exchange":{"type":"string","description":"Name of the RabbitMQ exchange.","isRequired":true,"uniqueKey":"rabbitmq.exchange","typeLabel":"string"},"server_url":{"type":"string","description":"RabbitMQ host as `host[:port]` (for example `rabbitmq:5672`). You may instead pass a full AMQP URL with embedded credentials; Deck extracts the host, username, and password from it.","isRequired":true,"uniqueKey":"rabbitmq.server_url","typeLabel":"string"},"username":{"type":"string","description":"RabbitMQ username (or embed it in the AMQP `server_url`). Write-only.","uniqueKey":"rabbitmq.username","typeLabel":"string"},"password":{"type":"string","description":"RabbitMQ password (or embed it in the AMQP `server_url`). Write-only.","uniqueKey":"rabbitmq.password","typeLabel":"string"}},"description":"Configuration for a `rabbitmq` destination. Provide this object under the `rabbitmq` property when `type` is `rabbitmq`.","uniqueKey":"rabbitmq","typeLabel":"object"},"azure_servicebus":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Service Bus queue or topic. Accepted alias: `queue_name`.","isRequired":true,"uniqueKey":"azure_servicebus.name","typeLabel":"string"},"connection_string":{"type":"string","description":"Azure Service Bus connection string. Write-only.","uniqueKey":"azure_servicebus.connection_string","typeLabel":"string"}},"description":"Configuration for a `azure_servicebus` destination. Provide this object under the `azure_servicebus` property when `type` is `azure_servicebus`.","uniqueKey":"azure_servicebus","typeLabel":"object"},"hookdeck":{"type":"object","properties":{"token":{"type":"string","description":"Hookdeck API key. Accepted alias: `api_key`. Write-only.","uniqueKey":"hookdeck.token","typeLabel":"string"}},"description":"Configuration for a `hookdeck` destination. Provide this object under the `hookdeck` property when `type` is `hookdeck`.","uniqueKey":"hookdeck","typeLabel":"object"},"cloudflare_queues":{"type":"object","required":["account_id","queue_id"],"properties":{"account_id":{"type":"string","description":"Cloudflare account ID.","isRequired":true,"uniqueKey":"cloudflare_queues.account_id","typeLabel":"string"},"queue_id":{"type":"string","description":"ID of the Cloudflare queue.","isRequired":true,"uniqueKey":"cloudflare_queues.queue_id","typeLabel":"string"},"api_token":{"type":"string","description":"Cloudflare API token with permission to send messages to the queue. Write-only.","uniqueKey":"cloudflare_queues.api_token","typeLabel":"string"}},"description":"Configuration for a `cloudflare_queues` destination. Provide this object under the `cloudflare_queues` property when `type` is `cloudflare_queues`.","uniqueKey":"cloudflare_queues","typeLabel":"object"}},"description":"Request body for creating a new event destination. Provide `name`, `type`, `events`, and exactly one type-specific configuration object whose property name matches `type` (for example `{\"type\": \"webhook\", \"webhook\": {\"url\": \"...\"}}`).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","events":["\u003cstring>"],"filter":{},"hookdeck":{"token":"\u003cstring>"}}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"3f686697-5939-4843-9b80-a7400391bc30":{"description":"Created","content":{"text/plain":{"schema":{"required":["id","object","name","status","type","events","created_at","updated_at"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the event destination, prefixed with `evtd_`.","pattern":"^evtd_","example":"evtd_AbC123xYz456","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Always `event_destination`.","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"name":{"type":"string","description":"Display name for the event destination.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","description":"Destination status: `pending_verification`, `active`, or `inactive`.","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"type":{"type":"string","enum":["webhook","aws_sqs","aws_kinesis","aws_s3","aws_eventbridge","gcp_pubsub","rabbitmq","azure_servicebus","hookdeck","cloudflare_queues"],"description":"Destination type. The endpoint configuration is returned under a property whose name equals this value (for example, a `webhook` destination returns a `webhook` object).","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"events":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX]","typeLabel":"string"},"description":"Event types this destination is subscribed to.","isRequired":true,"uniqueKey":"events","typeLabel":"string[]"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the resource was created.","example":"2026-08-24T12:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the resource was last updated.","example":"2026-08-24T12:00:00Z","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"filter":{"oneOf":[{"type":"null","description":"Content filter applied to events before delivery, as written when it was set. `null` when the destination has no filter.","uniqueKey":"filter.oneOf.0","typeLabel":"null"},{"type":"object","description":"Content filter applied to events before delivery, as written when it was set. `null` when the destination has no filter.","uniqueKey":"filter.oneOf.1","typeLabel":"object"}],"uniqueKey":"filter","typeLabel":"null | object"},"request_id":{"oneOf":[{"type":"null","description":"Unique identifier for the API request. Include this when contacting support.","uniqueKey":"request_id.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unique identifier for the API request. Include this when contacting support.","uniqueKey":"request_id.oneOf.1","typeLabel":"string"}],"uniqueKey":"request_id","typeLabel":"null | string"},"test_endpoint":{"oneOf":[{"type":"object","properties":{"inspect_url":{"type":"string","description":"URL that opens delivered payloads in Hookdeck Inspect. Anyone with the link can read deliveries.","uniqueKey":"test_endpoint.oneOf.0.inspect_url","typeLabel":"string"}},"description":"Present when the destination is a `webhook` backed by a disposable Hookdeck Inspect test endpoint created in the Console. Read-only.","uniqueKey":"test_endpoint.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"inspect_url":{"type":"string","description":"URL that opens delivered payloads in Hookdeck Inspect. Anyone with the link can read deliveries."}},"description":"Present when the destination is a `webhook` backed by a disposable Hookdeck Inspect test endpoint created in the Console. Read-only.","uniqueKey":"test_endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_endpoint","typeLabel":"object | null"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute `https` or `http` URL that receives event deliveries.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"}},"description":"Configuration returned for a `webhook` destination (credentials are never returned).","uniqueKey":"webhook","typeLabel":"object"},"aws_sqs":{"type":"object","required":["queue_url"],"properties":{"queue_url":{"type":"string","description":"URL of the destination Amazon SQS queue.","isRequired":true,"uniqueKey":"aws_sqs.queue_url","typeLabel":"string"}},"description":"Configuration returned for a `aws_sqs` destination (credentials are never returned).","uniqueKey":"aws_sqs","typeLabel":"object"},"aws_kinesis":{"type":"object","required":["stream_name","region"],"properties":{"stream_name":{"type":"string","description":"Name of the Amazon Kinesis stream.","isRequired":true,"uniqueKey":"aws_kinesis.stream_name","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the stream.","isRequired":true,"uniqueKey":"aws_kinesis.region","typeLabel":"string"}},"description":"Configuration returned for a `aws_kinesis` destination (credentials are never returned).","uniqueKey":"aws_kinesis","typeLabel":"object"},"aws_s3":{"type":"object","required":["bucket","region"],"properties":{"bucket":{"type":"string","description":"Name of the destination Amazon S3 bucket.","isRequired":true,"uniqueKey":"aws_s3.bucket","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the bucket.","isRequired":true,"uniqueKey":"aws_s3.region","typeLabel":"string"}},"description":"Configuration returned for a `aws_s3` destination (credentials are never returned).","uniqueKey":"aws_s3","typeLabel":"object"},"aws_eventbridge":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"AWS region of the event bus.","isRequired":true,"uniqueKey":"aws_eventbridge.region","typeLabel":"string"},"event_bus_name":{"type":"string","description":"Name or ARN of the Amazon EventBridge event bus. Defaults to the account's default event bus.","uniqueKey":"aws_eventbridge.event_bus_name","typeLabel":"string"}},"description":"Configuration returned for a `aws_eventbridge` destination (credentials are never returned).","uniqueKey":"aws_eventbridge","typeLabel":"object"},"gcp_pubsub":{"type":"object","required":["project_id","topic"],"properties":{"project_id":{"type":"string","description":"Google Cloud project ID.","isRequired":true,"uniqueKey":"gcp_pubsub.project_id","typeLabel":"string"},"topic":{"type":"string","description":"Pub/Sub topic name. Accepted alias: `topic_name`.","isRequired":true,"uniqueKey":"gcp_pubsub.topic","typeLabel":"string"}},"description":"Configuration returned for a `gcp_pubsub` destination (credentials are never returned).","uniqueKey":"gcp_pubsub","typeLabel":"object"},"rabbitmq":{"type":"object","required":["exchange","server_url"],"properties":{"exchange":{"type":"string","description":"Name of the RabbitMQ exchange.","isRequired":true,"uniqueKey":"rabbitmq.exchange","typeLabel":"string"},"server_url":{"type":"string","description":"RabbitMQ host as `host[:port]` (for example `rabbitmq:5672`). You may instead pass a full AMQP URL with embedded credentials; Deck extracts the host, username, and password from it.","isRequired":true,"uniqueKey":"rabbitmq.server_url","typeLabel":"string"}},"description":"Configuration returned for a `rabbitmq` destination (credentials are never returned).","uniqueKey":"rabbitmq","typeLabel":"object"},"azure_servicebus":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Service Bus queue or topic. Accepted alias: `queue_name`.","isRequired":true,"uniqueKey":"azure_servicebus.name","typeLabel":"string"}},"description":"Configuration returned for a `azure_servicebus` destination (credentials are never returned).","uniqueKey":"azure_servicebus","typeLabel":"object"},"hookdeck":{"type":"object","properties":{},"description":"Configuration returned for a `hookdeck` destination (credentials are never returned).","uniqueKey":"hookdeck","typeLabel":"object"},"cloudflare_queues":{"type":"object","required":["account_id","queue_id"],"properties":{"account_id":{"type":"string","description":"Cloudflare account ID.","isRequired":true,"uniqueKey":"cloudflare_queues.account_id","typeLabel":"string"},"queue_id":{"type":"string","description":"ID of the Cloudflare queue.","isRequired":true,"uniqueKey":"cloudflare_queues.queue_id","typeLabel":"string"}},"description":"Configuration returned for a `cloudflare_queues` destination (credentials are never returned).","uniqueKey":"cloudflare_queues","typeLabel":"object"}},"description":"An event destination object representing an endpoint that receives platform events.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"evtd_AbC123xYz456","object":"\u003cstring>","name":"\u003cstring>","status":"\u003cstring>","type":"webhook","events":["\u003cstring>"],"created_at":"2026-08-24T12:00:00Z","updated_at":"2026-08-24T12:00:00Z","filter":{},"request_id":"\u003cstring>","test_endpoint":{"inspect_url":"\u003cstring>"},"webhook":{"url":"\u003cstring>"},"aws_sqs":{"queue_url":"\u003cstring>"},"aws_kinesis":{"stream_name":"\u003cstring>","region":"\u003cstring>"},"aws_s3":{"bucket":"\u003cstring>","region":"\u003cstring>"},"aws_eventbridge":{"region":"\u003cstring>","event_bus_name":"\u003cstring>"},"gcp_pubsub":{"project_id":"\u003cstring>","topic":"\u003cstring>"},"rabbitmq":{"exchange":"\u003cstring>","server_url":"\u003cstring>"},"azure_servicebus":{"name":"\u003cstring>"},"hookdeck":{},"cloudflare_queues":{"account_id":"\u003cstring>","queue_id":"\u003cstring>"}}}},"exampleType":"generated"},"application/json":{"schema":{"required":["id","object","name","status","type","events","created_at","updated_at"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the event destination, prefixed with `evtd_`.","pattern":"^evtd_","example":"evtd_AbC123xYz456","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Always `event_destination`.","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"name":{"type":"string","description":"Display name for the event destination.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","description":"Destination status: `pending_verification`, `active`, or `inactive`.","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"type":{"type":"string","enum":["webhook","aws_sqs","aws_kinesis","aws_s3","aws_eventbridge","gcp_pubsub","rabbitmq","azure_servicebus","hookdeck","cloudflare_queues"],"description":"Destination type. The endpoint configuration is returned under a property whose name equals this value (for example, a `webhook` destination returns a `webhook` object).","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"events":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX]","typeLabel":"string"},"description":"Event types this destination is subscribed to.","isRequired":true,"uniqueKey":"events","typeLabel":"string[]"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the resource was created.","example":"2026-08-24T12:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the resource was last updated.","example":"2026-08-24T12:00:00Z","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"filter":{"oneOf":[{"type":"null","description":"Content filter applied to events before delivery, as written when it was set. `null` when the destination has no filter.","uniqueKey":"filter.oneOf.0","typeLabel":"null"},{"type":"object","description":"Content filter applied to events before delivery, as written when it was set. `null` when the destination has no filter.","uniqueKey":"filter.oneOf.1","typeLabel":"object"}],"uniqueKey":"filter","typeLabel":"null | object"},"request_id":{"oneOf":[{"type":"null","description":"Unique identifier for the API request. Include this when contacting support.","uniqueKey":"request_id.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unique identifier for the API request. Include this when contacting support.","uniqueKey":"request_id.oneOf.1","typeLabel":"string"}],"uniqueKey":"request_id","typeLabel":"null | string"},"test_endpoint":{"oneOf":[{"type":"object","properties":{"inspect_url":{"type":"string","description":"URL that opens delivered payloads in Hookdeck Inspect. Anyone with the link can read deliveries.","uniqueKey":"test_endpoint.oneOf.0.inspect_url","typeLabel":"string"}},"description":"Present when the destination is a `webhook` backed by a disposable Hookdeck Inspect test endpoint created in the Console. Read-only.","uniqueKey":"test_endpoint.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"inspect_url":{"type":"string","description":"URL that opens delivered payloads in Hookdeck Inspect. Anyone with the link can read deliveries."}},"description":"Present when the destination is a `webhook` backed by a disposable Hookdeck Inspect test endpoint created in the Console. Read-only.","uniqueKey":"test_endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_endpoint","typeLabel":"object | null"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute `https` or `http` URL that receives event deliveries.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"}},"description":"Configuration returned for a `webhook` destination (credentials are never returned).","uniqueKey":"webhook","typeLabel":"object"},"aws_sqs":{"type":"object","required":["queue_url"],"properties":{"queue_url":{"type":"string","description":"URL of the destination Amazon SQS queue.","isRequired":true,"uniqueKey":"aws_sqs.queue_url","typeLabel":"string"}},"description":"Configuration returned for a `aws_sqs` destination (credentials are never returned).","uniqueKey":"aws_sqs","typeLabel":"object"},"aws_kinesis":{"type":"object","required":["stream_name","region"],"properties":{"stream_name":{"type":"string","description":"Name of the Amazon Kinesis stream.","isRequired":true,"uniqueKey":"aws_kinesis.stream_name","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the stream.","isRequired":true,"uniqueKey":"aws_kinesis.region","typeLabel":"string"}},"description":"Configuration returned for a `aws_kinesis` destination (credentials are never returned).","uniqueKey":"aws_kinesis","typeLabel":"object"},"aws_s3":{"type":"object","required":["bucket","region"],"properties":{"bucket":{"type":"string","description":"Name of the destination Amazon S3 bucket.","isRequired":true,"uniqueKey":"aws_s3.bucket","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the bucket.","isRequired":true,"uniqueKey":"aws_s3.region","typeLabel":"string"}},"description":"Configuration returned for a `aws_s3` destination (credentials are never returned).","uniqueKey":"aws_s3","typeLabel":"object"},"aws_eventbridge":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"AWS region of the event bus.","isRequired":true,"uniqueKey":"aws_eventbridge.region","typeLabel":"string"},"event_bus_name":{"type":"string","description":"Name or ARN of the Amazon EventBridge event bus. Defaults to the account's default event bus.","uniqueKey":"aws_eventbridge.event_bus_name","typeLabel":"string"}},"description":"Configuration returned for a `aws_eventbridge` destination (credentials are never returned).","uniqueKey":"aws_eventbridge","typeLabel":"object"},"gcp_pubsub":{"type":"object","required":["project_id","topic"],"properties":{"project_id":{"type":"string","description":"Google Cloud project ID.","isRequired":true,"uniqueKey":"gcp_pubsub.project_id","typeLabel":"string"},"topic":{"type":"string","description":"Pub/Sub topic name. Accepted alias: `topic_name`.","isRequired":true,"uniqueKey":"gcp_pubsub.topic","typeLabel":"string"}},"description":"Configuration returned for a `gcp_pubsub` destination (credentials are never returned).","uniqueKey":"gcp_pubsub","typeLabel":"object"},"rabbitmq":{"type":"object","required":["exchange","server_url"],"properties":{"exchange":{"type":"string","description":"Name of the RabbitMQ exchange.","isRequired":true,"uniqueKey":"rabbitmq.exchange","typeLabel":"string"},"server_url":{"type":"string","description":"RabbitMQ host as `host[:port]` (for example `rabbitmq:5672`). You may instead pass a full AMQP URL with embedded credentials; Deck extracts the host, username, and password from it.","isRequired":true,"uniqueKey":"rabbitmq.server_url","typeLabel":"string"}},"description":"Configuration returned for a `rabbitmq` destination (credentials are never returned).","uniqueKey":"rabbitmq","typeLabel":"object"},"azure_servicebus":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Service Bus queue or topic. Accepted alias: `queue_name`.","isRequired":true,"uniqueKey":"azure_servicebus.name","typeLabel":"string"}},"description":"Configuration returned for a `azure_servicebus` destination (credentials are never returned).","uniqueKey":"azure_servicebus","typeLabel":"object"},"hookdeck":{"type":"object","properties":{},"description":"Configuration returned for a `hookdeck` destination (credentials are never returned).","uniqueKey":"hookdeck","typeLabel":"object"},"cloudflare_queues":{"type":"object","required":["account_id","queue_id"],"properties":{"account_id":{"type":"string","description":"Cloudflare account ID.","isRequired":true,"uniqueKey":"cloudflare_queues.account_id","typeLabel":"string"},"queue_id":{"type":"string","description":"ID of the Cloudflare queue.","isRequired":true,"uniqueKey":"cloudflare_queues.queue_id","typeLabel":"string"}},"description":"Configuration returned for a `cloudflare_queues` destination (credentials are never returned).","uniqueKey":"cloudflare_queues","typeLabel":"object"}},"description":"An event destination object representing an endpoint that receives platform events.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"evtd_AbC123xYz456","object":"\u003cstring>","name":"\u003cstring>","status":"\u003cstring>","type":"webhook","events":["\u003cstring>"],"created_at":"2026-08-24T12:00:00Z","updated_at":"2026-08-24T12:00:00Z","filter":{},"request_id":"\u003cstring>","test_endpoint":{"inspect_url":"\u003cstring>"},"webhook":{"url":"\u003cstring>"},"aws_sqs":{"queue_url":"\u003cstring>"},"aws_kinesis":{"stream_name":"\u003cstring>","region":"\u003cstring>"},"aws_s3":{"bucket":"\u003cstring>","region":"\u003cstring>"},"aws_eventbridge":{"region":"\u003cstring>","event_bus_name":"\u003cstring>"},"gcp_pubsub":{"project_id":"\u003cstring>","topic":"\u003cstring>"},"rabbitmq":{"exchange":"\u003cstring>","server_url":"\u003cstring>"},"azure_servicebus":{"name":"\u003cstring>"},"hookdeck":{},"cloudflare_queues":{"account_id":"\u003cstring>","queue_id":"\u003cstring>"}}}},"exampleType":"generated"},"text/json":{"schema":{"required":["id","object","name","status","type","events","created_at","updated_at"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the event destination, prefixed with `evtd_`.","pattern":"^evtd_","example":"evtd_AbC123xYz456","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"Always `event_destination`.","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"name":{"type":"string","description":"Display name for the event destination.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"status":{"type":"string","description":"Destination status: `pending_verification`, `active`, or `inactive`.","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"type":{"type":"string","enum":["webhook","aws_sqs","aws_kinesis","aws_s3","aws_eventbridge","gcp_pubsub","rabbitmq","azure_servicebus","hookdeck","cloudflare_queues"],"description":"Destination type. The endpoint configuration is returned under a property whose name equals this value (for example, a `webhook` destination returns a `webhook` object).","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"events":{"type":"array","items":{"type":"string","uniqueKey":"events.items.[INDEX]","typeLabel":"string"},"description":"Event types this destination is subscribed to.","isRequired":true,"uniqueKey":"events","typeLabel":"string[]"},"created_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the resource was created.","example":"2026-08-24T12:00:00Z","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"ISO 8601 timestamp of when the resource was last updated.","example":"2026-08-24T12:00:00Z","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"filter":{"oneOf":[{"type":"null","description":"Content filter applied to events before delivery, as written when it was set. `null` when the destination has no filter.","uniqueKey":"filter.oneOf.0","typeLabel":"null"},{"type":"object","description":"Content filter applied to events before delivery, as written when it was set. `null` when the destination has no filter.","uniqueKey":"filter.oneOf.1","typeLabel":"object"}],"uniqueKey":"filter","typeLabel":"null | object"},"request_id":{"oneOf":[{"type":"null","description":"Unique identifier for the API request. Include this when contacting support.","uniqueKey":"request_id.oneOf.0","typeLabel":"null"},{"type":"string","description":"Unique identifier for the API request. Include this when contacting support.","uniqueKey":"request_id.oneOf.1","typeLabel":"string"}],"uniqueKey":"request_id","typeLabel":"null | string"},"test_endpoint":{"oneOf":[{"type":"object","properties":{"inspect_url":{"type":"string","description":"URL that opens delivered payloads in Hookdeck Inspect. Anyone with the link can read deliveries.","uniqueKey":"test_endpoint.oneOf.0.inspect_url","typeLabel":"string"}},"description":"Present when the destination is a `webhook` backed by a disposable Hookdeck Inspect test endpoint created in the Console. Read-only.","uniqueKey":"test_endpoint.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"inspect_url":{"type":"string","description":"URL that opens delivered payloads in Hookdeck Inspect. Anyone with the link can read deliveries."}},"description":"Present when the destination is a `webhook` backed by a disposable Hookdeck Inspect test endpoint created in the Console. Read-only.","uniqueKey":"test_endpoint.oneOf.1","typeLabel":"null"}],"uniqueKey":"test_endpoint","typeLabel":"object | null"},"webhook":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Absolute `https` or `http` URL that receives event deliveries.","isRequired":true,"uniqueKey":"webhook.url","typeLabel":"string"}},"description":"Configuration returned for a `webhook` destination (credentials are never returned).","uniqueKey":"webhook","typeLabel":"object"},"aws_sqs":{"type":"object","required":["queue_url"],"properties":{"queue_url":{"type":"string","description":"URL of the destination Amazon SQS queue.","isRequired":true,"uniqueKey":"aws_sqs.queue_url","typeLabel":"string"}},"description":"Configuration returned for a `aws_sqs` destination (credentials are never returned).","uniqueKey":"aws_sqs","typeLabel":"object"},"aws_kinesis":{"type":"object","required":["stream_name","region"],"properties":{"stream_name":{"type":"string","description":"Name of the Amazon Kinesis stream.","isRequired":true,"uniqueKey":"aws_kinesis.stream_name","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the stream.","isRequired":true,"uniqueKey":"aws_kinesis.region","typeLabel":"string"}},"description":"Configuration returned for a `aws_kinesis` destination (credentials are never returned).","uniqueKey":"aws_kinesis","typeLabel":"object"},"aws_s3":{"type":"object","required":["bucket","region"],"properties":{"bucket":{"type":"string","description":"Name of the destination Amazon S3 bucket.","isRequired":true,"uniqueKey":"aws_s3.bucket","typeLabel":"string"},"region":{"type":"string","description":"AWS region of the bucket.","isRequired":true,"uniqueKey":"aws_s3.region","typeLabel":"string"}},"description":"Configuration returned for a `aws_s3` destination (credentials are never returned).","uniqueKey":"aws_s3","typeLabel":"object"},"aws_eventbridge":{"type":"object","required":["region"],"properties":{"region":{"type":"string","description":"AWS region of the event bus.","isRequired":true,"uniqueKey":"aws_eventbridge.region","typeLabel":"string"},"event_bus_name":{"type":"string","description":"Name or ARN of the Amazon EventBridge event bus. Defaults to the account's default event bus.","uniqueKey":"aws_eventbridge.event_bus_name","typeLabel":"string"}},"description":"Configuration returned for a `aws_eventbridge` destination (credentials are never returned).","uniqueKey":"aws_eventbridge","typeLabel":"object"},"gcp_pubsub":{"type":"object","required":["project_id","topic"],"properties":{"project_id":{"type":"string","description":"Google Cloud project ID.","isRequired":true,"uniqueKey":"gcp_pubsub.project_id","typeLabel":"string"},"topic":{"type":"string","description":"Pub/Sub topic name. Accepted alias: `topic_name`.","isRequired":true,"uniqueKey":"gcp_pubsub.topic","typeLabel":"string"}},"description":"Configuration returned for a `gcp_pubsub` destination (credentials are never returned).","uniqueKey":"gcp_pubsub","typeLabel":"object"},"rabbitmq":{"type":"object","required":["exchange","server_url"],"properties":{"exchange":{"type":"string","description":"Name of the RabbitMQ exchange.","isRequired":true,"uniqueKey":"rabbitmq.exchange","typeLabel":"string"},"server_url":{"type":"string","description":"RabbitMQ host as `host[:port]` (for example `rabbitmq:5672`). You may instead pass a full AMQP URL with embedded credentials; Deck extracts the host, username, and password from it.","isRequired":true,"uniqueKey":"rabbitmq.server_url","typeLabel":"string"}},"description":"Configuration returned for a `rabbitmq` destination (credentials are never returned).","uniqueKey":"rabbitmq","typeLabel":"object"},"azure_servicebus":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Name of the Service Bus queue or topic. Accepted alias: `queue_name`.","isRequired":true,"uniqueKey":"azure_servicebus.name","typeLabel":"string"}},"description":"Configuration returned for a `azure_servicebus` destination (credentials are never returned).","uniqueKey":"azure_servicebus","typeLabel":"object"},"hookdeck":{"type":"object","properties":{},"description":"Configuration returned for a `hookdeck` destination (credentials are never returned).","uniqueKey":"hookdeck","typeLabel":"object"},"cloudflare_queues":{"type":"object","required":["account_id","queue_id"],"properties":{"account_id":{"type":"string","description":"Cloudflare account ID.","isRequired":true,"uniqueKey":"cloudflare_queues.account_id","typeLabel":"string"},"queue_id":{"type":"string","description":"ID of the Cloudflare queue.","isRequired":true,"uniqueKey":"cloudflare_queues.queue_id","typeLabel":"string"}},"description":"Configuration returned for a `cloudflare_queues` destination (credentials are never returned).","uniqueKey":"cloudflare_queues","typeLabel":"object"}},"description":"An event destination object representing an endpoint that receives platform events.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"evtd_AbC123xYz456","object":"\u003cstring>","name":"\u003cstring>","status":"\u003cstring>","type":"webhook","events":["\u003cstring>"],"created_at":"2026-08-24T12:00:00Z","updated_at":"2026-08-24T12:00:00Z","filter":{},"request_id":"\u003cstring>","test_endpoint":{"inspect_url":"\u003cstring>"},"webhook":{"url":"\u003cstring>"},"aws_sqs":{"queue_url":"\u003cstring>"},"aws_kinesis":{"stream_name":"\u003cstring>","region":"\u003cstring>"},"aws_s3":{"bucket":"\u003cstring>","region":"\u003cstring>"},"aws_eventbridge":{"region":"\u003cstring>","event_bus_name":"\u003cstring>"},"gcp_pubsub":{"project_id":"\u003cstring>","topic":"\u003cstring>"},"rabbitmq":{"exchange":"\u003cstring>","server_url":"\u003cstring>"},"azure_servicebus":{"name":"\u003cstring>"},"hookdeck":{},"cloudflare_queues":{"account_id":"\u003cstring>","queue_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f2089915-818e-4c57-819e-14af84e49ee5":{"description":"Bad request — validation error or malformed input.","content":{"application/json":{"schema":{"required":["errors"],"type":"object","properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"description":"Validation errors grouped by field name.","isRequired":true,"uniqueKey":"errors","typeLabel":"object"},"type":{"oneOf":[{"type":"null","description":"RFC 9110 problem type URI.","uniqueKey":"type.oneOf.0","typeLabel":"null"},{"type":"string","description":"RFC 9110 problem type URI.","uniqueKey":"type.oneOf.1","typeLabel":"string"}],"uniqueKey":"type","typeLabel":"null | string"},"title":{"oneOf":[{"type":"null","description":"Short summary of the validation failure.","uniqueKey":"title.oneOf.0","typeLabel":"null"},{"type":"string","description":"Short summary of the validation failure.","uniqueKey":"title.oneOf.1","typeLabel":"string"}],"uniqueKey":"title","typeLabel":"null | string"},"status":{"oneOf":[{"type":"null","description":"HTTP status code.","format":"int32","uniqueKey":"status.oneOf.0","typeLabel":"null"},{"type":"integer","description":"HTTP status code.","format":"int32","uniqueKey":"status.oneOf.1","typeLabel":"integer\u003cint32>"}],"uniqueKey":"status","typeLabel":"null | integer\u003cint32>"},"traceId":{"oneOf":[{"type":"null","description":"Request trace identifier.","uniqueKey":"traceId.oneOf.0","typeLabel":"null"},{"type":"string","description":"Request trace identifier.","uniqueKey":"traceId.oneOf.1","typeLabel":"string"}],"uniqueKey":"traceId","typeLabel":"null | string"}},"description":"Validation error returned for malformed requests (HTTP 400).","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":{},"type":"\u003cstring>","title":"\u003cstring>","status":123,"traceId":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2e41066b-f38e-476c-826a-96dd05b68c78":{"description":"Unauthorized.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"750ae556-eb4e-4b3d-91b2-68e0ea5ad0aa":{"description":"Forbidden.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}},"eb3d33eb-4eef-47e7-9312-c882baa610c6":{"description":"Not found — the requested resource does not exist.","content":{"application/json":{"schema":{"required":["errors","request_id"],"type":"object","properties":{"errors":{"type":"array","items":{"required":["type","code","message"],"type":"object","properties":{"type":{"type":"string","description":"Error category (e.g. `source`, `auth`, `task`, `rate_limit`). Determines the class of failure.","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Use this for programmatic handling.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Do not rely on this for logic — it may change.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"null","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"null"},{"type":"string","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"string"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"null | string"}},"description":"Error details for a failed task run. Same structure as API-level errors.","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"One or more errors that describe what went wrong.","isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique identifier for this request, useful for tracing.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"description":"Standard error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","field":"\u003cstring>"}],"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c5cac3ea-7fb4-4264-87b3-f54ee031a195":{"description":"Conflict — the request is valid but cannot be completed in the current state. Also returned when an `Idempotency-Key` is reused with different request parameters (`idempotency_error`).","content":{"application/json":{"schema":{"required":["errors","request_id"],"type":"object","properties":{"errors":{"type":"array","items":{"required":["type","code","message"],"type":"object","properties":{"type":{"type":"string","description":"Error category (e.g. `source`, `auth`, `task`, `rate_limit`). Determines the class of failure.","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Use this for programmatic handling.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Do not rely on this for logic — it may change.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"null","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"null"},{"type":"string","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"string"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"null | string"}},"description":"Error details for a failed task run. Same structure as API-level errors.","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"One or more errors that describe what went wrong.","isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique identifier for this request, useful for tracing.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"description":"Standard error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","field":"\u003cstring>"}],"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"34d4915f-37bc-4b83-ba3e-738fd0823483":{"description":"Unprocessable content — the request body is understood but contains invalid values.","content":{"application/json":{"schema":{"required":["errors","request_id"],"type":"object","properties":{"errors":{"type":"array","items":{"required":["type","code","message"],"type":"object","properties":{"type":{"type":"string","description":"Error category (e.g. `source`, `auth`, `task`, `rate_limit`). Determines the class of failure.","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Use this for programmatic handling.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Do not rely on this for logic — it may change.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"null","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"null"},{"type":"string","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"string"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"null | string"}},"description":"Error details for a failed task run. Same structure as API-level errors.","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"One or more errors that describe what went wrong.","isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique identifier for this request, useful for tracing.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"description":"Standard error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","field":"\u003cstring>"}],"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"2f846c29-d12a-4b95-8fc4-1419f04a2148":{"description":"Too many requests — the organization-wide API rate limit was exceeded (`rate_limit_exceeded`). Retry with exponential backoff.","content":{"application/json":{"schema":{"required":["errors","request_id"],"type":"object","properties":{"errors":{"type":"array","items":{"required":["type","code","message"],"type":"object","properties":{"type":{"type":"string","description":"Error category (e.g. `source`, `auth`, `task`, `rate_limit`). Determines the class of failure.","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Use this for programmatic handling.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Do not rely on this for logic — it may change.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"null","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"null"},{"type":"string","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"string"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"null | string"}},"description":"Error details for a failed task run. Same structure as API-level errors.","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"One or more errors that describe what went wrong.","isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique identifier for this request, useful for tracing.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"description":"Standard error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","field":"\u003cstring>"}],"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c90c3037-b6e3-43c7-b606-3ca3a54a5fe1":{"description":"Internal server error.","content":{"application/json":{"schema":{"required":["errors","request_id"],"type":"object","properties":{"errors":{"type":"array","items":{"required":["type","code","message"],"type":"object","properties":{"type":{"type":"string","description":"Error category (e.g. `source`, `auth`, `task`, `rate_limit`). Determines the class of failure.","isRequired":true,"uniqueKey":"errors.items.[INDEX].type","typeLabel":"string"},"code":{"type":"string","description":"Machine-readable error code. Use this for programmatic handling.","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable explanation. Do not rely on this for logic — it may change.","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"field":{"oneOf":[{"type":"null","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.0","typeLabel":"null"},{"type":"string","description":"The input field that caused the error, when applicable.","uniqueKey":"errors.items.[INDEX].field.oneOf.1","typeLabel":"string"}],"uniqueKey":"errors.items.[INDEX].field","typeLabel":"null | string"}},"description":"Error details for a failed task run. Same structure as API-level errors.","uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"description":"One or more errors that describe what went wrong.","isRequired":true,"uniqueKey":"errors","typeLabel":"object[]"},"request_id":{"type":"string","description":"Unique identifier for this request, useful for tracing.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"}},"description":"Standard error response.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"errors":[{"type":"\u003cstring>","code":"\u003cstring>","message":"\u003cstring>","field":"\u003cstring>"}],"request_id":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"70a6cd60-7554-4caa-8414-b07034a86562":{"BearerAuth":{"type":"http","description":"Secret key (sk_live_...)","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"BearerAuth"}}},"servers":{"11088669-f0e3-446e-9f56-9d49b375b996":{"url":"https://api.deck.co/v2","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","description":"Secret key (sk_live_...)","scheme":"bearer","bearerFormat":"JWT","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Secret key (sk_live_...)","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"}]},"originalFileLocation":"api-reference/v2.json"},"subdomain":"decksoftwareinc","siteName":"Deck Docs","title":"Create an event destination - Deck Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T16:03:55.639Z","originalFileLocation":"api-reference/event-destinations/create-an-event-destination.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Deck Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create an event destination - Deck Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Deck Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://decksoftwareinc.mintlify.site/_mintlify/api/og/v2?division=Event+Destinations\u0026amp;title=Create+an+event+destination\u0026amp;description=Creates+a+new+event+destination+%28e.g.+a+webhook+endpoint%29+to+receive+platform+events.\u0026amp;theme=94e340d8b0fe60995d375a96\u0026amp;signature=5a1bb1c0f08c11dfd994684c281859ad20d50ed52da746e1f0479b48930c53bd\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create an event destination - Deck Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://decksoftwareinc.mintlify.site/_mintlify/api/og/v2?division=Event+Destinations\u0026amp;title=Create+an+event+destination\u0026amp;description=Creates+a+new+event+destination+%28e.g.+a+webhook+endpoint%29+to+receive+platform+events.\u0026amp;theme=94e340d8b0fe60995d375a96\u0026amp;signature=5a1bb1c0f08c11dfd994684c281859ad20d50ed52da746e1f0479b48930c53bd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/decksoftwareinc/DmQKfMV4zw6ETaNX/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Deck Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#60917e\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/event-destinations/create-an-event-destination.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.deck.co/#organization\",\"name\":\"Deck Docs\",\"url\":\"https://docs.deck.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/decksoftwareinc/qU-Ph3TxWRaVaZ4z/logo/light.svg?fit=max\u0026auto=format\u0026n=qU-Ph3TxWRaVaZ4z\u0026q=85\u0026s=7219c0996a361a0efa1315710acaece8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.deck.co#website\",\"name\":\"Deck Docs\",\"url\":\"https://docs.deck.co\",\"publisher\":{\"@id\":\"https://docs.deck.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination#webpage\",\"url\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination\",\"name\":\"Create an event destination\",\"description\":\"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.\",\"dateModified\":\"2026-11-10T16:03:55.639Z\",\"isPartOf\":{\"@id\":\"https://docs.deck.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Deck Docs\",\"item\":\"https://docs.deck.co\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create an event destination\",\"item\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination#apireference\",\"headline\":\"Create an event destination\",\"name\":\"Create an event destination\",\"description\":\"Creates a new event destination (e.g. a webhook endpoint) to receive platform events.\",\"url\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination\",\"mainEntityOfPage\":{\"@id\":\"https://docs.deck.co/api-reference/event-destinations/create-an-event-destination#webpage\"},\"dateModified\":\"2026-11-10T16:03:55.639Z\",\"publisher\":{\"@id\":\"https://docs.deck.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.deck.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Deck Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Deck Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/event-destinations/create-an-event-destination.md","siteName":"Deck Docs","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Agents","pages":[{"title":"Create an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /agents","href":"/api-reference/agents/create-an-agent"},{"title":"List agents","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /agents","href":"/api-reference/agents/list-agents"},{"title":"Retrieve an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /agents/{agent_id}","href":"/api-reference/agents/retrieve-an-agent"},{"title":"Update an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /agents/{agent_id}","href":"/api-reference/agents/update-an-agent"},{"title":"Delete an agent","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /agents/{agent_id}","href":"/api-reference/agents/delete-an-agent"}]},{"group":"Sources","pages":[{"title":"Create a source","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /sources","href":"/api-reference/sources/create-a-source"},{"title":"List sources","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /sources","href":"/api-reference/sources/list-sources"},{"title":"Retrieve a source","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /sources/{source_id}","href":"/api-reference/sources/retrieve-a-source"},{"title":"Update a source","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /sources/{source_id}","href":"/api-reference/sources/update-a-source"},{"title":"Reset a source","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /sources/{source_id}/reset","href":"/api-reference/sources/reset-a-source"},{"title":"Delete a source","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /sources/{source_id}","href":"/api-reference/sources/delete-a-source"}]},{"group":"Tasks","pages":[{"title":"Create a task","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /tasks","href":"/api-reference/tasks/create-a-task"},{"title":"List tasks","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Retrieve a task","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /tasks/{task_id}","href":"/api-reference/tasks/retrieve-a-task"},{"title":"Update a task","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /tasks/{task_id}","href":"/api-reference/tasks/update-a-task"},{"title":"Delete a task","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /tasks/{task_id}","href":"/api-reference/tasks/delete-a-task"},{"title":"Run a task","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /tasks/{task_id}/run","href":"/api-reference/tasks/run-a-task"},{"title":"Reset a task","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /tasks/{task_id}/reset","href":"/api-reference/tasks/reset-a-task"}]},{"group":"Task Runs","pages":[{"title":"Retrieve a task run","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /task-runs/{run_id}","href":"/api-reference/task-runs/retrieve-a-task-run"},{"title":"List task runs","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /task-runs","href":"/api-reference/task-runs/list-task-runs"},{"title":"List task run storage items","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /task-runs/{run_id}/storage","href":"/api-reference/task-runs/list-task-run-storage-items"},{"title":"List task run screenshots","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /task-runs/{run_id}/screenshots","href":"/api-reference/task-runs/list-task-run-screenshots"},{"title":"Cancel a task run","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /task-runs/{run_id}/cancel","href":"/api-reference/task-runs/cancel-a-task-run"},{"title":"Rerun a task run","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /task-runs/{run_id}/rerun","href":"/api-reference/task-runs/rerun-a-task-run"},{"title":"Submit interaction input","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /task-runs/{run_id}/interaction","href":"/api-reference/task-runs/submit-interaction-input"}]},{"group":"Credentials","pages":[{"title":"Create a credential","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /credentials","href":"/api-reference/credentials/create-a-credential"},{"title":"List credentials","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /credentials","href":"/api-reference/credentials/list-credentials"},{"title":"Retrieve a credential","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /credentials/{credential_id}","href":"/api-reference/credentials/retrieve-a-credential"},{"title":"Update a credential","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /credentials/{credential_id}","href":"/api-reference/credentials/update-a-credential"},{"title":"Delete a credential","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /credentials/{credential_id}","href":"/api-reference/credentials/delete-a-credential"}]},{"group":"Sessions","pages":[{"title":"Start a session","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /sessions","href":"/api-reference/sessions/start-a-session"},{"title":"List sessions","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /sessions","href":"/api-reference/sessions/list-sessions"},{"title":"Retrieve a session","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /sessions/{session_id}","href":"/api-reference/sessions/retrieve-a-session"},{"title":"End a session","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /sessions/{session_id}/end","href":"/api-reference/sessions/end-a-session"}]},{"group":"Storage","pages":[{"title":"Retrieve a storage item","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /storage/{storage_id}","href":"/api-reference/storage/retrieve-a-storage-item"},{"title":"Delete a storage item","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /storage/{storage_id}","href":"/api-reference/storage/delete-a-storage-item"}]},{"group":"Triggers","pages":[{"title":"Create a trigger","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /triggers","href":"/api-reference/triggers/create-a-trigger"},{"title":"List triggers","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /triggers","href":"/api-reference/triggers/list-triggers"},{"title":"Retrieve a trigger","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /triggers/{trigger_id}","href":"/api-reference/triggers/retrieve-a-trigger"},{"title":"Update a trigger","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /triggers/{trigger_id}","href":"/api-reference/triggers/update-a-trigger"},{"title":"Delete a trigger","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /triggers/{trigger_id}","href":"/api-reference/triggers/delete-a-trigger"},{"title":"List trigger credentials","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /triggers/{trigger_id}/credentials","href":"/api-reference/triggers/list-trigger-credentials"}]},{"group":"Workflows","pages":[{"title":"Create a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /workflows","href":"/api-reference/workflows/create-a-workflow"},{"title":"List workflows","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /workflows","href":"/api-reference/workflows/list-workflows"},{"title":"Retrieve a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /workflows/{workflow_id}","href":"/api-reference/workflows/retrieve-a-workflow"},{"title":"Update a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /workflows/{workflow_id}","href":"/api-reference/workflows/update-a-workflow"},{"title":"Delete a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /workflows/{workflow_id}","href":"/api-reference/workflows/delete-a-workflow"},{"title":"Run a workflow","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /workflows/{workflow_id}/run","href":"/api-reference/workflows/run-a-workflow"},{"title":"List workflow runs","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /workflow-runs","href":"/api-reference/workflow-runs/list-workflow-runs"},{"title":"Retrieve a workflow run","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /workflow-runs/{workflow_run_id}","href":"/api-reference/workflow-runs/retrieve-a-workflow-run"},{"title":"Cancel a workflow run","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /workflow-runs/{workflow_run_id}/cancel","href":"/api-reference/workflow-runs/cancel-a-workflow-run"},{"title":"Rerun a workflow run","description":"Creates a new run of the same workflow carrying the original run's per-step overrides (credential or source, and input), including for steps that were skipped. Templated inputs are re-evaluated against the new run rather than frozen to the original's values. The rerun replays the definition the original run executed, so a workflow edited since is not picked up; start a fresh run for that. The new run executes asynchronously in a new session. Returns immediately with the run `queued`.","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /workflow-runs/{workflow_run_id}/rerun","href":"/api-reference/workflow-runs/rerun-a-workflow-run"}]},{"group":"Event Destinations","pages":[{"title":"Create an event destination","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /event-destinations","href":"/api-reference/event-destinations/create-an-event-destination"},{"title":"List event destinations","description":"Returns a paginated list of event destinations.","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /event-destinations","href":"/api-reference/event-destinations/list-event-destinations"},{"title":"Retrieve an event destination","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /event-destinations/{destination_id}","href":"/api-reference/event-destinations/retrieve-an-event-destination"},{"title":"Update an event destination","deprecated":null,"version":null,"openapi":"/api-reference/v2.json patch /event-destinations/{destination_id}","href":"/api-reference/event-destinations/update-an-event-destination"},{"title":"Delete an event destination","deprecated":null,"version":null,"openapi":"/api-reference/v2.json delete /event-destinations/{destination_id}","href":"/api-reference/event-destinations/delete-an-event-destination"},{"title":"Send a test event to a destination","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /event-destinations/{destination_id}/test","href":"/api-reference/event-destinations/send-a-test-event-to-a-destination"},{"title":"List event deliveries","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /event-destinations/{destination_id}/event-deliveries","href":"/api-reference/event-destinations/list-event-deliveries"}]},{"group":"Events","pages":[{"title":"List events","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /events","href":"/api-reference/events/list-events"},{"title":"Retrieve an event","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /events/{event_id}","href":"/api-reference/events/retrieve-an-event"},{"title":"List event types","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /event-types","href":"/api-reference/events/list-event-types"}]},{"group":"Components","pages":[{"title":"Create a session token","deprecated":null,"version":null,"openapi":"/api-reference/v2.json post /token","href":"/api-reference/components/create-a-session-token"}]},{"group":"Platform","pages":[{"title":"Retrieve the static IP range","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /static-ips","href":"/api-reference/platform/retrieve-the-static-ip-range"}]},{"group":"Test","pages":[{"title":"Test your API key","deprecated":null,"version":null,"openapi":"/api-reference/v2.json get /test","href":"/api-reference/test/test-your-api-key"}]}]},{"tab":"Changelog","href":"https://deck.co/changelog"}]},"basePath":"","title":"Create an event destination - Deck Docs","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}