{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Novu","description":"The open-source notification infrastructure for agents and products. Send, receive, and track notifications across channels.","colors":{"primary":"#0e121b","light":"#FFFFFF","dark":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/novu-c5de82d9/2Q_L4HxwUfLmJjB8/logo/light.svg?fit=max\u0026auto=format\u0026n=2Q_L4HxwUfLmJjB8\u0026q=85\u0026s=23e7050191303b6a0ac4a671dfed8df4","dark":"https://mintcdn.com/novu-c5de82d9/2Q_L4HxwUfLmJjB8/logo/dark.svg?fit=max\u0026auto=format\u0026n=2Q_L4HxwUfLmJjB8\u0026q=85\u0026s=bd7c54f6b7a7b5002ea7b525af3e169c","href":"https://docs.novu.co"},"favicon":"https://mintcdn.com/novu-c5de82d9/ZUl3xXp-4AASlrcI/favicon.svg?fit=max\u0026auto=format\u0026n=ZUl3xXp-4AASlrcI\u0026q=85\u0026s=b53c3afb6a8eaf11aff9db2c5d3f05a1","api":{"openapi":"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples","examples":{"prefill":true}},"background":{},"navbar":{"links":[{"href":"https://novu.co/contact-us","label":"Contact Us"}],"primary":{"type":"button","label":"Get Started","href":"https://dashboard.novu.co/auth/sign-up"}},"footer":{"socials":{"x":"https://x.com/novuhq","github":"https://github.com/novuhq/novu","linkedin":"https://www.linkedin.com/company/novuco"},"links":[{"header":"Comparison","items":[{"label":"Novu vs Courier","href":"https://novu.co/comparison/courier"},{"label":"Novu vs Knock","href":"https://novu.co/comparison/knock"},{"label":"Novu vs MagicBell","href":"https://novu.co/comparison/magicbell"},{"label":"Novu vs SuprSend","href":"https://novu.co/comparison/suprsend"},{"label":"Novu vs In-house","href":"https://novu.co/comparison/building-in-house"}]},{"header":"Resources","items":[{"label":"Contact Support","href":"mailto:support@novu.co"},{"label":"Changelog","href":"https://go.novu.co/changelog?utm_source=docs_footer"},{"label":"Roadmap","href":"https://roadmap.novu.co/roadmap"},{"label":"Contact Sales","href":"https://novu.co/contact-us"},{"label":"Read llms.txt","href":"/llms.txt"}]}]},"seo":{"metatags":{"og:type":"website","twitter:card":"summary_large_image"},"indexing":"all"},"icons":{"library":"lucide"},"integrations":{"gtm":{"tagId":"GTM-KXMC4XP2"},"plausible":{"domain":"docs.novu.co"}},"contextual":{"options":["copy","view","cursor","claude","chatgpt","mcp","add-mcp"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/novu-c5de82d9/vncv7ET97M5-dM6d/images/og/og-image-docs-v2.jpg?fit=max\u0026auto=format\u0026n=vncv7ET97M5-dM6d\u0026q=85\u0026s=26b59f5c597b5b1bea44cbc57cad5e3a","fonts":{"family":"Inter"}},"interaction":{"drilldown":true},"styling":{"latex":false},"navigation":{"global":{"anchors":[]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"novu-c5de82d9","hasAudioNarration":false,"actualSubdomain":"novu-c5de82d9","customDomains":["docs.novu.co"],"gitSource":{"type":"github","owner":"novuhq","repo":"novu","deployBranch":"next","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"collectionId":"313ea6a7-dc00-4182-b4a8-2d4cea7d9086","liveDeploymentHistoryId":"6ae2023c201cdb70a5227b24","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae2023c201cdb70a5227b24"},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"}},"buildId":"6ae2023c201cdb70a5227b24","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Notify","count":217},{"language":"default","tag":"API Reference","count":160},{"language":"default","tag":"Resources","count":107},{"language":"default","tag":"Integrate Channels Providers","count":93},{"language":"default","tag":"Guides","count":86},{"language":"default","tag":"Data","count":63},{"language":"default","tag":"Getting Started","count":62},{"language":"default","tag":"Framework","count":52},{"language":"default","tag":"Agent Connect","count":41},{"language":"default","tag":"Sms","count":38}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@novu.co","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width:1024px){#sidebar-content{width:16rem;min-width:16rem;max-width:16rem}}body:has(#home-content) nav[aria-label=Main] a[aria-current=location]{background:0 0!important;color:rgb(75 85 99)}html.dark body:has(#home-content) nav[aria-label=Main] a[aria-current=location]{color:rgb(156 163 175)}body:has(#home-content) nav[aria-label=Main] a[aria-current=location]:hover{background:rgb(3 7 18/.03)!important;color:rgb(17 24 39)}html.dark body:has(#home-content) nav[aria-label=Main] a[aria-current=location]:hover{background:rgb(255 255 255/.03)!important;color:rgb(229 231 235)}#home-content .hero-cards{margin-top:1.5rem}#home-content .card [data-component-part=card-image]{width:107.5%;max-width:none;margin:-3.75% -3.75% 0}"}],"page":{"pagePath":"api-reference/workflows/generate-a-step-preview","slug":"/api-reference/workflows/generate-a-step-preview","pageMetadata":{"title":"Generate a step preview","openapi":"POST /v2/workflows/{workflowId}/step/{stepId}/preview","description":"Generates a preview for a specific workflow step by its unique identifier **stepId**","href":"/api-reference/workflows/generate-a-step-preview"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Generates a preview for a specific workflow step by its unique identifier \", _jsx(_components.strong, {\n children: \"stepId\"\n })]\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":"Generate a step preview","openapi":"POST /v2/workflows/{workflowId}/step/{stepId}/preview","description":"Generates a preview for a specific workflow step by its unique identifier **stepId**","href":"/api-reference/workflows/generate-a-step-preview"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"WorkflowController_generatePreview","x-speakeasy-name-override":"generatePreview","x-speakeasy-group":"Workflows.Steps","summary":"Generate a step preview","description":"Generates a preview for a specific workflow step by its unique identifier **stepId**","parameters":["8882c3ed-33fa-48e6-adb7-11aea9f24eb1","774d3627-2fc5-4277-bf9f-723baa07179a","43ecf322-e24b-432c-9506-61e63efe0edf"],"requestBody":"2839ec62-d0de-4692-938a-4f249a079384","responses":{"201":"b809a35e-6ec9-4b3e-abfc-aad300336dec","400":"f366f51d-8894-4432-9c4c-16f5cda7576a","401":"2ae0e1a0-0d42-4d47-bda4-6446930d2964","403":"13fa3309-e50c-4494-adaf-8419857df85b","404":"ff523d08-62c4-4831-82bf-7e3d3dbfc269","405":"af9a0ab1-7a5d-420f-87d1-1b00df60cf6f","409":"83901c05-5de5-4e1d-901c-df6b58443301","413":"682e6372-8e2b-4cd5-884e-6752d0f130e3","414":"93552812-1269-4707-8353-74e060c81f58","415":"45fd24fc-bb17-45e4-be7c-0bdd55042163","422":"f6edd904-93f7-4669-a590-26a927b01fbe","429":"8cdd4331-f486-493a-a122-739f00199d95","500":"87653ea6-5b86-46d4-b5b2-20c5907c4ca5","503":"ddc2cf40-8312-472f-8a21-384d4c5c76e0"},"tags":["Workflows"],"security":["d26349ba-b580-426c-b84b-ba572b5843b8"],"x-codeSamples":[{"lang":"go","label":"Go","source":"package main\n\nimport(\n\t\"context\"\n\t\"github.com/novuhq/novu-go/v3\"\n\t\"github.com/novuhq/novu-go/v3/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n\n s := v3.New(\n v3.WithSecurity(\"YOUR_SECRET_KEY_HERE\"),\n )\n\n res, err := s.Workflows.Steps.GeneratePreview(ctx, \"\u003cid>\", \"\u003cid>\", components.GeneratePreviewRequestDto{\n PreviewPayload: \u0026components.PreviewPayloadDto{\n Subscriber: \u0026components.SubscriberResponseDtoOptional{\n Channels: []components.ChannelSettingsDto{\n components.ChannelSettingsDto{\n ProviderID: components.ChatOrPushProviderEnumNovuSlack,\n Credentials: components.ChannelCredentials{\n WebhookURL: v3.Pointer(\"https://example.com/webhook\"),\n Channel: v3.Pointer(\"general\"),\n DeviceTokens: []string{\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUID: v3.Pointer(\"12345-abcde\"),\n Title: v3.Pointer(\"Critical Alert\"),\n ImageURL: v3.Pointer(\"https://example.com/image.png\"),\n State: v3.Pointer(\"resolved\"),\n ExternalURL: v3.Pointer(\"https://example.com/details\"),\n },\n IntegrationID: \"\u003cid>\",\n },\n },\n },\n Actor: \u0026components.SubscriberResponseDtoOptional{\n Channels: []components.ChannelSettingsDto{\n components.ChannelSettingsDto{\n ProviderID: components.ChatOrPushProviderEnumTelegram,\n Credentials: components.ChannelCredentials{\n WebhookURL: v3.Pointer(\"https://example.com/webhook\"),\n Channel: v3.Pointer(\"general\"),\n DeviceTokens: []string{\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUID: v3.Pointer(\"12345-abcde\"),\n Title: v3.Pointer(\"Critical Alert\"),\n ImageURL: v3.Pointer(\"https://example.com/image.png\"),\n State: v3.Pointer(\"resolved\"),\n ExternalURL: v3.Pointer(\"https://example.com/details\"),\n },\n IntegrationID: \"\u003cid>\",\n },\n },\n },\n Context: map[string]components.PreviewPayloadDtoContext{\n \"key\": components.CreatePreviewPayloadDtoContextStr(\n \"org-acme\",\n ),\n },\n },\n }, nil)\n if err != nil {\n log.Fatal(err)\n }\n if res.GeneratePreviewResponseDto != nil {\n switch res.GeneratePreviewResponseDto.Result.Type {\n case components.GeneratePreviewResponseDtoResultUnionTypeMapOfAny:\n // res.GeneratePreviewResponseDto.Result.MapOfAny is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeResult2:\n // res.GeneratePreviewResponseDto.Result.Result2 is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeThree:\n // res.GeneratePreviewResponseDto.Result.Three is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeResult4:\n // res.GeneratePreviewResponseDto.Result.Result4 is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeResult5:\n // res.GeneratePreviewResponseDto.Result.Result5 is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeSix:\n // res.GeneratePreviewResponseDto.Result.Six is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeSeven:\n // res.GeneratePreviewResponseDto.Result.Seven is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeEight:\n // res.GeneratePreviewResponseDto.Result.Eight is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeNine:\n // res.GeneratePreviewResponseDto.Result.Nine is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeTen:\n // res.GeneratePreviewResponseDto.Result.Ten is populated\n }\n\n }\n}"},{"lang":"typescript","label":"TypeScript","source":"import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n secretKey: \"YOUR_SECRET_KEY_HERE\",\n});\n\nasync function run() {\n const result = await novu.workflows.steps.generatePreview({\n workflowId: \"\u003cid>\",\n stepId: \"\u003cid>\",\n generatePreviewRequestDto: {\n previewPayload: {\n subscriber: {\n channels: [\n {\n providerId: \"novu-slack\",\n credentials: {\n webhookUrl: \"https://example.com/webhook\",\n channel: \"general\",\n deviceTokens: [\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alertUid: \"12345-abcde\",\n title: \"Critical Alert\",\n imageUrl: \"https://example.com/image.png\",\n state: \"resolved\",\n externalUrl: \"https://example.com/details\",\n },\n integrationId: \"\u003cid>\",\n },\n ],\n },\n actor: {\n channels: [\n {\n providerId: \"telegram\",\n credentials: {\n webhookUrl: \"https://example.com/webhook\",\n channel: \"general\",\n deviceTokens: [\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alertUid: \"12345-abcde\",\n title: \"Critical Alert\",\n imageUrl: \"https://example.com/image.png\",\n state: \"resolved\",\n externalUrl: \"https://example.com/details\",\n },\n integrationId: \"\u003cid>\",\n },\n ],\n },\n context: {\n \"key\": \"org-acme\",\n },\n },\n },\n });\n\n console.log(result);\n}\n\nrun();"},{"lang":"csharp","label":"Csharp (SDK)","source":"using Novu;\nusing Novu.Models.Components;\nusing System.Collections.Generic;\n\nvar sdk = new NovuSDK(secretKey: \"YOUR_SECRET_KEY_HERE\");\n\nvar res = await sdk.Workflows.Steps.GeneratePreviewAsync(\n workflowId: \"\u003cid>\",\n stepId: \"\u003cid>\",\n generatePreviewRequestDto: new GeneratePreviewRequestDto() {\n PreviewPayload = new PreviewPayloadDto() {\n Subscriber = new SubscriberResponseDtoOptional() {\n Channels = new List\u003cChannelSettingsDto>() {\n new ChannelSettingsDto() {\n ProviderId = ChatOrPushProviderEnum.NovuSlack,\n Credentials = new ChannelCredentials() {\n WebhookUrl = \"https://example.com/webhook\",\n Channel = \"general\",\n DeviceTokens = new List\u003cstring>() {\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUid = \"12345-abcde\",\n Title = \"Critical Alert\",\n ImageUrl = \"https://example.com/image.png\",\n State = \"resolved\",\n ExternalUrl = \"https://example.com/details\",\n },\n IntegrationId = \"\u003cid>\",\n },\n },\n },\n Actor = new SubscriberResponseDtoOptional() {\n Channels = new List\u003cChannelSettingsDto>() {\n new ChannelSettingsDto() {\n ProviderId = ChatOrPushProviderEnum.Telegram,\n Credentials = new ChannelCredentials() {\n WebhookUrl = \"https://example.com/webhook\",\n Channel = \"general\",\n DeviceTokens = new List\u003cstring>() {\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUid = \"12345-abcde\",\n Title = \"Critical Alert\",\n ImageUrl = \"https://example.com/image.png\",\n State = \"resolved\",\n ExternalUrl = \"https://example.com/details\",\n },\n IntegrationId = \"\u003cid>\",\n },\n },\n },\n Context = new Dictionary\u003cstring, PreviewPayloadDtoContext>() {\n { \"key\", PreviewPayloadDtoContext.CreateStr(\n \"org-acme\"\n ) },\n },\n },\n }\n);\n\n// handle response"},{"lang":"php","label":"PHP","source":"declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse novu;\nuse novu\\Models\\Components;\n\n$sdk = novu\\Novu::builder()\n ->setSecurity(\n 'YOUR_SECRET_KEY_HERE'\n )\n ->build();\n\n$generatePreviewRequestDto = new Components\\GeneratePreviewRequestDto(\n previewPayload: new Components\\PreviewPayloadDto(\n subscriber: new Components\\SubscriberResponseDtoOptional(\n channels: [\n new Components\\ChannelSettingsDto(\n providerId: Components\\ChatOrPushProviderEnum::NovuSlack,\n credentials: new Components\\ChannelCredentials(\n webhookUrl: 'https://example.com/webhook',\n channel: 'general',\n deviceTokens: [\n 'token1',\n 'token2',\n 'token3',\n ],\n alertUid: '12345-abcde',\n title: 'Critical Alert',\n imageUrl: 'https://example.com/image.png',\n state: 'resolved',\n externalUrl: 'https://example.com/details',\n ),\n integrationId: '\u003cid>',\n ),\n ],\n ),\n actor: new Components\\SubscriberResponseDtoOptional(\n channels: [\n new Components\\ChannelSettingsDto(\n providerId: Components\\ChatOrPushProviderEnum::Telegram,\n credentials: new Components\\ChannelCredentials(\n webhookUrl: 'https://example.com/webhook',\n channel: 'general',\n deviceTokens: [\n 'token1',\n 'token2',\n 'token3',\n ],\n alertUid: '12345-abcde',\n title: 'Critical Alert',\n imageUrl: 'https://example.com/image.png',\n state: 'resolved',\n externalUrl: 'https://example.com/details',\n ),\n integrationId: '\u003cid>',\n ),\n ],\n ),\n context: [\n 'key' => 'org-acme',\n ],\n ),\n);\n\n$response = $sdk->workflows->steps->generatePreview(\n workflowId: '\u003cid>',\n stepId: '\u003cid>',\n generatePreviewRequestDto: $generatePreviewRequestDto\n\n);\n\nif ($response->generatePreviewResponseDto !== null) {\n // handle response\n}"},{"lang":"python","label":"Python","source":"import novu_py\nfrom novu_py import Novu\n\n\nwith Novu(\n secret_key=\"YOUR_SECRET_KEY_HERE\",\n) as novu:\n\n res = novu.workflows.steps.generate_preview(workflow_id=\"\u003cid>\", step_id=\"\u003cid>\", generate_preview_request_dto=novu_py.GeneratePreviewRequestDto(\n preview_payload=novu_py.PreviewPayloadDto(\n subscriber=novu_py.SubscriberResponseDtoOptional(\n channels=[\n novu_py.ChannelSettingsDto(\n provider_id=novu_py.ChatOrPushProviderEnum.NOVU_SLACK,\n credentials=novu_py.ChannelCredentials(\n webhook_url=\"https://example.com/webhook\",\n channel=\"general\",\n device_tokens=[\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alert_uid=\"12345-abcde\",\n title=\"Critical Alert\",\n image_url=\"https://example.com/image.png\",\n state=\"resolved\",\n external_url=\"https://example.com/details\",\n ),\n integration_id=\"\u003cid>\",\n ),\n ],\n ),\n actor=novu_py.SubscriberResponseDtoOptional(\n channels=[\n novu_py.ChannelSettingsDto(\n provider_id=novu_py.ChatOrPushProviderEnum.TELEGRAM,\n credentials=novu_py.ChannelCredentials(\n webhook_url=\"https://example.com/webhook\",\n channel=\"general\",\n device_tokens=[\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alert_uid=\"12345-abcde\",\n title=\"Critical Alert\",\n image_url=\"https://example.com/image.png\",\n state=\"resolved\",\n external_url=\"https://example.com/details\",\n ),\n integration_id=\"\u003cid>\",\n ),\n ],\n ),\n context={\n \"key\": \"org-acme\",\n },\n ),\n ))\n\n # Handle response\n print(res)"}],"method":"post","type":"path","servers":["29cc13d7-64c7-40f9-8a35-9c01537b78f4","7588375a-aa7e-462d-a5bf-d94b8564f985"],"path":"/v2/workflows/{workflowId}/step/{stepId}/preview","baseUrlOptions":["https://api.novu.co","https://eu.api.novu.co"],"title":"Generate a step preview","codeSamples":[{"label":"Go","lang":"go","source":"package main\n\nimport(\n\t\"context\"\n\t\"github.com/novuhq/novu-go/v3\"\n\t\"github.com/novuhq/novu-go/v3/models/components\"\n\t\"log\"\n)\n\nfunc main() {\n ctx := context.Background()\n\n s := v3.New(\n v3.WithSecurity(\"YOUR_SECRET_KEY_HERE\"),\n )\n\n res, err := s.Workflows.Steps.GeneratePreview(ctx, \"\u003cid>\", \"\u003cid>\", components.GeneratePreviewRequestDto{\n PreviewPayload: \u0026components.PreviewPayloadDto{\n Subscriber: \u0026components.SubscriberResponseDtoOptional{\n Channels: []components.ChannelSettingsDto{\n components.ChannelSettingsDto{\n ProviderID: components.ChatOrPushProviderEnumNovuSlack,\n Credentials: components.ChannelCredentials{\n WebhookURL: v3.Pointer(\"https://example.com/webhook\"),\n Channel: v3.Pointer(\"general\"),\n DeviceTokens: []string{\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUID: v3.Pointer(\"12345-abcde\"),\n Title: v3.Pointer(\"Critical Alert\"),\n ImageURL: v3.Pointer(\"https://example.com/image.png\"),\n State: v3.Pointer(\"resolved\"),\n ExternalURL: v3.Pointer(\"https://example.com/details\"),\n },\n IntegrationID: \"\u003cid>\",\n },\n },\n },\n Actor: \u0026components.SubscriberResponseDtoOptional{\n Channels: []components.ChannelSettingsDto{\n components.ChannelSettingsDto{\n ProviderID: components.ChatOrPushProviderEnumTelegram,\n Credentials: components.ChannelCredentials{\n WebhookURL: v3.Pointer(\"https://example.com/webhook\"),\n Channel: v3.Pointer(\"general\"),\n DeviceTokens: []string{\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUID: v3.Pointer(\"12345-abcde\"),\n Title: v3.Pointer(\"Critical Alert\"),\n ImageURL: v3.Pointer(\"https://example.com/image.png\"),\n State: v3.Pointer(\"resolved\"),\n ExternalURL: v3.Pointer(\"https://example.com/details\"),\n },\n IntegrationID: \"\u003cid>\",\n },\n },\n },\n Context: map[string]components.PreviewPayloadDtoContext{\n \"key\": components.CreatePreviewPayloadDtoContextStr(\n \"org-acme\",\n ),\n },\n },\n }, nil)\n if err != nil {\n log.Fatal(err)\n }\n if res.GeneratePreviewResponseDto != nil {\n switch res.GeneratePreviewResponseDto.Result.Type {\n case components.GeneratePreviewResponseDtoResultUnionTypeMapOfAny:\n // res.GeneratePreviewResponseDto.Result.MapOfAny is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeResult2:\n // res.GeneratePreviewResponseDto.Result.Result2 is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeThree:\n // res.GeneratePreviewResponseDto.Result.Three is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeResult4:\n // res.GeneratePreviewResponseDto.Result.Result4 is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeResult5:\n // res.GeneratePreviewResponseDto.Result.Result5 is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeSix:\n // res.GeneratePreviewResponseDto.Result.Six is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeSeven:\n // res.GeneratePreviewResponseDto.Result.Seven is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeEight:\n // res.GeneratePreviewResponseDto.Result.Eight is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeNine:\n // res.GeneratePreviewResponseDto.Result.Nine is populated\n case components.GeneratePreviewResponseDtoResultUnionTypeTen:\n // res.GeneratePreviewResponseDto.Result.Ten is populated\n }\n\n }\n}"},{"label":"TypeScript","lang":"typescript","source":"import { Novu } from \"@novu/api\";\n\nconst novu = new Novu({\n secretKey: \"YOUR_SECRET_KEY_HERE\",\n});\n\nasync function run() {\n const result = await novu.workflows.steps.generatePreview({\n workflowId: \"\u003cid>\",\n stepId: \"\u003cid>\",\n generatePreviewRequestDto: {\n previewPayload: {\n subscriber: {\n channels: [\n {\n providerId: \"novu-slack\",\n credentials: {\n webhookUrl: \"https://example.com/webhook\",\n channel: \"general\",\n deviceTokens: [\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alertUid: \"12345-abcde\",\n title: \"Critical Alert\",\n imageUrl: \"https://example.com/image.png\",\n state: \"resolved\",\n externalUrl: \"https://example.com/details\",\n },\n integrationId: \"\u003cid>\",\n },\n ],\n },\n actor: {\n channels: [\n {\n providerId: \"telegram\",\n credentials: {\n webhookUrl: \"https://example.com/webhook\",\n channel: \"general\",\n deviceTokens: [\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alertUid: \"12345-abcde\",\n title: \"Critical Alert\",\n imageUrl: \"https://example.com/image.png\",\n state: \"resolved\",\n externalUrl: \"https://example.com/details\",\n },\n integrationId: \"\u003cid>\",\n },\n ],\n },\n context: {\n \"key\": \"org-acme\",\n },\n },\n },\n });\n\n console.log(result);\n}\n\nrun();"},{"label":"Csharp (SDK)","lang":"csharp","source":"using Novu;\nusing Novu.Models.Components;\nusing System.Collections.Generic;\n\nvar sdk = new NovuSDK(secretKey: \"YOUR_SECRET_KEY_HERE\");\n\nvar res = await sdk.Workflows.Steps.GeneratePreviewAsync(\n workflowId: \"\u003cid>\",\n stepId: \"\u003cid>\",\n generatePreviewRequestDto: new GeneratePreviewRequestDto() {\n PreviewPayload = new PreviewPayloadDto() {\n Subscriber = new SubscriberResponseDtoOptional() {\n Channels = new List\u003cChannelSettingsDto>() {\n new ChannelSettingsDto() {\n ProviderId = ChatOrPushProviderEnum.NovuSlack,\n Credentials = new ChannelCredentials() {\n WebhookUrl = \"https://example.com/webhook\",\n Channel = \"general\",\n DeviceTokens = new List\u003cstring>() {\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUid = \"12345-abcde\",\n Title = \"Critical Alert\",\n ImageUrl = \"https://example.com/image.png\",\n State = \"resolved\",\n ExternalUrl = \"https://example.com/details\",\n },\n IntegrationId = \"\u003cid>\",\n },\n },\n },\n Actor = new SubscriberResponseDtoOptional() {\n Channels = new List\u003cChannelSettingsDto>() {\n new ChannelSettingsDto() {\n ProviderId = ChatOrPushProviderEnum.Telegram,\n Credentials = new ChannelCredentials() {\n WebhookUrl = \"https://example.com/webhook\",\n Channel = \"general\",\n DeviceTokens = new List\u003cstring>() {\n \"token1\",\n \"token2\",\n \"token3\",\n },\n AlertUid = \"12345-abcde\",\n Title = \"Critical Alert\",\n ImageUrl = \"https://example.com/image.png\",\n State = \"resolved\",\n ExternalUrl = \"https://example.com/details\",\n },\n IntegrationId = \"\u003cid>\",\n },\n },\n },\n Context = new Dictionary\u003cstring, PreviewPayloadDtoContext>() {\n { \"key\", PreviewPayloadDtoContext.CreateStr(\n \"org-acme\"\n ) },\n },\n },\n }\n);\n\n// handle response"},{"label":"PHP","lang":"php","source":"declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse novu;\nuse novu\\Models\\Components;\n\n$sdk = novu\\Novu::builder()\n ->setSecurity(\n 'YOUR_SECRET_KEY_HERE'\n )\n ->build();\n\n$generatePreviewRequestDto = new Components\\GeneratePreviewRequestDto(\n previewPayload: new Components\\PreviewPayloadDto(\n subscriber: new Components\\SubscriberResponseDtoOptional(\n channels: [\n new Components\\ChannelSettingsDto(\n providerId: Components\\ChatOrPushProviderEnum::NovuSlack,\n credentials: new Components\\ChannelCredentials(\n webhookUrl: 'https://example.com/webhook',\n channel: 'general',\n deviceTokens: [\n 'token1',\n 'token2',\n 'token3',\n ],\n alertUid: '12345-abcde',\n title: 'Critical Alert',\n imageUrl: 'https://example.com/image.png',\n state: 'resolved',\n externalUrl: 'https://example.com/details',\n ),\n integrationId: '\u003cid>',\n ),\n ],\n ),\n actor: new Components\\SubscriberResponseDtoOptional(\n channels: [\n new Components\\ChannelSettingsDto(\n providerId: Components\\ChatOrPushProviderEnum::Telegram,\n credentials: new Components\\ChannelCredentials(\n webhookUrl: 'https://example.com/webhook',\n channel: 'general',\n deviceTokens: [\n 'token1',\n 'token2',\n 'token3',\n ],\n alertUid: '12345-abcde',\n title: 'Critical Alert',\n imageUrl: 'https://example.com/image.png',\n state: 'resolved',\n externalUrl: 'https://example.com/details',\n ),\n integrationId: '\u003cid>',\n ),\n ],\n ),\n context: [\n 'key' => 'org-acme',\n ],\n ),\n);\n\n$response = $sdk->workflows->steps->generatePreview(\n workflowId: '\u003cid>',\n stepId: '\u003cid>',\n generatePreviewRequestDto: $generatePreviewRequestDto\n\n);\n\nif ($response->generatePreviewResponseDto !== null) {\n // handle response\n}"},{"label":"Python","lang":"python","source":"import novu_py\nfrom novu_py import Novu\n\n\nwith Novu(\n secret_key=\"YOUR_SECRET_KEY_HERE\",\n) as novu:\n\n res = novu.workflows.steps.generate_preview(workflow_id=\"\u003cid>\", step_id=\"\u003cid>\", generate_preview_request_dto=novu_py.GeneratePreviewRequestDto(\n preview_payload=novu_py.PreviewPayloadDto(\n subscriber=novu_py.SubscriberResponseDtoOptional(\n channels=[\n novu_py.ChannelSettingsDto(\n provider_id=novu_py.ChatOrPushProviderEnum.NOVU_SLACK,\n credentials=novu_py.ChannelCredentials(\n webhook_url=\"https://example.com/webhook\",\n channel=\"general\",\n device_tokens=[\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alert_uid=\"12345-abcde\",\n title=\"Critical Alert\",\n image_url=\"https://example.com/image.png\",\n state=\"resolved\",\n external_url=\"https://example.com/details\",\n ),\n integration_id=\"\u003cid>\",\n ),\n ],\n ),\n actor=novu_py.SubscriberResponseDtoOptional(\n channels=[\n novu_py.ChannelSettingsDto(\n provider_id=novu_py.ChatOrPushProviderEnum.TELEGRAM,\n credentials=novu_py.ChannelCredentials(\n webhook_url=\"https://example.com/webhook\",\n channel=\"general\",\n device_tokens=[\n \"token1\",\n \"token2\",\n \"token3\",\n ],\n alert_uid=\"12345-abcde\",\n title=\"Critical Alert\",\n image_url=\"https://example.com/image.png\",\n state=\"resolved\",\n external_url=\"https://example.com/details\",\n ),\n integration_id=\"\u003cid>\",\n ),\n ],\n ),\n context={\n \"key\": \"org-acme\",\n },\n ),\n ))\n\n # Handle response\n print(res)"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.controlValues":{},"body.previewPayload.subscriber._id":"\u003cstring>","body.previewPayload.subscriber.firstName.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.lastName.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.email.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.phone.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.avatar.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.locale.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.channels.items.0.credentials.webhookUrl":"https://example.com/webhook","body.previewPayload.subscriber.channels.items.0.credentials.channel":"general","body.previewPayload.subscriber.channels.items.0.credentials.deviceTokens.items.0":"token1","body.previewPayload.subscriber.channels.items.0.credentials.deviceTokens.items.1":"token2","body.previewPayload.subscriber.channels.items.0.credentials.deviceTokens.items.2":"token3","body.previewPayload.subscriber.channels.items.0.credentials.alertUid":"12345-abcde","body.previewPayload.subscriber.channels.items.0.credentials.title":"Critical Alert","body.previewPayload.subscriber.channels.items.0.credentials.imageUrl":"https://example.com/image.png","body.previewPayload.subscriber.channels.items.0.credentials.state":"resolved","body.previewPayload.subscriber.channels.items.0.credentials.externalUrl":"https://example.com/details","body.previewPayload.subscriber.channels.items.0._integrationId":"\u003cstring>","body.previewPayload.subscriber.channels.items.0.integrationIdentifier":"\u003cstring>","body.previewPayload.subscriber.topics.items.0":"\u003cstring>","body.previewPayload.subscriber.isOnline.oneOf.0":true,"body.previewPayload.subscriber.lastOnlineAt.oneOf.0":"\u003cstring>","body.previewPayload.subscriber.__v":123,"body.previewPayload.subscriber.data.oneOf.0":{},"body.previewPayload.subscriber.timezone.oneOf.0":"\u003cstring>","body.previewPayload.actor._id":"\u003cstring>","body.previewPayload.actor.firstName.oneOf.0":"\u003cstring>","body.previewPayload.actor.lastName.oneOf.0":"\u003cstring>","body.previewPayload.actor.email.oneOf.0":"\u003cstring>","body.previewPayload.actor.phone.oneOf.0":"\u003cstring>","body.previewPayload.actor.avatar.oneOf.0":"\u003cstring>","body.previewPayload.actor.locale.oneOf.0":"\u003cstring>","body.previewPayload.actor.channels.items.0.credentials.webhookUrl":"https://example.com/webhook","body.previewPayload.actor.channels.items.0.credentials.channel":"general","body.previewPayload.actor.channels.items.0.credentials.deviceTokens.items.0":"token1","body.previewPayload.actor.channels.items.0.credentials.deviceTokens.items.1":"token2","body.previewPayload.actor.channels.items.0.credentials.deviceTokens.items.2":"token3","body.previewPayload.actor.channels.items.0.credentials.alertUid":"12345-abcde","body.previewPayload.actor.channels.items.0.credentials.title":"Critical Alert","body.previewPayload.actor.channels.items.0.credentials.imageUrl":"https://example.com/image.png","body.previewPayload.actor.channels.items.0.credentials.state":"resolved","body.previewPayload.actor.channels.items.0.credentials.externalUrl":"https://example.com/details","body.previewPayload.actor.channels.items.0._integrationId":"\u003cstring>","body.previewPayload.actor.channels.items.0.integrationIdentifier":"\u003cstring>","body.previewPayload.actor.topics.items.0":"\u003cstring>","body.previewPayload.actor.isOnline.oneOf.0":true,"body.previewPayload.actor.lastOnlineAt.oneOf.0":"\u003cstring>","body.previewPayload.actor.__v":123,"body.previewPayload.actor.data.oneOf.0":{},"body.previewPayload.actor.timezone.oneOf.0":"\u003cstring>","body.previewPayload.payload":{},"body.previewPayload.steps":{},"body.previewPayload.env":{}}]},"dependencies":{"parameters":{"8882c3ed-33fa-48e6-adb7-11aea9f24eb1":{"name":"workflowId","required":true,"in":"path","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"774d3627-2fc5-4277-bf9f-723baa07179a":{"name":"stepId","required":true,"in":"path","schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"43ecf322-e24b-432c-9506-61e63efe0edf":{"name":"idempotency-key","in":"header","description":"A header for idempotency purposes","required":false,"schema":{"type":"string","isRequired":false,"description":"A header for idempotency purposes","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"description":"Preview generation details","content":{"application/json":{"schema":{"type":"object","properties":{"controlValues":{"type":"object","description":"Optional control values","additionalProperties":true,"uniqueKey":"controlValues","typeLabel":"object"},"previewPayload":{"type":"object","description":"Optional payload for preview generation","properties":{"subscriber":{"type":"object","description":"Partial subscriber information","properties":{"_id":{"type":"string","description":"The internal ID generated by Novu for your subscriber. This ID does not match the `subscriberId` used in your queries. Refer to `subscriberId` for that identifier.","uniqueKey":"previewPayload.subscriber._id","typeLabel":"string"},"firstName":{"oneOf":[{"type":"string","description":"The first name of the subscriber.","uniqueKey":"previewPayload.subscriber.firstName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The first name of the subscriber.","uniqueKey":"previewPayload.subscriber.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"type":"string","description":"The last name of the subscriber.","uniqueKey":"previewPayload.subscriber.lastName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last name of the subscriber.","uniqueKey":"previewPayload.subscriber.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.lastName","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"The email address of the subscriber.","uniqueKey":"previewPayload.subscriber.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The email address of the subscriber.","uniqueKey":"previewPayload.subscriber.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"The phone number of the subscriber.","uniqueKey":"previewPayload.subscriber.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the subscriber.","uniqueKey":"previewPayload.subscriber.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.phone","typeLabel":"string | null"},"avatar":{"oneOf":[{"type":"string","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayload.subscriber.avatar.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayload.subscriber.avatar.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.avatar","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayload.subscriber.locale.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayload.subscriber.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.locale","typeLabel":"string | null"},"channels":{"description":"An array of channel settings associated with the subscriber.","type":"array","items":{"type":"object","properties":{"providerId":{"type":"string","description":"The provider identifier for the credentials","enum":["slack","discord","msteams","webex-messaging","mattermost","ryver","zulip","grafana-on-call","getstream","rocket-chat","whatsapp-business","line","chat-webhook","novu-slack","telegram","sendblue","novu-web-chat","fcm","apns","expo","one-signal","pushpad","push-webhook","pusher-beams","appio"],"isRequired":true,"uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].providerId","typeLabel":"enum\u003cstring>"},"credentials":{"type":"object","description":"Credentials payload for the specified provider","properties":{"webhookUrl":{"type":"string","description":"Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider.","example":"https://example.com/webhook","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.webhookUrl","typeLabel":"string"},"channel":{"type":"string","description":"Channel specification for Mattermost chat notifications.","example":"general","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.channel","typeLabel":"string"},"deviceTokens":{"description":"Contains an array of the subscriber device tokens for a given provider. Used on Push integrations.","example":["token1","token2","token3"],"type":"array","items":{"type":"string","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.deviceTokens.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.deviceTokens","typeLabel":"string[]"},"alertUid":{"type":"string","description":"Alert UID for Grafana on-call webhook payload.","example":"12345-abcde","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.alertUid","typeLabel":"string"},"title":{"type":"string","description":"Title to be used with Grafana on-call webhook.","example":"Critical Alert","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.title","typeLabel":"string"},"imageUrl":{"type":"string","description":"Image URL property for Grafana on-call webhook.","example":"https://example.com/image.png","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.imageUrl","typeLabel":"string"},"state":{"type":"string","description":"State property for Grafana on-call webhook.","example":"resolved","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.state","typeLabel":"string"},"externalUrl":{"type":"string","description":"Link to upstream details property for Grafana on-call webhook.","example":"https://example.com/details","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials.externalUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].credentials","typeLabel":"object"},"_integrationId":{"type":"string","description":"The unique identifier of the integration associated with this channel.","isRequired":true,"uniqueKey":"previewPayload.subscriber.channels.items.[INDEX]._integrationId","typeLabel":"string"},"integrationIdentifier":{"type":"string","description":"The integration identifier","uniqueKey":"previewPayload.subscriber.channels.items.[INDEX].integrationIdentifier","typeLabel":"string"}},"required":["providerId","credentials","_integrationId"],"uniqueKey":"previewPayload.subscriber.channels.items.[INDEX]","typeLabel":"object"},"uniqueKey":"previewPayload.subscriber.channels","typeLabel":"object[]"},"topics":{"description":"An array of topics that the subscriber is subscribed to.","deprecated":true,"type":"array","items":{"type":"string","uniqueKey":"previewPayload.subscriber.topics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayload.subscriber.topics","typeLabel":"string[]"},"isOnline":{"oneOf":[{"type":"boolean","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayload.subscriber.isOnline.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayload.subscriber.isOnline.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.isOnline","typeLabel":"boolean | null"},"lastOnlineAt":{"oneOf":[{"type":"string","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayload.subscriber.lastOnlineAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayload.subscriber.lastOnlineAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.lastOnlineAt","typeLabel":"string | null"},"__v":{"type":"number","description":"The version of the subscriber document.","uniqueKey":"previewPayload.subscriber.__v","typeLabel":"number"},"data":{"oneOf":[{"type":"object","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayload.subscriber.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayload.subscriber.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.data","typeLabel":"object | null"},"timezone":{"oneOf":[{"type":"string","description":"Timezone of the subscriber","uniqueKey":"previewPayload.subscriber.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timezone of the subscriber","uniqueKey":"previewPayload.subscriber.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.subscriber.timezone","typeLabel":"string | null"}},"uniqueKey":"previewPayload.subscriber","typeLabel":"object"},"actor":{"type":"object","description":"Partial actor information","properties":{"_id":{"type":"string","description":"The internal ID generated by Novu for your subscriber. This ID does not match the `subscriberId` used in your queries. Refer to `subscriberId` for that identifier.","uniqueKey":"previewPayload.actor._id","typeLabel":"string"},"firstName":{"oneOf":[{"type":"string","description":"The first name of the subscriber.","uniqueKey":"previewPayload.actor.firstName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The first name of the subscriber.","uniqueKey":"previewPayload.actor.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"type":"string","description":"The last name of the subscriber.","uniqueKey":"previewPayload.actor.lastName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last name of the subscriber.","uniqueKey":"previewPayload.actor.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.lastName","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"The email address of the subscriber.","uniqueKey":"previewPayload.actor.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The email address of the subscriber.","uniqueKey":"previewPayload.actor.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"The phone number of the subscriber.","uniqueKey":"previewPayload.actor.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the subscriber.","uniqueKey":"previewPayload.actor.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.phone","typeLabel":"string | null"},"avatar":{"oneOf":[{"type":"string","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayload.actor.avatar.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayload.actor.avatar.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.avatar","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayload.actor.locale.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayload.actor.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.locale","typeLabel":"string | null"},"channels":{"description":"An array of channel settings associated with the subscriber.","type":"array","items":{"type":"object","properties":{"providerId":{"type":"string","description":"The provider identifier for the credentials","enum":["slack","discord","msteams","webex-messaging","mattermost","ryver","zulip","grafana-on-call","getstream","rocket-chat","whatsapp-business","line","chat-webhook","novu-slack","telegram","sendblue","novu-web-chat","fcm","apns","expo","one-signal","pushpad","push-webhook","pusher-beams","appio"],"isRequired":true,"uniqueKey":"previewPayload.actor.channels.items.[INDEX].providerId","typeLabel":"enum\u003cstring>"},"credentials":{"type":"object","description":"Credentials payload for the specified provider","properties":{"webhookUrl":{"type":"string","description":"Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider.","example":"https://example.com/webhook","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.webhookUrl","typeLabel":"string"},"channel":{"type":"string","description":"Channel specification for Mattermost chat notifications.","example":"general","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.channel","typeLabel":"string"},"deviceTokens":{"description":"Contains an array of the subscriber device tokens for a given provider. Used on Push integrations.","example":["token1","token2","token3"],"type":"array","items":{"type":"string","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.deviceTokens.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.deviceTokens","typeLabel":"string[]"},"alertUid":{"type":"string","description":"Alert UID for Grafana on-call webhook payload.","example":"12345-abcde","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.alertUid","typeLabel":"string"},"title":{"type":"string","description":"Title to be used with Grafana on-call webhook.","example":"Critical Alert","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.title","typeLabel":"string"},"imageUrl":{"type":"string","description":"Image URL property for Grafana on-call webhook.","example":"https://example.com/image.png","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.imageUrl","typeLabel":"string"},"state":{"type":"string","description":"State property for Grafana on-call webhook.","example":"resolved","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.state","typeLabel":"string"},"externalUrl":{"type":"string","description":"Link to upstream details property for Grafana on-call webhook.","example":"https://example.com/details","uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials.externalUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"previewPayload.actor.channels.items.[INDEX].credentials","typeLabel":"object"},"_integrationId":{"type":"string","description":"The unique identifier of the integration associated with this channel.","isRequired":true,"uniqueKey":"previewPayload.actor.channels.items.[INDEX]._integrationId","typeLabel":"string"},"integrationIdentifier":{"type":"string","description":"The integration identifier","uniqueKey":"previewPayload.actor.channels.items.[INDEX].integrationIdentifier","typeLabel":"string"}},"required":["providerId","credentials","_integrationId"],"uniqueKey":"previewPayload.actor.channels.items.[INDEX]","typeLabel":"object"},"uniqueKey":"previewPayload.actor.channels","typeLabel":"object[]"},"topics":{"description":"An array of topics that the subscriber is subscribed to.","deprecated":true,"type":"array","items":{"type":"string","uniqueKey":"previewPayload.actor.topics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayload.actor.topics","typeLabel":"string[]"},"isOnline":{"oneOf":[{"type":"boolean","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayload.actor.isOnline.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayload.actor.isOnline.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.isOnline","typeLabel":"boolean | null"},"lastOnlineAt":{"oneOf":[{"type":"string","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayload.actor.lastOnlineAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayload.actor.lastOnlineAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.lastOnlineAt","typeLabel":"string | null"},"__v":{"type":"number","description":"The version of the subscriber document.","uniqueKey":"previewPayload.actor.__v","typeLabel":"number"},"data":{"oneOf":[{"type":"object","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayload.actor.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayload.actor.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.data","typeLabel":"object | null"},"timezone":{"oneOf":[{"type":"string","description":"Timezone of the subscriber","uniqueKey":"previewPayload.actor.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timezone of the subscriber","uniqueKey":"previewPayload.actor.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayload.actor.timezone","typeLabel":"string | null"}},"uniqueKey":"previewPayload.actor","typeLabel":"object"},"payload":{"type":"object","description":"Payload data","additionalProperties":true,"uniqueKey":"previewPayload.payload","typeLabel":"object"},"steps":{"type":"object","description":"Steps data","additionalProperties":true,"uniqueKey":"previewPayload.steps","typeLabel":"object"},"context":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","description":"Simple context id","example":"org-acme","uniqueKey":"previewPayload.context.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"Rich context object with id and optional data","required":["id"],"properties":{"id":{"type":"string","example":"org-acme","isRequired":true,"uniqueKey":"previewPayload.context.additionalProperties.oneOf.1.id","typeLabel":"string"},"data":{"type":"object","description":"Optional additional context data","additionalProperties":true,"example":{"name":"Acme Corp","region":"us-east-1"},"uniqueKey":"previewPayload.context.additionalProperties.oneOf.1.data","typeLabel":"object"}},"uniqueKey":"previewPayload.context.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"previewPayload.context.additionalProperties","typeLabel":"string | object"},"uniqueKey":"previewPayload.context","typeLabel":"object"},"env":{"type":"object","description":"Environment variables data","additionalProperties":true,"uniqueKey":"previewPayload.env","typeLabel":"object"}},"uniqueKey":"previewPayload","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"controlValues":{},"previewPayload":{"subscriber":{"_id":"\u003cstring>","firstName":"\u003cstring>","lastName":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","avatar":"\u003cstring>","locale":"\u003cstring>","channels":[{"credentials":{"webhookUrl":"https://example.com/webhook","channel":"general","deviceTokens":["token1","token2","token3"],"alertUid":"12345-abcde","title":"Critical Alert","imageUrl":"https://example.com/image.png","state":"resolved","externalUrl":"https://example.com/details"},"_integrationId":"\u003cstring>","integrationIdentifier":"\u003cstring>"}],"topics":["\u003cstring>"],"isOnline":true,"lastOnlineAt":"\u003cstring>","__v":123,"data":{},"timezone":"\u003cstring>"},"actor":{"_id":"\u003cstring>","firstName":"\u003cstring>","lastName":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","avatar":"\u003cstring>","locale":"\u003cstring>","channels":[{"credentials":{"webhookUrl":"https://example.com/webhook","channel":"general","deviceTokens":["token1","token2","token3"],"alertUid":"12345-abcde","title":"Critical Alert","imageUrl":"https://example.com/image.png","state":"resolved","externalUrl":"https://example.com/details"},"_integrationId":"\u003cstring>","integrationIdentifier":"\u003cstring>"}],"topics":["\u003cstring>"],"isOnline":true,"lastOnlineAt":"\u003cstring>","__v":123,"data":{},"timezone":"\u003cstring>"},"payload":{},"steps":{},"context":{},"env":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"b809a35e-6ec9-4b3e-abfc-aad300336dec":{"description":"Created","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"previewPayloadExample":{"type":"object","description":"Preview payload example","properties":{"subscriber":{"type":"object","description":"Partial subscriber information","properties":{"_id":{"type":"string","description":"The internal ID generated by Novu for your subscriber. This ID does not match the `subscriberId` used in your queries. Refer to `subscriberId` for that identifier.","uniqueKey":"previewPayloadExample.subscriber._id","typeLabel":"string"},"firstName":{"oneOf":[{"type":"string","description":"The first name of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.firstName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The first name of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"type":"string","description":"The last name of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.lastName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last name of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.lastName","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"The email address of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The email address of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"The phone number of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the subscriber.","uniqueKey":"previewPayloadExample.subscriber.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.phone","typeLabel":"string | null"},"avatar":{"oneOf":[{"type":"string","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayloadExample.subscriber.avatar.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayloadExample.subscriber.avatar.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.avatar","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayloadExample.subscriber.locale.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayloadExample.subscriber.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.locale","typeLabel":"string | null"},"channels":{"description":"An array of channel settings associated with the subscriber.","type":"array","items":{"type":"object","properties":{"providerId":{"type":"string","description":"The provider identifier for the credentials","enum":["slack","discord","msteams","webex-messaging","mattermost","ryver","zulip","grafana-on-call","getstream","rocket-chat","whatsapp-business","line","chat-webhook","novu-slack","telegram","sendblue","novu-web-chat","fcm","apns","expo","one-signal","pushpad","push-webhook","pusher-beams","appio"],"isRequired":true,"uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].providerId","typeLabel":"enum\u003cstring>"},"credentials":{"type":"object","description":"Credentials payload for the specified provider","properties":{"webhookUrl":{"type":"string","description":"Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider.","example":"https://example.com/webhook","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.webhookUrl","typeLabel":"string"},"channel":{"type":"string","description":"Channel specification for Mattermost chat notifications.","example":"general","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.channel","typeLabel":"string"},"deviceTokens":{"description":"Contains an array of the subscriber device tokens for a given provider. Used on Push integrations.","example":["token1","token2","token3"],"type":"array","items":{"type":"string","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.deviceTokens.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.deviceTokens","typeLabel":"string[]"},"alertUid":{"type":"string","description":"Alert UID for Grafana on-call webhook payload.","example":"12345-abcde","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.alertUid","typeLabel":"string"},"title":{"type":"string","description":"Title to be used with Grafana on-call webhook.","example":"Critical Alert","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.title","typeLabel":"string"},"imageUrl":{"type":"string","description":"Image URL property for Grafana on-call webhook.","example":"https://example.com/image.png","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.imageUrl","typeLabel":"string"},"state":{"type":"string","description":"State property for Grafana on-call webhook.","example":"resolved","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.state","typeLabel":"string"},"externalUrl":{"type":"string","description":"Link to upstream details property for Grafana on-call webhook.","example":"https://example.com/details","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials.externalUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].credentials","typeLabel":"object"},"_integrationId":{"type":"string","description":"The unique identifier of the integration associated with this channel.","isRequired":true,"uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX]._integrationId","typeLabel":"string"},"integrationIdentifier":{"type":"string","description":"The integration identifier","uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX].integrationIdentifier","typeLabel":"string"}},"required":["providerId","credentials","_integrationId"],"uniqueKey":"previewPayloadExample.subscriber.channels.items.[INDEX]","typeLabel":"object"},"uniqueKey":"previewPayloadExample.subscriber.channels","typeLabel":"object[]"},"topics":{"description":"An array of topics that the subscriber is subscribed to.","deprecated":true,"type":"array","items":{"type":"string","uniqueKey":"previewPayloadExample.subscriber.topics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayloadExample.subscriber.topics","typeLabel":"string[]"},"isOnline":{"oneOf":[{"type":"boolean","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayloadExample.subscriber.isOnline.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayloadExample.subscriber.isOnline.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.isOnline","typeLabel":"boolean | null"},"lastOnlineAt":{"oneOf":[{"type":"string","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayloadExample.subscriber.lastOnlineAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayloadExample.subscriber.lastOnlineAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.lastOnlineAt","typeLabel":"string | null"},"__v":{"type":"number","description":"The version of the subscriber document.","uniqueKey":"previewPayloadExample.subscriber.__v","typeLabel":"number"},"data":{"oneOf":[{"type":"object","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayloadExample.subscriber.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayloadExample.subscriber.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.data","typeLabel":"object | null"},"timezone":{"oneOf":[{"type":"string","description":"Timezone of the subscriber","uniqueKey":"previewPayloadExample.subscriber.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timezone of the subscriber","uniqueKey":"previewPayloadExample.subscriber.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.subscriber.timezone","typeLabel":"string | null"}},"uniqueKey":"previewPayloadExample.subscriber","typeLabel":"object"},"actor":{"type":"object","description":"Partial actor information","properties":{"_id":{"type":"string","description":"The internal ID generated by Novu for your subscriber. This ID does not match the `subscriberId` used in your queries. Refer to `subscriberId` for that identifier.","uniqueKey":"previewPayloadExample.actor._id","typeLabel":"string"},"firstName":{"oneOf":[{"type":"string","description":"The first name of the subscriber.","uniqueKey":"previewPayloadExample.actor.firstName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The first name of the subscriber.","uniqueKey":"previewPayloadExample.actor.firstName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.firstName","typeLabel":"string | null"},"lastName":{"oneOf":[{"type":"string","description":"The last name of the subscriber.","uniqueKey":"previewPayloadExample.actor.lastName.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last name of the subscriber.","uniqueKey":"previewPayloadExample.actor.lastName.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.lastName","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","description":"The email address of the subscriber.","uniqueKey":"previewPayloadExample.actor.email.oneOf.0","typeLabel":"string"},{"type":"null","description":"The email address of the subscriber.","uniqueKey":"previewPayloadExample.actor.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.email","typeLabel":"string | null"},"phone":{"oneOf":[{"type":"string","description":"The phone number of the subscriber.","uniqueKey":"previewPayloadExample.actor.phone.oneOf.0","typeLabel":"string"},{"type":"null","description":"The phone number of the subscriber.","uniqueKey":"previewPayloadExample.actor.phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.phone","typeLabel":"string | null"},"avatar":{"oneOf":[{"type":"string","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayloadExample.actor.avatar.oneOf.0","typeLabel":"string"},{"type":"null","description":"The URL of the subscriber's avatar image.","uniqueKey":"previewPayloadExample.actor.avatar.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.avatar","typeLabel":"string | null"},"locale":{"oneOf":[{"type":"string","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayloadExample.actor.locale.oneOf.0","typeLabel":"string"},{"type":"null","description":"The locale setting of the subscriber, indicating their preferred language or region.","uniqueKey":"previewPayloadExample.actor.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.locale","typeLabel":"string | null"},"channels":{"description":"An array of channel settings associated with the subscriber.","type":"array","items":{"type":"object","properties":{"providerId":{"type":"string","description":"The provider identifier for the credentials","enum":["slack","discord","msteams","webex-messaging","mattermost","ryver","zulip","grafana-on-call","getstream","rocket-chat","whatsapp-business","line","chat-webhook","novu-slack","telegram","sendblue","novu-web-chat","fcm","apns","expo","one-signal","pushpad","push-webhook","pusher-beams","appio"],"isRequired":true,"uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].providerId","typeLabel":"enum\u003cstring>"},"credentials":{"type":"object","description":"Credentials payload for the specified provider","properties":{"webhookUrl":{"type":"string","description":"Webhook URL used by chat app integrations. The webhook should be obtained from the chat app provider.","example":"https://example.com/webhook","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.webhookUrl","typeLabel":"string"},"channel":{"type":"string","description":"Channel specification for Mattermost chat notifications.","example":"general","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.channel","typeLabel":"string"},"deviceTokens":{"description":"Contains an array of the subscriber device tokens for a given provider. Used on Push integrations.","example":["token1","token2","token3"],"type":"array","items":{"type":"string","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.deviceTokens.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.deviceTokens","typeLabel":"string[]"},"alertUid":{"type":"string","description":"Alert UID for Grafana on-call webhook payload.","example":"12345-abcde","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.alertUid","typeLabel":"string"},"title":{"type":"string","description":"Title to be used with Grafana on-call webhook.","example":"Critical Alert","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.title","typeLabel":"string"},"imageUrl":{"type":"string","description":"Image URL property for Grafana on-call webhook.","example":"https://example.com/image.png","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.imageUrl","typeLabel":"string"},"state":{"type":"string","description":"State property for Grafana on-call webhook.","example":"resolved","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.state","typeLabel":"string"},"externalUrl":{"type":"string","description":"Link to upstream details property for Grafana on-call webhook.","example":"https://example.com/details","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials.externalUrl","typeLabel":"string"}},"isRequired":true,"uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].credentials","typeLabel":"object"},"_integrationId":{"type":"string","description":"The unique identifier of the integration associated with this channel.","isRequired":true,"uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX]._integrationId","typeLabel":"string"},"integrationIdentifier":{"type":"string","description":"The integration identifier","uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX].integrationIdentifier","typeLabel":"string"}},"required":["providerId","credentials","_integrationId"],"uniqueKey":"previewPayloadExample.actor.channels.items.[INDEX]","typeLabel":"object"},"uniqueKey":"previewPayloadExample.actor.channels","typeLabel":"object[]"},"topics":{"description":"An array of topics that the subscriber is subscribed to.","deprecated":true,"type":"array","items":{"type":"string","uniqueKey":"previewPayloadExample.actor.topics.items.[INDEX]","typeLabel":"string"},"uniqueKey":"previewPayloadExample.actor.topics","typeLabel":"string[]"},"isOnline":{"oneOf":[{"type":"boolean","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayloadExample.actor.isOnline.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Indicates whether the subscriber is currently online.","uniqueKey":"previewPayloadExample.actor.isOnline.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.isOnline","typeLabel":"boolean | null"},"lastOnlineAt":{"oneOf":[{"type":"string","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayloadExample.actor.lastOnlineAt.oneOf.0","typeLabel":"string"},{"type":"null","description":"The timestamp indicating when the subscriber was last online, in ISO 8601 format.","uniqueKey":"previewPayloadExample.actor.lastOnlineAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.lastOnlineAt","typeLabel":"string | null"},"__v":{"type":"number","description":"The version of the subscriber document.","uniqueKey":"previewPayloadExample.actor.__v","typeLabel":"number"},"data":{"oneOf":[{"type":"object","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayloadExample.actor.data.oneOf.0","typeLabel":"object"},{"type":"null","description":"Additional custom data for the subscriber","additionalProperties":true,"uniqueKey":"previewPayloadExample.actor.data.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.data","typeLabel":"object | null"},"timezone":{"oneOf":[{"type":"string","description":"Timezone of the subscriber","uniqueKey":"previewPayloadExample.actor.timezone.oneOf.0","typeLabel":"string"},{"type":"null","description":"Timezone of the subscriber","uniqueKey":"previewPayloadExample.actor.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"previewPayloadExample.actor.timezone","typeLabel":"string | null"}},"uniqueKey":"previewPayloadExample.actor","typeLabel":"object"},"payload":{"type":"object","description":"Payload data","additionalProperties":true,"uniqueKey":"previewPayloadExample.payload","typeLabel":"object"},"steps":{"type":"object","description":"Steps data","additionalProperties":true,"uniqueKey":"previewPayloadExample.steps","typeLabel":"object"},"context":{"type":"object","additionalProperties":{"oneOf":[{"type":"string","description":"Simple context id","example":"org-acme","uniqueKey":"previewPayloadExample.context.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","description":"Rich context object with id and optional data","required":["id"],"properties":{"id":{"type":"string","example":"org-acme","isRequired":true,"uniqueKey":"previewPayloadExample.context.additionalProperties.oneOf.1.id","typeLabel":"string"},"data":{"type":"object","description":"Optional additional context data","additionalProperties":true,"example":{"name":"Acme Corp","region":"us-east-1"},"uniqueKey":"previewPayloadExample.context.additionalProperties.oneOf.1.data","typeLabel":"object"}},"uniqueKey":"previewPayloadExample.context.additionalProperties.oneOf.1","typeLabel":"object"}],"uniqueKey":"previewPayloadExample.context.additionalProperties","typeLabel":"string | object"},"uniqueKey":"previewPayloadExample.context","typeLabel":"object"},"env":{"type":"object","description":"Environment variables data","additionalProperties":true,"uniqueKey":"previewPayloadExample.env","typeLabel":"object"}},"isRequired":true,"uniqueKey":"previewPayloadExample","typeLabel":"object"},"result":{"oneOf":[{"type":"object","description":"Preview result","additionalProperties":true,"isRequired":true,"uniqueKey":"result.oneOf.0","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["email"],"type":"string","uniqueKey":"result.oneOf.1.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"subject":{"type":"string","description":"Subject of the email","isRequired":true,"uniqueKey":"result.oneOf.1.preview.subject","typeLabel":"string"},"body":{"type":"string","description":"Body of the email","isRequired":true,"uniqueKey":"result.oneOf.1.preview.body","typeLabel":"string"}},"required":["subject","body"],"uniqueKey":"result.oneOf.1.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.1.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.1.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.1.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.1.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.1","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["email"],"type":"string","uniqueKey":"result.oneOf.2.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"subject":{"type":"string","description":"Subject of the email","isRequired":true,"uniqueKey":"result.oneOf.2.preview.subject","typeLabel":"string"},"body":{"type":"string","description":"Body of the email","isRequired":true,"uniqueKey":"result.oneOf.2.preview.body","typeLabel":"string"}},"required":["subject","body"],"uniqueKey":"result.oneOf.2.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.2.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.2.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.2.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.2.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.2","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["in_app"],"type":"string","uniqueKey":"result.oneOf.3.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"body":{"type":"string","description":"Body of the in-app notification","isRequired":true,"uniqueKey":"result.oneOf.3.preview.body","typeLabel":"string"},"subject":{"type":"string","description":"Subject of the in-app notification","uniqueKey":"result.oneOf.3.preview.subject","typeLabel":"string"},"avatar":{"type":"string","description":"Avatar for the in-app notification","uniqueKey":"result.oneOf.3.preview.avatar","typeLabel":"string"},"primaryAction":{"type":"object","description":"Primary action details","properties":{"label":{"type":"string","description":"Label for the action button.","uniqueKey":"result.oneOf.3.preview.primaryAction.label","typeLabel":"string"},"redirect":{"type":"object","description":"Redirect configuration for the action.","required":["url"],"properties":{"url":{"type":"string","description":"URL to redirect to","isRequired":true,"uniqueKey":"result.oneOf.3.preview.primaryAction.redirect.url","typeLabel":"string"},"target":{"type":"string","description":"Target attribute for the redirect link","enum":["_self","_blank","_parent","_top","_unfencedTop"],"uniqueKey":"result.oneOf.3.preview.primaryAction.redirect.target","typeLabel":"enum\u003cstring>"}},"uniqueKey":"result.oneOf.3.preview.primaryAction.redirect","typeLabel":"object"}},"uniqueKey":"result.oneOf.3.preview.primaryAction","typeLabel":"object"},"secondaryAction":{"type":"object","description":"Secondary action details","properties":{"label":{"type":"string","description":"Label for the action button.","uniqueKey":"result.oneOf.3.preview.secondaryAction.label","typeLabel":"string"},"redirect":{"type":"object","description":"Redirect configuration for the action.","required":["url"],"properties":{"url":{"type":"string","description":"URL to redirect to","isRequired":true,"uniqueKey":"result.oneOf.3.preview.secondaryAction.redirect.url","typeLabel":"string"},"target":{"type":"string","description":"Target attribute for the redirect link","enum":["_self","_blank","_parent","_top","_unfencedTop"],"uniqueKey":"result.oneOf.3.preview.secondaryAction.redirect.target","typeLabel":"enum\u003cstring>"}},"uniqueKey":"result.oneOf.3.preview.secondaryAction.redirect","typeLabel":"object"}},"uniqueKey":"result.oneOf.3.preview.secondaryAction","typeLabel":"object"},"data":{"type":"object","description":"Additional data","additionalProperties":true,"uniqueKey":"result.oneOf.3.preview.data","typeLabel":"object"},"redirect":{"type":"object","description":"Redirect details","required":["url"],"properties":{"url":{"type":"string","description":"URL to redirect to","isRequired":true,"uniqueKey":"result.oneOf.3.preview.redirect.url","typeLabel":"string"},"target":{"type":"string","description":"Target attribute for the redirect link","enum":["_self","_blank","_parent","_top","_unfencedTop"],"uniqueKey":"result.oneOf.3.preview.redirect.target","typeLabel":"enum\u003cstring>"}},"uniqueKey":"result.oneOf.3.preview.redirect","typeLabel":"object"}},"required":["body"],"uniqueKey":"result.oneOf.3.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.3.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.3.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.3.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.3.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.3","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["sms"],"type":"string","uniqueKey":"result.oneOf.4.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"body":{"type":"string","description":"Body of the SMS message","isRequired":true,"uniqueKey":"result.oneOf.4.preview.body","typeLabel":"string"}},"required":["body"],"uniqueKey":"result.oneOf.4.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.4.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.4.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.4.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.4.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.4","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["push"],"type":"string","uniqueKey":"result.oneOf.5.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"subject":{"type":"string","description":"Subject of the push notification","isRequired":true,"uniqueKey":"result.oneOf.5.preview.subject","typeLabel":"string"},"body":{"type":"string","description":"Body of the push notification","isRequired":true,"uniqueKey":"result.oneOf.5.preview.body","typeLabel":"string"}},"required":["subject","body"],"uniqueKey":"result.oneOf.5.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.5.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.5.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.5.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.5.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.5","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["chat"],"type":"string","uniqueKey":"result.oneOf.6.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"body":{"type":"string","description":"Body of the chat message. Mutually exclusive with `card`.","uniqueKey":"result.oneOf.6.preview.body","typeLabel":"string"},"card":{"type":"object","description":"Rich Chat: compiled provider-agnostic card DSL. Mutually exclusive with `body`.","additionalProperties":true,"uniqueKey":"result.oneOf.6.preview.card","typeLabel":"object"}},"uniqueKey":"result.oneOf.6.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.6.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.6.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.6.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.6.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.6","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["tool"],"type":"string","uniqueKey":"result.oneOf.7.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","additionalProperties":true,"uniqueKey":"result.oneOf.7.preview","typeLabel":"object"},"error":{"type":"object","properties":{"title":{"type":"string","description":"Short error title","isRequired":true,"uniqueKey":"result.oneOf.7.error.title","typeLabel":"string"},"message":{"type":"string","description":"Detailed error message","isRequired":true,"uniqueKey":"result.oneOf.7.error.message","typeLabel":"string"},"hint":{"type":"string","description":"Actionable hint for the user","isRequired":true,"uniqueKey":"result.oneOf.7.error.hint","typeLabel":"string"}},"required":["title","message","hint"],"uniqueKey":"result.oneOf.7.error","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.7","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["delay"],"type":"string","uniqueKey":"result.oneOf.8.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of time units","isRequired":true,"uniqueKey":"result.oneOf.8.preview.amount","typeLabel":"number"},"unit":{"type":"string","description":"Time unit","enum":["seconds","minutes","hours","days","weeks","months"],"isRequired":true,"uniqueKey":"result.oneOf.8.preview.unit","typeLabel":"enum\u003cstring>"},"digestKey":{"type":"string","description":"Optional digest key","uniqueKey":"result.oneOf.8.preview.digestKey","typeLabel":"string"},"lookBackWindow":{"type":"object","description":"Look back window configuration","uniqueKey":"result.oneOf.8.preview.lookBackWindow","typeLabel":"object"}},"required":["amount","unit"],"uniqueKey":"result.oneOf.8.preview","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.8","typeLabel":"object"},{"type":"object","description":"Preview result","properties":{"type":{"enum":["digest"],"type":"string","uniqueKey":"result.oneOf.9.type","typeLabel":"enum\u003cstring>"},"preview":{"type":"object","properties":{"amount":{"type":"number","description":"Amount of time units","isRequired":true,"uniqueKey":"result.oneOf.9.preview.amount","typeLabel":"number"},"unit":{"type":"string","description":"Time unit","enum":["seconds","minutes","hours","days","weeks","months"],"isRequired":true,"uniqueKey":"result.oneOf.9.preview.unit","typeLabel":"enum\u003cstring>"},"digestKey":{"type":"string","description":"Optional digest key","uniqueKey":"result.oneOf.9.preview.digestKey","typeLabel":"string"},"lookBackWindow":{"type":"object","description":"Look back window configuration","uniqueKey":"result.oneOf.9.preview.lookBackWindow","typeLabel":"object"}},"required":["amount","unit"],"uniqueKey":"result.oneOf.9.preview","typeLabel":"object"}},"isRequired":true,"uniqueKey":"result.oneOf.9","typeLabel":"object"}],"isRequired":true,"uniqueKey":"result","typeLabel":"object"},"schema":{"oneOf":[{"type":"object","description":"The payload schema that was used to generate the preview payload example","additionalProperties":true,"uniqueKey":"schema.oneOf.0","typeLabel":"object"},{"type":"null","description":"The payload schema that was used to generate the preview payload example","additionalProperties":true,"uniqueKey":"schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"schema","typeLabel":"object | null"},"novuSignature":{"type":"string","description":"Sample novu-signature header value for HTTP request steps","uniqueKey":"novuSignature","typeLabel":"string"}},"required":["previewPayloadExample","result"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"previewPayloadExample":{"subscriber":{"_id":"\u003cstring>","firstName":"\u003cstring>","lastName":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","avatar":"\u003cstring>","locale":"\u003cstring>","channels":[{"providerId":"slack","credentials":{"webhookUrl":"https://example.com/webhook","channel":"general","deviceTokens":["token1","token2","token3"],"alertUid":"12345-abcde","title":"Critical Alert","imageUrl":"https://example.com/image.png","state":"resolved","externalUrl":"https://example.com/details"},"_integrationId":"\u003cstring>","integrationIdentifier":"\u003cstring>"}],"topics":["\u003cstring>"],"isOnline":true,"lastOnlineAt":"\u003cstring>","__v":123,"data":{},"timezone":"\u003cstring>"},"actor":{"_id":"\u003cstring>","firstName":"\u003cstring>","lastName":"\u003cstring>","email":"\u003cstring>","phone":"\u003cstring>","avatar":"\u003cstring>","locale":"\u003cstring>","channels":[{"providerId":"slack","credentials":{"webhookUrl":"https://example.com/webhook","channel":"general","deviceTokens":["token1","token2","token3"],"alertUid":"12345-abcde","title":"Critical Alert","imageUrl":"https://example.com/image.png","state":"resolved","externalUrl":"https://example.com/details"},"_integrationId":"\u003cstring>","integrationIdentifier":"\u003cstring>"}],"topics":["\u003cstring>"],"isOnline":true,"lastOnlineAt":"\u003cstring>","__v":123,"data":{},"timezone":"\u003cstring>"},"payload":{},"steps":{},"context":{},"env":{}},"result":{},"schema":{},"novuSignature":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f366f51d-8894-4432-9c4c-16f5cda7576a":{"description":"Bad Request","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"2ae0e1a0-0d42-4d47-bda4-6446930d2964":{"description":"Unauthorized","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"13fa3309-e50c-4494-adaf-8419857df85b":{"description":"Forbidden","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"ff523d08-62c4-4831-82bf-7e3d3dbfc269":{"description":"Not Found","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"af9a0ab1-7a5d-420f-87d1-1b00df60cf6f":{"description":"Method Not Allowed","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"83901c05-5de5-4e1d-901c-df6b58443301":{"description":"Conflict","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"682e6372-8e2b-4cd5-884e-6752d0f130e3":{"description":"Payload Too Large","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"93552812-1269-4707-8353-74e060c81f58":{"description":"URI Too Long","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"45fd24fc-bb17-45e4-be7c-0bdd55042163":{"description":"Unsupported Media Type","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"f6edd904-93f7-4669-a590-26a927b01fbe":{"description":"Unprocessable Entity","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"errors":{"type":"object","description":"A record of validation errors keyed by field name","additionalProperties":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"string","uniqueKey":"errors.additionalProperties.messages.items.[INDEX]","typeLabel":"string"},"description":"List of validation error messages","example":["Field is required","Invalid format"],"isRequired":true,"uniqueKey":"errors.additionalProperties.messages","typeLabel":"string[]"},"value":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"errors.additionalProperties.value.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"errors.additionalProperties.value.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"errors.additionalProperties.value.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"errors.additionalProperties.value.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"errors.additionalProperties.value.oneOf.4","typeLabel":"object"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"errors.additionalProperties.value.oneOf.5.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"errors.additionalProperties.value.oneOf.5.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"errors.additionalProperties.value.oneOf.5.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"errors.additionalProperties.value.oneOf.5.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"errors.additionalProperties.value.oneOf.5.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"errors.additionalProperties.value.oneOf.5.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"errors.additionalProperties.value.oneOf.5","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"errors.additionalProperties.value","typeLabel":"string | null | number | boolean | object | (string | null | number | boolean | object)[]"}},"required":["messages"],"uniqueKey":"errors.additionalProperties","typeLabel":"object"},"example":{"fieldName1":{"messages":["Field is required","Must be a valid email address"],"value":"invalidEmail"},"fieldName2":{"messages":["Must be at least 18 years old"],"value":17},"fieldName3":{"messages":["Must be a boolean value"],"value":true},"fieldName4":{"messages":["Must be a valid object"],"value":{"key":"value"}},"fieldName5":{"messages":["Field is missing"],"value":null},"fieldName6":{"messages":["Undefined value"]}},"isRequired":true,"uniqueKey":"errors","typeLabel":"object"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path","errors"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","errors":{"fieldName1":{"messages":["Field is required","Must be a valid email address"],"value":"invalidEmail"},"fieldName2":{"messages":["Must be at least 18 years old"],"value":17},"fieldName3":{"messages":["Must be a boolean value"],"value":true},"fieldName4":{"messages":["Must be a valid object"],"value":{"key":"value"}},"fieldName5":{"messages":["Field is missing"],"value":null},"fieldName6":{"messages":["Undefined value"]}},"message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"8cdd4331-f486-493a-a122-739f00199d95":{"description":"The client has sent too many requests in a given amount of time. ","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"},"Retry-After":{"required":false,"description":"The number of seconds after which the client may retry the request that was previously rejected.","schema":{"type":"string"},"example":"8"}},"content":{"application/json":{"schema":{"type":"string","example":"API rate limit exceeded","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"API rate limit exceeded"}},"exampleType":"generated"}},"exampleType":"generated"},"87653ea6-5b86-46d4-b5b2-20c5907c4ca5":{"description":"Internal Server Error","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"}},"content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","description":"HTTP status code of the error response.","example":404,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"timestamp":{"type":"string","description":"Timestamp of when the error occurred.","example":"2024-12-12T13:00:00Z","isRequired":true,"uniqueKey":"timestamp","typeLabel":"string"},"path":{"type":"string","description":"The path where the error occurred.","example":"/api/v1/resource","isRequired":true,"uniqueKey":"path","typeLabel":"string"},"message":{"oneOf":[{"type":"string","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.1","typeLabel":"null"},{"type":"number","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.2","typeLabel":"number"},{"type":"boolean","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.3","typeLabel":"boolean"},{"type":"object","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.4","typeLabel":"object"},{"type":"null","description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.5","typeLabel":"null"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.1","typeLabel":"null"},{"type":"number","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.2","typeLabel":"number"},{"type":"boolean","uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.3","typeLabel":"boolean"},{"type":"object","additionalProperties":true,"uniqueKey":"message.oneOf.6.items.[INDEX].oneOf.4","typeLabel":"object"}],"uniqueKey":"message.oneOf.6.items.[INDEX]","typeLabel":"string | null | number | boolean | object"},"description":"Value that failed validation","example":"xx xx xx ","uniqueKey":"message.oneOf.6","typeLabel":"(string | null | number | boolean | object)[]"}],"uniqueKey":"message","typeLabel":"string · null · number · boolean · object · null · (string | null | number | boolean | object)[]"},"ctx":{"type":"object","description":"Optional context object for additional error details.","additionalProperties":true,"example":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"uniqueKey":"ctx","typeLabel":"object"},"errorId":{"type":"string","description":"Optional unique identifier for the error, useful for tracking using Sentry and \n New Relic, only available for 500.","example":"abc123","uniqueKey":"errorId","typeLabel":"string"}},"required":["statusCode","timestamp","path"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"timestamp":"2024-12-12T13:00:00Z","path":"/api/v1/resource","message":"xx xx xx ","ctx":{"workflowId":"some_wf_id","stepId":"some_wf_id"},"errorId":"abc123"}}},"exampleType":"generated"}},"exampleType":"generated"},"ddc2cf40-8312-472f-8a21-384d4c5c76e0":{"description":"The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.","headers":{"Content-Type":{"required":true,"description":"The MIME type of the response body.","schema":{"type":"string"},"example":"application/json"},"RateLimit-Limit":{"required":false,"description":"The number of requests that the client is permitted to make per second. The actual maximum may differ when burst is enabled.","schema":{"type":"string"},"example":"100"},"RateLimit-Remaining":{"required":false,"description":"The number of requests remaining until the next window.","schema":{"type":"string"},"example":"93"},"RateLimit-Reset":{"required":false,"description":"The remaining seconds until a request of the same cost will be refreshed.","schema":{"type":"string"},"example":"8"},"RateLimit-Policy":{"required":false,"description":"The rate limit policy that was used to evaluate the request.","schema":{"type":"string"},"example":"100;w=1;burst=110;comment=\"token bucket\";category=\"trigger\";cost=\"single\""},"Idempotency-Key":{"required":false,"description":"The idempotency key used to evaluate the request.","schema":{"type":"string"},"example":"8"},"Idempotency-Replay":{"required":false,"description":"Whether the request was a replay of a previous request.","schema":{"type":"string"},"example":"true"},"Retry-After":{"required":false,"description":"The number of seconds after which the client may retry the request that was previously rejected.","schema":{"type":"string"},"example":"8"}},"content":{"application/json":{"schema":{"type":"string","example":"Please wait some time, then try again.","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"Please wait some time, then try again."}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d26349ba-b580-426c-b84b-ba572b5843b8":{"secretKey":{"type":"apiKey","name":"Authorization","in":"header","description":"API key authentication. Allowed headers-- \"Authorization: ApiKey \u003cnovu_secret_key>\".","x-speakeasy-example":"YOUR_SECRET_KEY_HERE","scopes":[]}}},"servers":{"29cc13d7-64c7-40f9-8a35-9c01537b78f4":{"url":"https://api.novu.co"},"7588375a-aa7e-462d-a5bf-d94b8564f985":{"url":"https://eu.api.novu.co"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"Authorization","in":"header","description":"API key authentication. Allowed headers-- \"Authorization: ApiKey \u003cnovu_secret_key>\".","x-speakeasy-example":"YOUR_SECRET_KEY_HERE","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"API key authentication. Allowed headers-- \"Authorization: ApiKey \u003cnovu_secret_key>\".","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"secretKey","name":"Authorization"}],"title":"secretKey"}]},"originalFileLocation":"https://spec.speakeasy.com/novu/novu/json-development-with-code-samples"},"subdomain":"novu-c5de82d9","siteName":"Novu","title":"Generate a step preview - Novu","contextualStarterQuestions":[{"_id":"6a4617931acb1ee4e52cba66","deploymentId":"6a3b890b89d2acbacf3fa68a","questionText":"How do I use the preview endpoint?","status":"active","generatedBy":"contextual","path":"api-reference/workflows/generate-a-step-preview","createdAt":"2026-07-02T07:47:31.124Z","updatedAt":"2026-07-02T07:47:31.124Z","__v":0},{"_id":"6a4617931acb1ee4e52cba64","deploymentId":"6a3b890b89d2acbacf3fa68a","questionText":"How do I generate a step preview?","status":"active","generatedBy":"contextual","path":"api-reference/workflows/generate-a-step-preview","createdAt":"2026-07-02T07:47:31.124Z","updatedAt":"2026-07-02T07:47:31.124Z","__v":0},{"_id":"6a4617931acb1ee4e52cba65","deploymentId":"6a3b890b89d2acbacf3fa68a","questionText":"What auth is required for this API?","status":"active","generatedBy":"contextual","path":"api-reference/workflows/generate-a-step-preview","createdAt":"2026-07-02T07:47:31.124Z","updatedAt":"2026-07-02T07:47:31.124Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-09T07:59:58.623Z","originalFileLocation":"api-reference/workflows/generate-a-step-preview.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;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=\"system\"}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=\"Generates a preview for a specific workflow step by its unique identifier stepId\">\u003cmeta data-mint-head name=\"application-name\" content=\"Novu\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_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/novu-c5de82d9/hif-BqO_gbG8zfWr/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate a step preview - Novu\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generates a preview for a specific workflow step by its unique identifier stepId\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Novu\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://novu-c5de82d9.mintlify.app/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Generate+a+step+preview\u0026amp;description=Generates+a+preview+for+a+specific+workflow+step+by+its+unique+identifier+**stepId**\u0026amp;theme=1ee19fc55ed421ff750b0681\u0026amp;signature=0373fa4e11653a1d77781c20a2550e0eb7177fc4498c7add97c2642519484645\">\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=\"Generate a step preview - Novu\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generates a preview for a specific workflow step by its unique identifier stepId\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://novu-c5de82d9.mintlify.app/_mintlify/api/og/v2?division=Workflows\u0026amp;title=Generate+a+step+preview\u0026amp;description=Generates+a+preview+for+a+specific+workflow+step+by+its+unique+identifier+**stepId**\u0026amp;theme=1ee19fc55ed421ff750b0681\u0026amp;signature=0373fa4e11653a1d77781c20a2550e0eb7177fc4498c7add97c2642519484645\">\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/novu-c5de82d9/hif-BqO_gbG8zfWr/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Novu\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0e121b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/workflows/generate-a-step-preview.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.novu.co/#organization\",\"name\":\"Novu\",\"url\":\"https://docs.novu.co\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/novu-c5de82d9/2Q_L4HxwUfLmJjB8/logo/light.svg?fit=max\u0026auto=format\u0026n=2Q_L4HxwUfLmJjB8\u0026q=85\u0026s=23e7050191303b6a0ac4a671dfed8df4\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.novu.co#website\",\"name\":\"Novu\",\"url\":\"https://docs.novu.co\",\"publisher\":{\"@id\":\"https://docs.novu.co/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview#webpage\",\"url\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview\",\"name\":\"Generate a step preview\",\"description\":\"Generates a preview for a specific workflow step by its unique identifier stepId\",\"dateModified\":\"2026-07-09T07:59:58.623Z\",\"isPartOf\":{\"@id\":\"https://docs.novu.co#website\"},\"breadcrumb\":{\"@id\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflows \u0026 content\",\"item\":\"https://docs.novu.co/api-reference/workflows/workflow-schema\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Workflows\",\"item\":\"https://docs.novu.co/api-reference/workflows/workflow-schema\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Generate a step preview\",\"item\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview#apireference\",\"headline\":\"Generate a step preview\",\"name\":\"Generate a step preview\",\"description\":\"Generates a preview for a specific workflow step by its unique identifier stepId\",\"url\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.novu.co/api-reference/workflows/generate-a-step-preview#webpage\"},\"dateModified\":\"2026-07-09T07:59:58.623Z\",\"publisher\":{\"@id\":\"https://docs.novu.co/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.novu.co#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Novu\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Novu","nav":{"global":{"anchors":[]},"tabs":[{"tab":"Notify","pages":[{"title":"Notify","href":"/platform"}]},{"tab":"Agent Connect","pages":[{"title":"Agent Connect","href":"/agents"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"Novu REST API Reference","sidebarTitle":"Overview","href":"/api-reference"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Errors","href":"/api-reference/errors"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Rate Limiting","href":"/api-reference/rate-limiting"},{"title":"Idempotency","href":"/api-reference/idempotency"},{"title":"Payload Limits","href":"/api-reference/payload-limits"}]},{"group":"Notification delivery","icon":"send","pages":[{"group":"Events","expanded":false,"pages":[{"title":"Trigger event","openapi":"POST /v1/events/trigger","href":"/api-reference/events/trigger-event"},{"title":"Bulk trigger event","openapi":"POST /v1/events/trigger/bulk","href":"/api-reference/events/bulk-trigger-event"},{"title":"Broadcast event to all","openapi":"POST /v1/events/trigger/broadcast","href":"/api-reference/events/broadcast-event-to-all"},{"title":"Cancel triggered event","openapi":"DELETE /v1/events/trigger/{transactionId}","href":"/api-reference/events/cancel-triggered-event"}]},{"group":"Notifications","expanded":false,"pages":[{"title":"Notification event schema","sidebarTitle":"Schema","href":"/api-reference/notifications/notification-event-schema"},{"title":"List all events","openapi":"GET /v1/notifications","href":"/api-reference/notifications/list-all-events"},{"title":"Retrieve an event","openapi":"GET /v1/notifications/{notificationId}","href":"/api-reference/notifications/retrieve-an-event"}]},{"group":"Messages","expanded":false,"pages":[{"title":"Message schema","sidebarTitle":"Schema","href":"/api-reference/messages/message-schema"},{"title":"List all messages","openapi":"GET /v1/messages","href":"/api-reference/messages/list-all-messages"},{"title":"Delete a message","openapi":"DELETE /v1/messages/{messageId}","href":"/api-reference/messages/delete-a-message"},{"title":"Delete messages by transactionId","openapi":"DELETE /v1/messages/transaction/{transactionId}","href":"/api-reference/messages/delete-messages-by-transactionid"}]},{"group":"Activity","expanded":false,"pages":[{"title":"Track activity and engagement events","openapi":"POST /v2/inbound-webhooks/delivery-providers/{environmentId}/{integrationId}","href":"/api-reference/activity/track-activity-and-engagement-events"}]}]},{"group":"Agents","icon":"bot","pages":[{"title":"Agent schema","sidebarTitle":"Schema","href":"/api-reference/agents/agent-schema"},{"group":"Management","expanded":false,"pages":[{"title":"Create an agent","openapi":"POST /v1/agents","href":"/api-reference/agents/create-an-agent"},{"title":"List all agents","openapi":"GET /v1/agents","href":"/api-reference/agents/list-all-agents"},{"title":"Retrieve an agent","openapi":"GET /v1/agents/{identifier}","href":"/api-reference/agents/retrieve-an-agent"},{"title":"Update an agent","openapi":"PATCH /v1/agents/{identifier}","href":"/api-reference/agents/update-an-agent"},{"title":"Delete an agent","openapi":"DELETE /v1/agents/{identifier}","href":"/api-reference/agents/delete-an-agent"}]},{"group":"Runtime","expanded":false,"pages":[{"title":"Update an agent bridge","openapi":"PUT /v1/agents/{identifier}/bridge","href":"/api-reference/agents/update-an-agent-bridge"},{"title":"Send an agent reply","openapi":"POST /v1/agents/{agentId}/reply","href":"/api-reference/agents/send-an-agent-reply"}]},{"group":"Integrations","expanded":false,"pages":[{"title":"Create an agent integration","openapi":"POST /v1/agents/{identifier}/integrations","href":"/api-reference/agents/create-an-agent-integration"},{"title":"List agent integrations","openapi":"GET /v1/agents/{identifier}/integrations","href":"/api-reference/agents/list-agent-integrations"},{"title":"Update an agent integration","openapi":"PATCH /v1/agents/{identifier}/integrations/{agentIntegrationId}","href":"/api-reference/agents/update-an-agent-integration"},{"title":"Delete an agent integration","openapi":"DELETE /v1/agents/{identifier}/integrations/{agentIntegrationId}","href":"/api-reference/agents/delete-an-agent-integration"}]}]},{"group":"Data","icon":"database","pages":[{"group":"Subscribers","expanded":false,"pages":[{"title":"Subscriber schema","sidebarTitle":"Schema","href":"/api-reference/subscribers/subscriber-schema"},{"group":"Management","expanded":false,"pages":[{"title":"Create a subscriber","openapi":"POST /v2/subscribers","href":"/api-reference/subscribers/create-a-subscriber"},{"title":"Retrieve a subscriber","openapi":"GET /v2/subscribers/{subscriberId}","href":"/api-reference/subscribers/retrieve-a-subscriber"},{"title":"Update a subscriber","openapi":"PATCH /v2/subscribers/{subscriberId}","href":"/api-reference/subscribers/update-a-subscriber"},{"title":"Delete a subscriber","openapi":"DELETE /v2/subscribers/{subscriberId}","href":"/api-reference/subscribers/delete-a-subscriber"},{"title":"Search subscribers","openapi":"GET /v2/subscribers","href":"/api-reference/subscribers/search-subscribers"},{"title":"Bulk create subscribers","openapi":"POST /v1/subscribers/bulk","href":"/api-reference/subscribers/bulk-create-subscribers"}]},{"group":"Subscriptions","expanded":false,"pages":[{"title":"Retrieve subscriber subscriptions","openapi":"GET /v2/subscribers/{subscriberId}/subscriptions","href":"/api-reference/subscribers/retrieve-subscriber-subscriptions"}]},{"group":"Preferences","expanded":false,"pages":[{"title":"Retrieve subscriber preferences","openapi":"GET /v2/subscribers/{subscriberId}/preferences","href":"/api-reference/subscribers/retrieve-subscriber-preferences"},{"title":"Update subscriber preferences","openapi":"PATCH /v2/subscribers/{subscriberId}/preferences","href":"/api-reference/subscribers/update-subscriber-preferences"},{"title":"Bulk update subscriber preferences","openapi":"PATCH /v2/subscribers/{subscriberId}/preferences/bulk","href":"/api-reference/subscribers/bulk-update-subscriber-preferences"}]},{"group":"Credentials","expanded":false,"pages":[{"title":"Update provider credentials","openapi":"PUT /v1/subscribers/{subscriberId}/credentials","href":"/api-reference/subscribers/update-provider-credentials"},{"title":"Upsert provider credentials","openapi":"PATCH /v1/subscribers/{subscriberId}/credentials","href":"/api-reference/subscribers/upsert-provider-credentials"},{"title":"Delete provider credentials","openapi":"DELETE /v1/subscribers/{subscriberId}/credentials/{providerId}","href":"/api-reference/subscribers/delete-provider-credentials"}]},{"group":"Notification state","expanded":false,"pages":[{"title":"Retrieve subscriber notifications","openapi":"GET /v1/subscribers/{subscriberId}/notifications/feed","href":"/api-reference/subscribers/retrieve-subscriber-notifications"},{"title":"Update notifications state","openapi":"POST /v1/subscribers/{subscriberId}/messages/mark-as","href":"/api-reference/subscribers/update-notifications-state"},{"title":"Update all notifications state","openapi":"POST /v1/subscribers/{subscriberId}/messages/mark-all","href":"/api-reference/subscribers/update-all-notifications-state"},{"title":"Update subscriber online status","openapi":"PATCH /v1/subscribers/{subscriberId}/online-status","href":"/api-reference/subscribers/update-subscriber-online-status"},{"title":"Retrieve unseen notifications count","openapi":"GET /v1/subscribers/{subscriberId}/notifications/unseen","href":"/api-reference/subscribers/retrieve-unseen-notifications-count"},{"title":"Update notification action status","openapi":"POST /v1/subscribers/{subscriberId}/messages/{messageId}/actions/{type}","href":"/api-reference/subscribers/update-notification-action-status"}]}]},{"group":"Inbox","expanded":false,"pages":[{"group":"Counts","expanded":false,"pages":[{"title":"Retrieve subscriber notifications count","openapi":"GET /v2/subscribers/{subscriberId}/notifications/count","href":"/api-reference/subscribers/retrieve-subscriber-notifications-count"}]},{"group":"Read \u0026 seen","expanded":false,"pages":[{"title":"Mark a notification as read","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/read","href":"/api-reference/subscribers/mark-a-notification-as-read"},{"title":"Mark a notification as unread","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/unread","href":"/api-reference/subscribers/mark-a-notification-as-unread"},{"title":"Mark all notifications as read","openapi":"POST /v2/subscribers/{subscriberId}/notifications/read","href":"/api-reference/subscribers/mark-all-notifications-as-read"},{"title":"Mark notifications as seen","openapi":"POST /v2/subscribers/{subscriberId}/notifications/seen","href":"/api-reference/subscribers/mark-notifications-as-seen"}]},{"group":"Snooze","expanded":false,"pages":[{"title":"Snooze a notification","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/snooze","href":"/api-reference/subscribers/snooze-a-notification"},{"title":"Unsnooze a notification","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/unsnooze","href":"/api-reference/subscribers/unsnooze-a-notification"}]},{"group":"Archive","expanded":false,"pages":[{"title":"Archive a notification","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/archive","href":"/api-reference/subscribers/archive-a-notification"},{"title":"Unarchive a notification","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/unarchive","href":"/api-reference/subscribers/unarchive-a-notification"},{"title":"Archive all notifications","openapi":"POST /v2/subscribers/{subscriberId}/notifications/archive","href":"/api-reference/subscribers/archive-all-notifications"},{"title":"Archive all read notifications","openapi":"POST /v2/subscribers/{subscriberId}/notifications/read-archive","href":"/api-reference/subscribers/archive-all-read-notifications"}]},{"group":"Delete","expanded":false,"pages":[{"title":"Delete a notification","openapi":"DELETE /v2/subscribers/{subscriberId}/notifications/{notificationId}","href":"/api-reference/subscribers/delete-a-notification"},{"title":"Delete all notifications","openapi":"POST /v2/subscribers/{subscriberId}/notifications/delete","href":"/api-reference/subscribers/delete-all-notifications"}]},{"group":"Actions","expanded":false,"pages":[{"title":"Complete a notification action","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/actions/{actionType}/complete","href":"/api-reference/subscribers/complete-a-notification-action"},{"title":"Revert a notification action","openapi":"PATCH /v2/subscribers/{subscriberId}/notifications/{notificationId}/actions/{actionType}/revert","href":"/api-reference/subscribers/revert-a-notification-action"}]}]},{"group":"Topics","expanded":false,"pages":[{"title":"Topic schema","sidebarTitle":"Schema","href":"/api-reference/topics/topic-schema"},{"group":"Management","expanded":false,"pages":[{"title":"Create a topic","openapi":"POST /v2/topics","href":"/api-reference/topics/create-a-topic"},{"title":"Retrieve a topic","openapi":"GET /v2/topics/{topicKey}","href":"/api-reference/topics/retrieve-a-topic"},{"title":"Update a topic","openapi":"PATCH /v2/topics/{topicKey}","href":"/api-reference/topics/update-a-topic"},{"title":"Delete a topic","openapi":"DELETE /v2/topics/{topicKey}","href":"/api-reference/topics/delete-a-topic"},{"title":"List all topics","openapi":"GET /v2/topics","href":"/api-reference/topics/list-all-topics"}]},{"group":"Subscriptions","expanded":false,"pages":[{"title":"Create topic subscriptions","openapi":"POST /v2/topics/{topicKey}/subscriptions","href":"/api-reference/topics/create-topic-subscriptions"},{"title":"Delete topic subscriptions","openapi":"DELETE /v2/topics/{topicKey}/subscriptions","href":"/api-reference/topics/delete-topic-subscriptions"},{"title":"Update a topic subscription","openapi":"PATCH /v2/topics/{topicKey}/subscriptions/{identifier}","href":"/api-reference/topics/update-a-topic-subscription"},{"title":"List topic subscriptions","openapi":"GET /v2/topics/{topicKey}/subscriptions","href":"/api-reference/topics/list-topic-subscriptions"},{"title":"Check topic subscriber","openapi":"GET /v1/topics/{topicKey}/subscribers/{externalSubscriberId}","href":"/api-reference/topics/check-topic-subscriber"},{"title":"Retrieve a topic subscription","openapi":"GET /v2/topics/{topicKey}/subscriptions/{identifier}","href":"/api-reference/topics/retrieve-a-topic-subscription"}]}]},{"group":"Contexts","expanded":false,"pages":[{"title":"Context schema","sidebarTitle":"Schema","href":"/api-reference/contexts/context-schema"},{"title":"Create a context","openapi":"POST /v2/contexts","href":"/api-reference/contexts/create-a-context"},{"title":"Retrieve a context","openapi":"GET /v2/contexts/{type}/{id}","href":"/api-reference/contexts/retrieve-a-context"},{"title":"Update a context","openapi":"PATCH /v2/contexts/{type}/{id}","href":"/api-reference/contexts/update-a-context"},{"title":"Delete a context","openapi":"DELETE /v2/contexts/{type}/{id}","href":"/api-reference/contexts/delete-a-context"},{"title":"List all contexts","openapi":"GET /v2/contexts","href":"/api-reference/contexts/list-all-contexts"}]},{"group":"Channel Connections","expanded":false,"pages":[{"title":"Create a channel connection","openapi":"POST /v1/channel-connections","href":"/api-reference/channel-connections/create-a-channel-connection"},{"title":"Retrieve a channel connection","openapi":"GET /v1/channel-connections/{identifier}","href":"/api-reference/channel-connections/retrieve-a-channel-connection"},{"title":"Update a channel connection","openapi":"PATCH /v1/channel-connections/{identifier}","href":"/api-reference/channel-connections/update-a-channel-connection"},{"title":"Delete a channel connection","openapi":"DELETE /v1/channel-connections/{identifier}","href":"/api-reference/channel-connections/delete-a-channel-connection"},{"title":"List all channel connections","openapi":"GET /v1/channel-connections","href":"/api-reference/channel-connections/list-all-channel-connections"}]},{"group":"Channel Endpoints","expanded":false,"pages":[{"title":"Create a channel endpoint","openapi":"POST /v1/channel-endpoints","href":"/api-reference/channel-endpoints/create-a-channel-endpoint"},{"title":"Retrieve a channel endpoint","openapi":"GET /v1/channel-endpoints/{identifier}","href":"/api-reference/channel-endpoints/retrieve-a-channel-endpoint"},{"title":"Update a channel endpoint","openapi":"PATCH /v1/channel-endpoints/{identifier}","href":"/api-reference/channel-endpoints/update-a-channel-endpoint"},{"title":"Delete a channel endpoint","openapi":"DELETE /v1/channel-endpoints/{identifier}","href":"/api-reference/channel-endpoints/delete-a-channel-endpoint"},{"title":"List all channel endpoints","openapi":"GET /v1/channel-endpoints","href":"/api-reference/channel-endpoints/list-all-channel-endpoints"}]}]},{"group":"Workflows \u0026 content","icon":"git-branch","pages":[{"group":"Workflows","expanded":false,"pages":[{"title":"Workflow schema","sidebarTitle":"Schema","href":"/api-reference/workflows/workflow-schema"},{"title":"Create a workflow","openapi":"POST /v2/workflows","href":"/api-reference/workflows/create-a-workflow"},{"title":"Retrieve a workflow","openapi":"GET /v2/workflows/{workflowId}","href":"/api-reference/workflows/retrieve-a-workflow"},{"title":"Update a workflow","openapi":"PUT /v2/workflows/{workflowId}","href":"/api-reference/workflows/update-a-workflow"},{"title":"Delete a workflow","openapi":"DELETE /v2/workflows/{workflowId}","href":"/api-reference/workflows/delete-a-workflow"},{"title":"List all workflows","openapi":"GET /v2/workflows","href":"/api-reference/workflows/list-all-workflows"},{"title":"Sync a workflow","openapi":"PUT /v2/workflows/{workflowId}/sync","href":"/api-reference/workflows/sync-a-workflow"},{"title":"Retrieve workflow step","openapi":"GET /v2/workflows/{workflowId}/steps/{stepId}","description":"Retrieves data for a specific step in a workflow","href":"/api-reference/workflows/retrieve-workflow-step"},{"title":"Generate a step preview","openapi":"POST /v2/workflows/{workflowId}/step/{stepId}/preview","href":"/api-reference/workflows/generate-a-step-preview"}]},{"group":"Translations","expanded":false,"pages":[{"title":"Create a translation","openapi":"POST /v2/translations","description":"Create a translation for a specific workflow and locale, if the translation already exists, it will be updated","href":"/api-reference/translations/create-a-translation"},{"title":"Retrieve a translation","openapi":"GET /v2/translations/{resourceType}/{resourceId}/{locale}","href":"/api-reference/translations/retrieve-a-translation"},{"title":"Delete a translation","openapi":"DELETE /v2/translations/{resourceType}/{resourceId}/{locale}","href":"/api-reference/translations/delete-a-translation"},{"title":"Retrieve a translation group","openapi":"GET /v2/translations/group/{resourceType}/{resourceId}","href":"/api-reference/translations/retrieve-a-translation-group"},{"title":"Delete a translation group","openapi":"DELETE /v2/translations/{resourceType}/{resourceId}","href":"/api-reference/translations/delete-a-translation-group"},{"title":"Import master translations JSON","openapi":"POST /v2/translations/master-json","href":"/api-reference/translations/import-master-translations-json"},{"title":"Retrieve master translations JSON","openapi":"GET /v2/translations/master-json","href":"/api-reference/translations/retrieve-master-translations-json"},{"title":"Upload master translations JSON file","openapi":"POST /v2/translations/master-json/upload","href":"/api-reference/translations/upload-master-translations-json-file"},{"title":"Upload translation files","openapi":"POST /v2/translations/upload","href":"/api-reference/translations/upload-translation-files"}]},{"group":"Layouts","expanded":false,"pages":[{"title":"Create a layout","openapi":"POST /v2/layouts","href":"/api-reference/layouts/create-a-layout"},{"title":"Delete a layout","openapi":"DELETE /v2/layouts/{layoutId}","href":"/api-reference/layouts/delete-a-layout"},{"title":"Duplicate a layout","openapi":"POST /v2/layouts/{layoutId}/duplicate","href":"/api-reference/layouts/duplicate-a-layout"},{"title":"Generate layout preview","openapi":"POST /v2/layouts/{layoutId}/preview","href":"/api-reference/layouts/generate-layout-preview"},{"title":"Get layout usage","openapi":"GET /v2/layouts/{layoutId}/usage","href":"/api-reference/layouts/get-layout-usage"},{"title":"List all layouts","openapi":"GET /v2/layouts","href":"/api-reference/layouts/list-all-layouts"},{"title":"Retrieve a layout","openapi":"GET /v2/layouts/{layoutId}","href":"/api-reference/layouts/retrieve-a-layout"},{"title":"Update a layout","openapi":"PUT /v2/layouts/{layoutId}","href":"/api-reference/layouts/update-a-layout"}]}]},{"group":"Platform \u0026 channels","icon":"settings","pages":[{"group":"Environments","expanded":false,"pages":[{"title":"Environment schema","sidebarTitle":"Schema","href":"/api-reference/environments/environment-schema"},{"title":"Create an environment","openapi":"POST /v1/environments","href":"/api-reference/environments/create-an-environment"},{"title":"Update an environment","openapi":"PUT /v1/environments/{environmentId}","href":"/api-reference/environments/update-an-environment"},{"title":"Delete an environment","openapi":"DELETE /v1/environments/{environmentId}","href":"/api-reference/environments/delete-an-environment"},{"title":"List all environments","openapi":"GET /v1/environments","href":"/api-reference/environments/list-all-environments"},{"title":"List environment tags","openapi":"GET /v2/environments/{environmentId}/tags","href":"/api-reference/environments/list-environment-tags"},{"title":"Compare resources between environments","openapi":"POST /v2/environments/{targetEnvironmentId}/diff","href":"/api-reference/environments/compare-resources-between-environments"},{"title":"Publish resources to target environment","openapi":"POST /v2/environments/{targetEnvironmentId}/publish","href":"/api-reference/environments/publish-resources-to-target-environment"}]},{"group":"Environment Variables","expanded":false,"pages":[{"title":"Environment variable schema","sidebarTitle":"Schema","href":"/api-reference/environment-variables/environment-variable-schema"},{"title":"Create a variable","openapi":"POST /v1/environment-variables","href":"/api-reference/environment-variables/create-a-variable"},{"title":"Retrieve a variable","openapi":"GET /v1/environment-variables/{variableKey}","href":"/api-reference/environment-variables/retrieve-a-variable"},{"title":"Update a variable","openapi":"PATCH /v1/environment-variables/{variableKey}","href":"/api-reference/environment-variables/update-a-variable"},{"title":"Delete a variable","openapi":"DELETE /v1/environment-variables/{variableKey}","href":"/api-reference/environment-variables/delete-a-variable"},{"title":"List all variables","openapi":"GET /v1/environment-variables","href":"/api-reference/environment-variables/list-all-variables"},{"title":"Retrieve a variable usage","openapi":"GET /v1/environment-variables/{variableKey}/usage","href":"/api-reference/environment-variables/retrieve-a-variable-usage"}]},{"group":"Integrations","expanded":false,"pages":[{"title":"Integration schema","sidebarTitle":"Schema","href":"/api-reference/integrations/integration-schema"},{"title":"Create an integration","openapi":"POST /v1/integrations","href":"/api-reference/integrations/create-an-integration"},{"title":"Update an integration","openapi":"PUT /v1/integrations/{integrationId}","href":"/api-reference/integrations/update-an-integration"},{"title":"Delete an integration","openapi":"DELETE /v1/integrations/{integrationId}","href":"/api-reference/integrations/delete-an-integration"},{"title":"List all integrations","openapi":"GET /v1/integrations","href":"/api-reference/integrations/list-all-integrations"},{"title":"List active integrations","openapi":"GET /v1/integrations/active","href":"/api-reference/integrations/list-active-integrations"},{"title":"Update integration as primary","openapi":"POST /v1/integrations/{integrationId}/set-primary","href":"/api-reference/integrations/update-integration-as-primary"},{"title":"Generate chat OAuth URL","openapi":"POST /v1/integrations/chat/oauth","href":"/api-reference/integrations/generate-chat-oauth-url"},{"title":"Auto-configure an integration for inbound webhooks","openapi":"POST /v1/integrations/{integrationId}/auto-configure","href":"/api-reference/integrations/auto-configure-an-integration-for-inbound-webhooks"}]}]}]},{"tab":"Resources","menu":[{"item":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"item":"Framework","pages":[{"title":"Framework","href":"/framework"}]},{"item":"Community","pages":[{"title":"Community","href":"/community"}]}],"pages":[{"title":"Resources","href":"/guides"}]}]},"basePath":"","title":"Generate a step preview - Novu","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","Page-m07pfKpT.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}