Crea una nueva Campaña para tu organización. Usa integration_type para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.
cycles is optional. When cycles.enabled is false (or omitted), the rest of the cycles block is ignored. When cycles.mode is cooldown, schedule* fields are rejected. Cycles can be enabled only at creation time; cycles.enabled and cycles.mode are immutable thereafter.
Single Campaign detail with nested agent, integration and cycles config. The analytics field is included only when a snapshot is available for the campaign.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Altur","colors":{"primary":"#0066FF","light":"#0066FF","dark":"#0066FF"},"logo":{"light":"https://mintcdn.com/altur/D4WthK6Jl2QiKslz/logo/light.svg?fit=max\u0026auto=format\u0026n=D4WthK6Jl2QiKslz\u0026q=85\u0026s=20f8f677ccc5d294c37dc46192e3ea74","dark":"https://mintcdn.com/altur/D4WthK6Jl2QiKslz/logo/dark.svg?fit=max\u0026auto=format\u0026n=D4WthK6Jl2QiKslz\u0026q=85\u0026s=bba6b7c061d8e259a4fd8c730fc5f443"},"favicon":"https://mintcdn.com/altur/D4WthK6Jl2QiKslz/favicon.png?fit=max\u0026auto=format\u0026n=D4WthK6Jl2QiKslz\u0026q=85\u0026s=f0a4001cb667a302a1c7450a03343056","background":{"decoration":"grid","color":{"light":"#FFFFFF","dark":"#0D1117"}},"navbar":{"links":[{"href":"https://altur.io/blog","label":"Blog"}],"primary":{"type":"button","label":"Open App","href":"https://app.altur.io"}},"footer":{"socials":{"github":"https://github.com/alturio","linkedin":"https://www.linkedin.com/company/alturio"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"en/documentation/introduction"},{"language":"es","href":"es/documentation/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"altur","hasAudioNarration":false,"actualSubdomain":"altur","customDomains":["docs.altur.io"],"gitSource":{"type":"github","owner":"alturio","repo":"altur-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6acadd7e230feb32d3d87044","collectionId":"08760b2e-5011-4e9f-bbdb-a1a2190a0ad4","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6acadd7e230feb32d3d87044"},"entitlements":{},"buildId":"6acadd7e230feb32d3d87044","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"en","tag":"API Reference","count":28},{"language":"es","tag":"Referencia de API","count":28},{"language":"en","tag":"API Endpoints","count":20},{"language":"es","tag":"Endpoints de API","count":20},{"language":"en","tag":"Campaigns","count":12},{"language":"es","tag":"Campañas","count":12},{"language":"en","tag":"Webhooks","count":6},{"language":"es","tag":"Webhooks","count":6},{"language":"en","tag":"Webhook Events","count":5},{"language":"en","tag":"Documentation","count":5},{"language":"es","tag":"Eventos de Webhook","count":5},{"language":"es","tag":"Documentación","count":5},{"language":"en","tag":"EndUsers","count":4},{"language":"es","tag":"EndUsers","count":4},{"language":"en","tag":"Calls","count":3},{"language":"es","tag":"Introducción","count":3},{"language":"es","tag":"Llamadas","count":3},{"language":"en","tag":"Getting Started","count":2},{"language":"en","tag":"Messages","count":2},{"language":"es","tag":"Mensajes","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"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":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","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},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"en/api-reference/campaigns/create","slug":"/en/api-reference/campaigns/create","pageMetadata":{"title":"Create Campaign","openapi":"POST /campaigns","description":"Crea una nueva Campaña para tu organización. Usa `integration_type` para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.","href":"/en/api-reference/campaigns/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Crea una nueva Campaña para tu organización. Usa \", _jsx(_components.code, {\n children: \"integration_type\"\n }), \" para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.\"]\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Info,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rate Limit:`}),` 12 requests per second`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Pass an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header (UUID recommended) so retries don’t create\nduplicate campaigns.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`channel-specific-fields`,children:`Channel-specific Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Field`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Channel`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`first_message`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`phone_call`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`template`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`whatsapp`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`template_alt`})}),_jsx(_components.td,{style:{textAlign:`left`},children:_jsx(_components.code,{children:`whatsapp`})})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Sending a channel-only field for the wrong `,_jsx(_components.code,{children:`integration_type`}),` returns a `,_jsx(_components.code,{children:`400 INVALID_REQUEST`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cycles`,children:`Cycles`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`cycles`}),` is optional. When `,_jsx(_components.code,{children:`cycles.enabled`}),` is `,_jsx(_components.code,{children:`false`}),` (or omitted), the rest of the cycles block is ignored. When `,_jsx(_components.code,{children:`cycles.mode`}),` is `,_jsx(_components.code,{children:`cooldown`}),`, `,_jsx(_components.code,{children:`schedule*`}),` fields are rejected. Cycles can be enabled only at creation time; `,_jsx(_components.code,{children:`cycles.enabled`}),` and `,_jsx(_components.code,{children:`cycles.mode`}),` are immutable thereafter.`]}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`phone-call-campaign-with-cooldown-cycles`,children:`Phone-call campaign with cooldown cycles`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`19`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`19`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.altur.io/api/v1.0/campaigns\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: api-key YOUR_API_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: 6f0b2c8c-2a7e-4f5e-9b6a-3a2e8b9c4d10\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Q2 Reactivation\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"6cy951e6-9877-4d7c-88d7-56b4948d3cce\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_id\": \"iph_8YqL3mZxR1tV0nKfH9bA\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_type\": \"phone_call\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"timezone\": \"America/Mexico_City\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"first_message\": \"Hi, am I speaking with {name}?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cycles\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"enabled\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"cooldown\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_iterations\": 3,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cooldown_minutes\": 30,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filter_statuses\": [\"converted\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`30`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`30`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` uuid`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Q2 Reactivation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6cy951e6-9877-4d7c-88d7-56b4948d3cce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"iph_8YqL3mZxR1tV0nKfH9bA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"phone_call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"America/Mexico_City\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"first_message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hi, am I speaking with `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{name}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cycles\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cooldown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_iterations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cooldown_minutes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"filter_statuses\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"converted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.altur.io/api/v1.0/campaigns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api-key YOUR_API_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`str`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(uuid.uuid4()),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`payload,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`campaign `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` response.json()[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"campaign\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(campaign[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`26`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` payload`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Q2 Reactivation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"6cy951e6-9877-4d7c-88d7-56b4948d3cce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` integration_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"iph_8YqL3mZxR1tV0nKfH9bA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` integration_type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"phone_call\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` timezone:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"America/Mexico_City\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` first_message:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Hi, am I speaking with {name}?\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cycles:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` enabled:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` mode:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cooldown\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` max_iterations:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 3`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` cooldown_minutes:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` filter_statuses:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"converted\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` res`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.altur.io/api/v1.0/campaigns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"api-key YOUR_API_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` crypto`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`randomUUID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`payload`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`campaign`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` res`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`json`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`whatsapp-campaign`,children:`WhatsApp campaign`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.altur.io/api/v1.0/campaigns\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: api-key YOUR_API_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Promo June\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\": \"6cy951e6-9877-4d7c-88d7-56b4948d3cce\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_id\": \"iwa_8YqL3mZxR1tV0nKfH9bA\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_type\": \"whatsapp\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\": \"promo_june_v1\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`14`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requests.post(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.altur.io/api/v1.0/campaigns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` headers`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authorization\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"api-key YOUR_API_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` json`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Promo June\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"agent_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"6cy951e6-9877-4d7c-88d7-56b4948d3cce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"iwa_8YqL3mZxR1tV0nKfH9bA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"integration_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"whatsapp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"template\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"promo_june_v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response.raise_for_status()`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`JavaScript`,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` fetch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://api.altur.io/api/v1.0/campaigns\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` method:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` headers:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Authorization:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"api-key YOUR_API_SECRET_KEY\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"application/json\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` body:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` name:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Promo June\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` agent_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"6cy951e6-9877-4d7c-88d7-56b4948d3cce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` integration_id:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"iwa_8YqL3mZxR1tV0nKfH9bA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` integration_type:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"whatsapp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` template:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"promo_june_v1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Campaign","openapi":"POST /campaigns","description":"Crea una nueva Campaña para tu organización. Usa `integration_type` para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.","href":"/en/api-reference/campaigns/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Channel-specific Fields","slug":"channel-specific-fields","depth":2,"children":[]},{"title":"Cycles","slug":"cycles","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[{"title":"Phone-call campaign with cooldown cycles","slug":"phone-call-campaign-with-cooldown-cycles","depth":3,"children":[]},{"title":"WhatsApp campaign","slug":"whatsapp-campaign","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Crea una nueva Campaña para tu organización. Usa `integration_type` para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.","parameters":["940dbff8-5978-4053-bad2-9ec3e9e464bc"],"requestBody":"bd989e05-f62a-44c1-b122-9b31e64aa20f","responses":{"201":"425dfe25-b1a7-465d-bebb-1013584f02eb","400":"97178a31-f997-409d-98df-3fc29201980a","401":"81304c69-59a6-41ab-b87e-abdc199937a5","402":"ea98409a-3b5d-4aa7-af43-5cd167d6f44b","404":"db977ddf-8239-461c-ae2b-5a8c6b347897"},"method":"post","type":"path","servers":["c8d15ecb-4ef9-4af2-8da9-65bf53121690"],"security":["2abef093-c110-4cfb-9665-f370af43e5e8"],"path":"/campaigns","baseUrlOptions":["https://api.altur.io/api/v1.0"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"940dbff8-5978-4053-bad2-9ec3e9e464bc":{"name":"Idempotency-Key","in":"header","description":"Optional client-generated key (UUID recommended) to make the request idempotent. Replays within the dedup window return the original response.","schema":{"type":"string","isRequired":false,"description":"Optional client-generated key (UUID recommended) to make the request idempotent. Replays within the dedup window return the original response.","uniqueKey":"","typeLabel":"string"},"required":false}},"requestBody":{"description":"Campaign to be created","required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","agent_id","integration_id","integration_type"],"properties":{"name":{"type":"string","maxLength":255,"isRequired":true,"uniqueKey":"name","typeLabel":"string"},"agent_id":{"type":"string","format":"uuid4","description":"`public_id` of the agent that will own this campaign.","isRequired":true,"uniqueKey":"agent_id","typeLabel":"string\u003cuuid4>"},"integration_id":{"type":"string","description":"`public_id` of the integration to use. Must belong to `agent_id`.","isRequired":true,"uniqueKey":"integration_id","typeLabel":"string"},"integration_type":{"type":"string","enum":["phone_call","whatsapp"],"isRequired":true,"uniqueKey":"integration_type","typeLabel":"enum\u003cstring>"},"description":{"type":"string","uniqueKey":"description","typeLabel":"string"},"timezone":{"type":"string","description":"IANA timezone. Defaults to `America/Mexico_City`.","uniqueKey":"timezone","typeLabel":"string"},"retries":{"type":"integer","minimum":0,"maximum":5,"default":1,"uniqueKey":"retries","typeLabel":"integer"},"message_limit":{"type":"integer","minimum":1,"maximum":10000,"default":250,"uniqueKey":"message_limit","typeLabel":"integer"},"first_message":{"type":"string","description":"First message the Agent will say upon the call being answered. Phone-call only.","uniqueKey":"first_message","typeLabel":"string"},"template":{"type":"string","description":"WhatsApp template name. WhatsApp only.","uniqueKey":"template","typeLabel":"string"},"template_alt":{"type":"string","description":"Alternate WhatsApp template name. WhatsApp only.","uniqueKey":"template_alt","typeLabel":"string"},"scheduling":{"type":"object","properties":{"mon":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.mon.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.mon.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.mon.active","typeLabel":"boolean"}},"description":"Monday","uniqueKey":"scheduling.mon","typeLabel":"object"},"tue":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.tue.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.tue.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.tue.active","typeLabel":"boolean"}},"description":"Tuesday","uniqueKey":"scheduling.tue","typeLabel":"object"},"wed":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.wed.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.wed.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.wed.active","typeLabel":"boolean"}},"description":"Wednesday","uniqueKey":"scheduling.wed","typeLabel":"object"},"thu":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.thu.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.thu.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.thu.active","typeLabel":"boolean"}},"description":"Thursday","uniqueKey":"scheduling.thu","typeLabel":"object"},"fri":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.fri.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.fri.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.fri.active","typeLabel":"boolean"}},"description":"Friday","uniqueKey":"scheduling.fri","typeLabel":"object"},"sat":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.sat.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.sat.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.sat.active","typeLabel":"boolean"}},"description":"Saturday","uniqueKey":"scheduling.sat","typeLabel":"object"},"sun":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.sun.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"scheduling.sun.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"scheduling.sun.active","typeLabel":"boolean"}},"description":"Sunday","uniqueKey":"scheduling.sun","typeLabel":"object"}},"uniqueKey":"scheduling","typeLabel":"object"},"cycles":{"type":"object","description":"Cycles configuration block. Phone-call campaigns only.","properties":{"enabled":{"type":"boolean","description":"Whether cycles are enabled. Immutable after creation.","uniqueKey":"cycles.enabled","typeLabel":"boolean"},"mode":{"type":"string","enum":["cooldown","scheduled"],"description":"Cycle mode. Immutable after creation.","uniqueKey":"cycles.mode","typeLabel":"enum\u003cstring>"},"max_iterations":{"type":"integer","minimum":2,"maximum":12,"uniqueKey":"cycles.max_iterations","typeLabel":"integer"},"cooldown_minutes":{"type":"integer","minimum":0,"maximum":1440,"uniqueKey":"cycles.cooldown_minutes","typeLabel":"integer"},"filter_statuses":{"type":"array","items":{"type":"string","uniqueKey":"cycles.filter_statuses.items.[INDEX]","typeLabel":"string"},"description":"Contact statuses excluded from the next iteration.","uniqueKey":"cycles.filter_statuses","typeLabel":"string[]"},"filter_tags":{"type":"array","items":{"type":"string","uniqueKey":"cycles.filter_tags.items.[INDEX]","typeLabel":"string"},"description":"Thread tag ids whose contacts are excluded from the next iteration. Input-only; not returned on the detail response.","uniqueKey":"cycles.filter_tags","typeLabel":"string[]"},"schedule":{"type":"object","properties":{"mon":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.mon.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.mon.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.mon.active","typeLabel":"boolean"}},"description":"Monday","uniqueKey":"cycles.schedule.mon","typeLabel":"object"},"tue":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.tue.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.tue.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.tue.active","typeLabel":"boolean"}},"description":"Tuesday","uniqueKey":"cycles.schedule.tue","typeLabel":"object"},"wed":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.wed.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.wed.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.wed.active","typeLabel":"boolean"}},"description":"Wednesday","uniqueKey":"cycles.schedule.wed","typeLabel":"object"},"thu":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.thu.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.thu.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.thu.active","typeLabel":"boolean"}},"description":"Thursday","uniqueKey":"cycles.schedule.thu","typeLabel":"object"},"fri":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.fri.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.fri.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.fri.active","typeLabel":"boolean"}},"description":"Friday","uniqueKey":"cycles.schedule.fri","typeLabel":"object"},"sat":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.sat.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.sat.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.sat.active","typeLabel":"boolean"}},"description":"Saturday","uniqueKey":"cycles.schedule.sat","typeLabel":"object"},"sun":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.sun.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"cycles.schedule.sun.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"cycles.schedule.sun.active","typeLabel":"boolean"}},"description":"Sunday","uniqueKey":"cycles.schedule.sun","typeLabel":"object"}},"description":"Per-day schedule. Only used when `mode` = `scheduled`.","uniqueKey":"cycles.schedule","typeLabel":"object"},"schedule_start_date":{"oneOf":[{"type":"string","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"cycles.schedule_start_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"cycles.schedule_start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"cycles.schedule_start_date","typeLabel":"string\u003cdate> | null"},"schedule_end_date":{"oneOf":[{"type":"string","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"cycles.schedule_end_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"cycles.schedule_end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"cycles.schedule_end_date","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"cycles","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"\u003cstring>","agent_id":"\u003cstring>","integration_id":"\u003cstring>","description":"\u003cstring>","timezone":"\u003cstring>","retries":1,"message_limit":250,"first_message":"\u003cstring>","template":"\u003cstring>","template_alt":"\u003cstring>","scheduling":{"mon":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"tue":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"wed":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"thu":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"fri":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sat":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sun":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true}},"cycles":{"enabled":true,"max_iterations":7,"cooldown_minutes":720,"filter_statuses":["\u003cstring>"],"filter_tags":["\u003cstring>"],"schedule":{"mon":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"tue":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"wed":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"thu":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"fri":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sat":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sun":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true}},"schedule_start_date":"2023-12-25","schedule_end_date":"2023-12-25"}}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"425dfe25-b1a7-465d-bebb-1013584f02eb":{"description":"Campaign created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"campaign":{"type":"object","description":"Single Campaign detail with nested agent, integration and cycles config. The `analytics` field is included only when a snapshot is available for the campaign.","properties":{"id":{"description":"Unique identifier for the Campaign","type":"integer","uniqueKey":"campaign.id","typeLabel":"integer"},"name":{"description":"Name of the Campaign","type":"string","uniqueKey":"campaign.name","typeLabel":"string"},"status":{"description":"Current status of the Campaign","type":"string","enum":["pending","ready","active","inactive","cooldown","finished"],"uniqueKey":"campaign.status","typeLabel":"enum\u003cstring>"},"integration":{"oneOf":[{"description":"Nested {id, type} of the integration the Campaign was created on","type":"object","properties":{"id":{"type":"string","uniqueKey":"campaign.integration.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","enum":["phone_call","whatsapp"],"uniqueKey":"campaign.integration.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"campaign.integration.oneOf.0","typeLabel":"object"},{"description":"Nested {id, type} of the integration the Campaign was created on","type":"null","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["phone_call","whatsapp"]}},"uniqueKey":"campaign.integration.oneOf.1","typeLabel":"null"}],"uniqueKey":"campaign.integration","typeLabel":"object | null"},"agent":{"type":"object","properties":{"id":{"type":"string","format":"uuid4","uniqueKey":"campaign.agent.id","typeLabel":"string\u003cuuid4>"},"name":{"type":"string","uniqueKey":"campaign.agent.name","typeLabel":"string"}},"uniqueKey":"campaign.agent","typeLabel":"object"},"created_at":{"type":"string","format":"date-time","uniqueKey":"campaign.created_at","typeLabel":"string\u003cdate-time>"},"scheduling":{"type":"object","properties":{"mon":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.mon.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.mon.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.mon.active","typeLabel":"boolean"}},"description":"Monday","uniqueKey":"campaign.scheduling.mon","typeLabel":"object"},"tue":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.tue.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.tue.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.tue.active","typeLabel":"boolean"}},"description":"Tuesday","uniqueKey":"campaign.scheduling.tue","typeLabel":"object"},"wed":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.wed.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.wed.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.wed.active","typeLabel":"boolean"}},"description":"Wednesday","uniqueKey":"campaign.scheduling.wed","typeLabel":"object"},"thu":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.thu.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.thu.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.thu.active","typeLabel":"boolean"}},"description":"Thursday","uniqueKey":"campaign.scheduling.thu","typeLabel":"object"},"fri":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.fri.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.fri.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.fri.active","typeLabel":"boolean"}},"description":"Friday","uniqueKey":"campaign.scheduling.fri","typeLabel":"object"},"sat":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.sat.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.sat.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.sat.active","typeLabel":"boolean"}},"description":"Saturday","uniqueKey":"campaign.scheduling.sat","typeLabel":"object"},"sun":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.sun.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.scheduling.sun.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.scheduling.sun.active","typeLabel":"boolean"}},"description":"Sunday","uniqueKey":"campaign.scheduling.sun","typeLabel":"object"}},"uniqueKey":"campaign.scheduling","typeLabel":"object"},"cycles":{"type":"object","description":"Cycles configuration block. Phone-call campaigns only.","properties":{"enabled":{"type":"boolean","description":"Whether cycles are enabled. Immutable after creation.","uniqueKey":"campaign.cycles.enabled","typeLabel":"boolean"},"mode":{"type":"string","enum":["cooldown","scheduled"],"description":"Cycle mode. Immutable after creation.","uniqueKey":"campaign.cycles.mode","typeLabel":"enum\u003cstring>"},"max_iterations":{"type":"integer","minimum":2,"maximum":12,"uniqueKey":"campaign.cycles.max_iterations","typeLabel":"integer"},"cooldown_minutes":{"type":"integer","minimum":0,"maximum":1440,"uniqueKey":"campaign.cycles.cooldown_minutes","typeLabel":"integer"},"filter_statuses":{"type":"array","items":{"type":"string","uniqueKey":"campaign.cycles.filter_statuses.items.[INDEX]","typeLabel":"string"},"description":"Contact statuses excluded from the next iteration.","uniqueKey":"campaign.cycles.filter_statuses","typeLabel":"string[]"},"filter_tags":{"type":"array","items":{"type":"string","uniqueKey":"campaign.cycles.filter_tags.items.[INDEX]","typeLabel":"string"},"description":"Thread tag ids whose contacts are excluded from the next iteration. Input-only; not returned on the detail response.","uniqueKey":"campaign.cycles.filter_tags","typeLabel":"string[]"},"schedule":{"type":"object","properties":{"mon":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.mon.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.mon.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.mon.active","typeLabel":"boolean"}},"description":"Monday","uniqueKey":"campaign.cycles.schedule.mon","typeLabel":"object"},"tue":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.tue.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.tue.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.tue.active","typeLabel":"boolean"}},"description":"Tuesday","uniqueKey":"campaign.cycles.schedule.tue","typeLabel":"object"},"wed":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.wed.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.wed.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.wed.active","typeLabel":"boolean"}},"description":"Wednesday","uniqueKey":"campaign.cycles.schedule.wed","typeLabel":"object"},"thu":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.thu.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.thu.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.thu.active","typeLabel":"boolean"}},"description":"Thursday","uniqueKey":"campaign.cycles.schedule.thu","typeLabel":"object"},"fri":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.fri.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.fri.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.fri.active","typeLabel":"boolean"}},"description":"Friday","uniqueKey":"campaign.cycles.schedule.fri","typeLabel":"object"},"sat":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.sat.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.sat.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.sat.active","typeLabel":"boolean"}},"description":"Saturday","uniqueKey":"campaign.cycles.schedule.sat","typeLabel":"object"},"sun":{"type":"object","properties":{"startTime":{"description":"Start time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.sun.startTime","typeLabel":"string"},"stopTime":{"description":"End time of the Campaign on Monday","type":"string","uniqueKey":"campaign.cycles.schedule.sun.stopTime","typeLabel":"string"},"active":{"description":"Boolean describing if the Campaign is active on Monday","type":"boolean","uniqueKey":"campaign.cycles.schedule.sun.active","typeLabel":"boolean"}},"description":"Sunday","uniqueKey":"campaign.cycles.schedule.sun","typeLabel":"object"}},"description":"Per-day schedule. Only used when `mode` = `scheduled`.","uniqueKey":"campaign.cycles.schedule","typeLabel":"object"},"schedule_start_date":{"oneOf":[{"type":"string","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"campaign.cycles.schedule_start_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"campaign.cycles.schedule_start_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"campaign.cycles.schedule_start_date","typeLabel":"string\u003cdate> | null"},"schedule_end_date":{"oneOf":[{"type":"string","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"campaign.cycles.schedule_end_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Only used when `mode` = `scheduled`.","uniqueKey":"campaign.cycles.schedule_end_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"campaign.cycles.schedule_end_date","typeLabel":"string\u003cdate> | null"}},"uniqueKey":"campaign.cycles","typeLabel":"object"},"analytics":{"description":"Analytics snapshot for the Campaign. Shape depends on `integration.type`; see `CampaignAnalyticsPhoneCall` and `CampaignAnalyticsWhatsApp`.","type":"object","uniqueKey":"campaign.analytics","typeLabel":"object"}},"uniqueKey":"campaign","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"campaign":{"id":123,"name":"\u003cstring>","status":"pending","integration":{"id":"\u003cstring>","type":"phone_call"},"agent":{"id":"\u003cstring>","name":"\u003cstring>"},"created_at":"2023-11-07T05:31:56Z","scheduling":{"mon":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"tue":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"wed":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"thu":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"fri":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sat":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sun":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true}},"cycles":{"enabled":true,"mode":"cooldown","max_iterations":7,"cooldown_minutes":720,"filter_statuses":["\u003cstring>"],"filter_tags":["\u003cstring>"],"schedule":{"mon":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"tue":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"wed":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"thu":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"fri":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sat":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true},"sun":{"startTime":"\u003cstring>","stopTime":"\u003cstring>","active":true}},"schedule_start_date":"2023-12-25","schedule_end_date":"2023-12-25"},"analytics":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"97178a31-f997-409d-98df-3fc29201980a":{"description":"Invalid input or unsupported integration type","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by the v1.0 campaigns API.","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Stable, UPPER_SNAKE_CASE error key.","enum":["FORBIDDEN","NOT_FOUND","RATE_LIMITED","SERVER_ERROR","INVALID_REQUEST","INVALID_STATUS","IMMUTABLE_FIELD","UNKNOWN_ACTION","AGENT_NOT_FOUND","INTEGRATION_NOT_FOUND","INVALID_INTEGRATION_TYPE","INVALID_FILTER_TAG","INVALID_PHONE_NUMBER","MISSING_CONTACT","CONTACT_NOT_FOUND","CONTACT_NOT_DELETABLE","CAMPAIGN_FINISHED","CYCLES_NOT_ENABLED","SCHEDULED_MODE_ONLY","INVALID_STATUS_TRANSITION","BILLING_LIMIT_REACHED"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"field":{"type":"string","description":"Set when `error` is `IMMUTABLE_FIELD`; identifies the offending field path.","uniqueKey":"field","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"FORBIDDEN","message":"\u003cstring>","field":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"81304c69-59a6-41ab-b87e-abdc199937a5":{"description":"Unauthorized","content":{"application/json":{"schema":{"required":["error","message"],"type":"object","properties":{"error":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"error","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"ea98409a-3b5d-4aa7-af43-5cd167d6f44b":{"description":"Billing limit reached","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by the v1.0 campaigns API.","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Stable, UPPER_SNAKE_CASE error key.","enum":["FORBIDDEN","NOT_FOUND","RATE_LIMITED","SERVER_ERROR","INVALID_REQUEST","INVALID_STATUS","IMMUTABLE_FIELD","UNKNOWN_ACTION","AGENT_NOT_FOUND","INTEGRATION_NOT_FOUND","INVALID_INTEGRATION_TYPE","INVALID_FILTER_TAG","INVALID_PHONE_NUMBER","MISSING_CONTACT","CONTACT_NOT_FOUND","CONTACT_NOT_DELETABLE","CAMPAIGN_FINISHED","CYCLES_NOT_ENABLED","SCHEDULED_MODE_ONLY","INVALID_STATUS_TRANSITION","BILLING_LIMIT_REACHED"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"field":{"type":"string","description":"Set when `error` is `IMMUTABLE_FIELD`; identifies the offending field path.","uniqueKey":"field","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"FORBIDDEN","message":"\u003cstring>","field":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"db977ddf-8239-461c-ae2b-5a8c6b347897":{"description":"Agent or Integration not found","content":{"application/json":{"schema":{"type":"object","description":"Standard error envelope returned by the v1.0 campaigns API.","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"error":{"type":"string","description":"Stable, UPPER_SNAKE_CASE error key.","enum":["FORBIDDEN","NOT_FOUND","RATE_LIMITED","SERVER_ERROR","INVALID_REQUEST","INVALID_STATUS","IMMUTABLE_FIELD","UNKNOWN_ACTION","AGENT_NOT_FOUND","INTEGRATION_NOT_FOUND","INVALID_INTEGRATION_TYPE","INVALID_FILTER_TAG","INVALID_PHONE_NUMBER","MISSING_CONTACT","CONTACT_NOT_FOUND","CONTACT_NOT_DELETABLE","CAMPAIGN_FINISHED","CYCLES_NOT_ENABLED","SCHEDULED_MODE_ONLY","INVALID_STATUS_TRANSITION","BILLING_LIMIT_REACHED"],"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"field":{"type":"string","description":"Set when `error` is `IMMUTABLE_FIELD`; identifies the offending field path.","uniqueKey":"field","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":"FORBIDDEN","message":"\u003cstring>","field":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2abef093-c110-4cfb-9665-f370af43e5e8":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"Authorization","description":"Add `api-key YOUR_API_SECRET_KEY` as the value of the `Authorization` header.","scopes":[]}}},"servers":{"c8d15ecb-4ef9-4af2-8da9-65bf53121690":{"url":"https://api.altur.io/api/v1.0"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Add `api-key YOUR_API_SECRET_KEY` as the value of the `Authorization` header.","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"Add `api-key YOUR_API_SECRET_KEY` as the value of the `Authorization` header.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"Authorization"}],"title":"apiKeyAuth"}]},"originalFileLocation":"en/api-reference/openapi.json"},"subdomain":"altur","siteName":"Altur","title":"Create Campaign - Altur","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/campaigns/create","matchLevel":0},"es":{"href":"/es/api-reference/campaigns/create","matchLevel":1}}},"lastModified":"2026-06-18T00:20:36.256Z","originalFileLocation":"en/api-reference/campaigns/create.mdx","locale":"en"},"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=\"Crea una nueva Campaña para tu organización. Usa integration_type para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Altur\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_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/altur/-L_trUOSQMv2YyeK/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Campaign - Altur\">\u003cmeta data-mint-head property=\"og:description\" content=\"Crea una nueva Campaña para tu organización. Usa integration_type para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Altur\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.altur.io/en/api-reference/campaigns/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://altur.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Create+Campaign\u0026amp;description=Crea+una+nueva+Campa%C3%B1a+para+tu+organizaci%C3%B3n.+Usa+%60integration_type%60+para+seleccionar+entre+llamada+telef%C3%B3nica+o+WhatsApp%3B+los+campos+exclusivos+del+canal+contra\u0026amp;theme=d457f886f343045339d35962\u0026amp;signature=8b93da5bf1bb5cee2d8eee1cc4b3d6f3fdd7fed84d7b3a205c643cd2149c94dc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Campaign - Altur\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Crea una nueva Campaña para tu organización. Usa integration_type para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://altur.mintlify.site/_mintlify/api/og/v2?division=Campaigns\u0026amp;title=Create+Campaign\u0026amp;description=Crea+una+nueva+Campa%C3%B1a+para+tu+organizaci%C3%B3n.+Usa+%60integration_type%60+para+seleccionar+entre+llamada+telef%C3%B3nica+o+WhatsApp%3B+los+campos+exclusivos+del+canal+contra\u0026amp;theme=d457f886f343045339d35962\u0026amp;signature=8b93da5bf1bb5cee2d8eee1cc4b3d6f3fdd7fed84d7b3a205c643cd2149c94dc\">\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/altur/-L_trUOSQMv2YyeK/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Altur\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0066FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.altur.io/en/api-reference/campaigns/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/campaigns/create.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.altur.io/en/api-reference/campaigns/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.altur.io/es/api-reference/campaigns/create\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.altur.io/en/api-reference/campaigns/create\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.altur.io/#organization\",\"name\":\"Altur\",\"url\":\"https://docs.altur.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/altur/D4WthK6Jl2QiKslz/logo/light.svg?fit=max\u0026auto=format\u0026n=D4WthK6Jl2QiKslz\u0026q=85\u0026s=20f8f677ccc5d294c37dc46192e3ea74\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.altur.io#website\",\"name\":\"Altur\",\"url\":\"https://docs.altur.io\",\"publisher\":{\"@id\":\"https://docs.altur.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.altur.io/en/api-reference/campaigns/create#webpage\",\"url\":\"https://docs.altur.io/en/api-reference/campaigns/create\",\"name\":\"Create Campaign\",\"description\":\"Crea una nueva Campaña para tu organización. Usa integration_type para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.\",\"dateModified\":\"2026-06-18T00:20:36.256Z\",\"isPartOf\":{\"@id\":\"https://docs.altur.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.altur.io/en/api-reference/campaigns/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.altur.io/en/api-reference/campaigns/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Endpoints\",\"item\":\"https://docs.altur.io/en/api-reference/calls/start\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Campaigns\",\"item\":\"https://docs.altur.io/en/api-reference/campaigns/retrieve\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Campaign\",\"item\":\"https://docs.altur.io/en/api-reference/campaigns/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.altur.io/en/api-reference/campaigns/create#apireference\",\"headline\":\"Create Campaign\",\"name\":\"Create Campaign\",\"description\":\"Crea una nueva Campaña para tu organización. Usa integration_type para seleccionar entre llamada telefónica o WhatsApp; los campos exclusivos del canal contrario son rechazados.\",\"url\":\"https://docs.altur.io/en/api-reference/campaigns/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.altur.io/en/api-reference/campaigns/create#webpage\"},\"dateModified\":\"2026-06-18T00:20:36.256Z\",\"publisher\":{\"@id\":\"https://docs.altur.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.altur.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Altur\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Altur","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/documentation/introduction"}]},{"tab":"API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API Overview","href":"/en/api-reference/introduction"},{"title":"Authentication","href":"/en/api-reference/authentication"}]},{"group":"API Endpoints","pages":[{"group":"Calls","icon":"phone","pages":[{"title":"Start Call","openapi":"POST /call","href":"/en/api-reference/calls/start"},{"title":"Retrieve Call","openapi":"GET /call/{id}","href":"/en/api-reference/calls/retrieve"},{"title":"Retrieve Call Recording","openapi":"GET /call/{id}/recording","href":"/en/api-reference/calls/retrieve-recording"}]},{"group":"Campaigns","icon":"megaphone","pages":[{"title":"List Campaigns","openapi":"GET /campaigns","href":"/en/api-reference/campaigns/retrieve"},{"title":"Retrieve Campaign","openapi":"GET /campaigns/{id}","description":"Devuelve el detalle de una Campaña, incluyendo agente, integración, configuración de ciclos y (cuando esté disponible) snapshot de analíticas.","href":"/en/api-reference/campaigns/retrieve-detail"},{"title":"Create Campaign","openapi":"POST /campaigns","href":"/en/api-reference/campaigns/create"},{"title":"Update Campaign","openapi":"PATCH /campaigns/{id}","description":"Actualización parcial de una Campaña. Los campos inmutables (`agent_id`, `integration_id`, `integration_type`, `cycles.enabled`, `cycles.mode`) no se pueden modificar y devuelven `IMMUTABLE_FIELD`. Las campañas finalizadas son de solo lectura.","href":"/en/api-reference/campaigns/update"},{"title":"Lifecycle Actions","openapi":"POST /campaigns/{id}/{action}","href":"/en/api-reference/campaigns/lifecycle"},{"title":"List Campaign Contacts","openapi":"GET /campaigns/{id}/contacts","href":"/en/api-reference/campaigns/retrieve-contacts"},{"title":"Add Contacts to Campaign","openapi":"POST /campaigns/{id}/contacts","href":"/en/api-reference/campaigns/create-contacts"},{"title":"Retrieve Campaign Contact","openapi":"GET /campaigns/{id}/contacts/{contact_id}","href":"/en/api-reference/campaigns/retrieve-contact"},{"title":"Delete Campaign Contact","openapi":"DELETE /campaigns/{id}/contacts/{contact_id}","href":"/en/api-reference/campaigns/delete-contact"},{"title":"List Campaign Calls","openapi":"GET /campaigns/{id}/calls","href":"/en/api-reference/campaigns/retrieve-calls"}]},{"group":"Messages","icon":"message","pages":[{"title":"Send Message","openapi":"POST /message","href":"/en/api-reference/messages/send"},{"title":"Get Messages","openapi":"GET /message/{thread_id}","href":"/en/api-reference/messages/retrieve"}]},{"group":"Threads","icon":"messages","pages":[{"title":"Retrieve Thread","openapi":"GET /thread/{id}","href":"/en/api-reference/threads/retrieve"}]},{"group":"EndUsers","icon":"user","pages":[{"title":"Create EndUser","openapi":"POST /enduser","href":"/en/api-reference/endusers/create"},{"title":"Retrieve EndUser","openapi":"GET /enduser/{id}","href":"/en/api-reference/endusers/retrieve"},{"title":"Update EndUser","openapi":"PUT /enduser/{id}","href":"/en/api-reference/endusers/update"},{"title":"Delete EndUser","openapi":"DELETE /enduser/{id}","href":"/en/api-reference/endusers/delete"}]}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","icon":"webhook","iconType":"regular","href":"/en/api-reference/webhooks/overview"},{"group":"Webhook Events","icon":"bolt","pages":[{"title":"on_call_end","href":"/en/api-reference/webhooks/on-call-end"},{"title":"transfer_started","href":"/en/api-reference/webhooks/transfer-started"},{"title":"transfer_completed","href":"/en/api-reference/webhooks/transfer-completed"},{"title":"campaign.status_changed","href":"/en/api-reference/webhooks/campaign-status-changed"},{"title":"campaign.cycle_completed","href":"/en/api-reference/webhooks/campaign-cycle-completed"}]}]}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api-reference/campaigns/create"}]}]},"basePath":"","title":"Create Campaign - Altur","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}