{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Agni","colors":{"primary":"#E8430A","light":"#FF6B35","dark":"#D63A06"},"logo":{"light":"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/light.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=56e5c2c19fd673bc0f02949ea740516d","dark":"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/dark.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=6d31504e54c58400b836ec8fdcd87ab8"},"favicon":"https://mintcdn.com/agni/McdbIs6domJMAyIV/favicon.svg?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=cd81a48c5edf3be712df579b7bc11449","api":{"mdx":{"auth":{"method":"key","name":"X-Api-Key"},"server":"https://api.ravan.ai"}},"background":{"color":{"light":"#FFFBF8","dark":"#07090F"}},"navbar":{"links":[],"primary":{"type":"button","label":"Login","href":"https://app.ravan.ai"}},"footer":{"socials":{"instagram":"https://www.instagram.com/agnibyravan"}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Demo","icon":"microphone","href":"https://agni.ravan.ai"},{"anchor":"Website","icon":"globe","href":"https://app.ravan.ai"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"agni","hasAudioNarration":false,"actualSubdomain":"agni","customDomains":["docs.ravan.ai"],"gitSource":{"type":"github","owner":"priobrata-b","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ab11496cb5fbefac623cffc","clientVersion":"0.0.4102","searchFilterCounts":[{"language":"default","tag":"API Reference","count":99},{"language":"default","tag":"Guides","count":26},{"language":"default","tag":"Cal.com Integration API","count":14},{"language":"default","tag":"RAG Knowledge Base API","count":14},{"language":"default","tag":"Contact API","count":13},{"language":"default","tag":"Phone Number \u0026 Telephony API","count":13},{"language":"default","tag":"Campaign API","count":11},{"language":"default","tag":"GHL Integration API","count":10},{"language":"default","tag":"Agent API","count":8},{"language":"default","tag":"Agent Tool API","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html.dark,html[class~=\"dark\"]{background-color:#0f0700}html.dark body,html[class~=\"dark\"] body{background:radial-gradient(circle at 78% 34%, rgba(255, 100, 20, 0.28), transparent 23rem),\n radial-gradient(circle at 67% 54%, rgba(220, 40, 10, 0.22), transparent 22rem),\n radial-gradient(circle at 82% 62%, rgba(180, 60, 0, 0.20), transparent 24rem),\n linear-gradient(180deg, #0f0700 0%, #100800 48%, #0a0500 100%)}html.dark #background-color,html[class~=\"dark\"] #background-color{background:radial-gradient(circle at 78% 34%, rgba(255, 100, 20, 0.28), transparent 23rem),\n radial-gradient(circle at 67% 54%, rgba(220, 40, 10, 0.22), transparent 22rem),\n radial-gradient(circle at 82% 62%, rgba(180, 60, 0, 0.20), transparent 24rem),\n linear-gradient(180deg, #0f0700 0%, #100800 48%, #0a0500 100%)}.auth-next-steps a{transition:border-color 160ms ease, box-shadow 160ms ease}.auth-next-steps a:hover{border-color:#f97316!important;box-shadow:0 0 0 1px #f97316}.regional-pricing-link{display:flex!important;align-items:center;justify-content:space-between;gap:16px;transition:border-color 160ms ease, box-shadow 160ms ease}.regional-pricing-link:hover{border-color:#f97316!important;box-shadow:0 0 0 1px #f97316}.regional-pricing-link__text{flex:1;min-width:0}.regional-pricing-link__cta{display:inline-flex;align-items:center;justify-content:center;border:1px solid #f97316;border-radius:8px;padding:8px 14px;color:#ea580c;font-size:14px;font-weight:700;white-space:nowrap;transition:background-color 160ms ease, color 160ms ease}.regional-pricing-link:hover .regional-pricing-link__cta{background-color:#f97316;color:#ffffff}@media (max-width: 700px){.regional-pricing-link{flex-direction:column;align-items:flex-start}}html.dark .enterprise-hero,html[class~=\"dark\"] .enterprise-hero{background:linear-gradient(180deg, #1f1308 0%, #2a180b 100%)!important;border-color:#7c2d12!important}html.dark .enterprise-kicker,html[class~=\"dark\"] .enterprise-kicker{color:#fb923c!important}html.dark .enterprise-title,html[class~=\"dark\"] .enterprise-title{color:#fff7ed!important}html.dark .enterprise-copy,html[class~=\"dark\"] .enterprise-copy,html.dark .enterprise-email-row,html[class~=\"dark\"] .enterprise-email-row{color:#fed7aa!important}html.dark .enterprise-email-row a,html[class~=\"dark\"] .enterprise-email-row a{color:#fdba74!important}html.dark .enterprise-booking-frame,html[class~=\"dark\"] .enterprise-booking-frame{border-color:#7c2d12!important;background:#1b1008!important}html.dark .enterprise-booking-iframe,html[class~=\"dark\"] .enterprise-booking-iframe{filter:invert(0.92) hue-rotate(180deg) saturate(0.85)}"}],"page":{"pagePath":"api-reference/campaigns/create","slug":"/api-reference/campaigns/create","pageMetadata":{"title":"Create Campaign","api":"POST https://api.ravan.ai/api/v1/campaigns/","description":"Create Campaign.","href":"/api-reference/campaigns/create"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create Campaign.\"\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`,hr:`hr`,p:`p`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[`Actual endpoint: `,_jsx(_components.code,{children:`POST https://api.ravan.ai/api/v1/campaigns/`}),` (note the trailing slash)`]}),`\n`,_jsx(Heading,{level:`3`,id:`authorizations`,children:`Authorizations`}),`\n`,_jsx(ParamField,{header:`X-Api-Key`,type:`string`,required:true,id:`param-x-api-key`,children:_jsxs(_components.p,{children:[`Your Agni API key used to authenticate the request. Pass it in the `,_jsx(_components.code,{children:`X-Api-Key`}),` header. Find or rotate it from your Ravan AI account settings.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,placeholder:`test agent harsh`,id:`param-name`,children:_jsx(_components.p,{children:`The internal name of the resource. Use a clear name that your team can recognize in the dashboard and API responses.`})}),`\n`,_jsx(ParamField,{body:`agentId`,type:`string`,required:true,placeholder:`019e92f8-f032-7fb7-b294-508f4167618e`,id:`param-agent-id`,children:_jsxs(_components.p,{children:[`The unique ID of the agent that should own, handle, or be assigned to this resource. Use the `,_jsx(_components.code,{children:`id`}),` returned by the Agent API.`]})}),`\n`,_jsx(ParamField,{body:`phoneNumberId`,type:`string`,required:true,placeholder:`019e92f4-097d-7a52-b5e5-fa7e0dd0761f`,id:`param-phone-number-id`,children:_jsx(_components.p,{children:`The phone number record ID to use for calls or campaigns. Use the ID returned by the telephony endpoints.`})}),`\n`,_jsx(ParamField,{body:`fromPhoneNumber`,type:`string`,required:true,placeholder:`+918035088113`,id:`param-from-phone-number`,children:_jsx(_components.p,{children:`The caller ID used for outbound calls, in E.164 format. The number must be purchased, imported, or connected in Agni.`})}),`\n`,_jsx(ParamField,{body:`contactIds`,type:`string[]`,required:true,id:`param-contact-ids`,children:_jsx(_components.p,{children:`A list of contact IDs to include in the request. Each ID must belong to a contact in your organization.`})}),`\n`,_jsxs(ParamField,{body:`schedule`,type:`object`,id:`param-schedule`,children:[_jsx(_components.p,{children:`The campaign schedule settings. Use this object to define calling windows, timezone, concurrency, and retry behavior.`}),_jsxs(Expandable,{title:`schedule`,children:[_jsx(ParamField,{body:`windowStart`,type:`string`,placeholder:`09:00`,id:`param-window-start`,children:_jsxs(_components.p,{children:[`The daily start time for campaign calls in `,_jsx(_components.code,{children:`HH:mm`}),` 24-hour format.`]})}),_jsx(ParamField,{body:`windowEnd`,type:`string`,placeholder:`17:00`,id:`param-window-end`,children:_jsxs(_components.p,{children:[`The daily end time for campaign calls in `,_jsx(_components.code,{children:`HH:mm`}),` 24-hour format.`]})}),_jsx(ParamField,{body:`windowDays`,type:`integer[]`,placeholder:`[1, 2, 3, 4, 5]`,id:`param-window-days`,children:_jsxs(_components.p,{children:[`The days of the week when the campaign can place calls. Use integers `,_jsx(_components.code,{children:`1`}),` through `,_jsx(_components.code,{children:`7`}),`, where `,_jsx(_components.code,{children:`1`}),` is Monday and `,_jsx(_components.code,{children:`7`}),` is Sunday.`]})}),_jsx(ParamField,{body:`timezone`,type:`string`,placeholder:`Asia/Kolkata`,id:`param-timezone`,children:_jsx(_components.p,{children:`The IANA timezone used for schedules and appointment availability.`})}),_jsx(ParamField,{body:`maxConcurrent`,type:`integer`,placeholder:`1`,id:`param-max-concurrent`,children:_jsx(_components.p,{children:`The maximum number of calls the campaign can run at the same time.`})}),_jsx(ParamField,{body:`retryAttempts`,type:`integer`,placeholder:`2`,id:`param-retry-attempts`,children:_jsx(_components.p,{children:`The maximum number of retry attempts per contact after an unsuccessful campaign call.`})}),_jsx(ParamField,{body:`retryGapMin`,type:`integer`,placeholder:`30`,id:`param-retry-gap-min`,children:_jsx(_components.p,{children:`The wait time, in minutes, between campaign retry attempts.`})})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`3`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`success`,type:`boolean`,id:`param-success`,children:_jsx(_components.p,{children:`Whether the request succeeded.`})}),`\n`,_jsx(ResponseField,{name:`message`,type:`string`,id:`param-message`,children:_jsx(_components.p,{children:`Human-readable status message.`})}),`\n`,_jsxs(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:[_jsx(_components.p,{children:`Created campaign object.`}),_jsxs(Expandable,{title:`data`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[`Campaign UUID. Example: `,_jsx(_components.code,{children:`019ebbef-48d7-7ebc-a751-4a10362a3bbf`})]})}),_jsx(ResponseField,{name:`organizationId`,type:`string`,id:`param-organization-id`,children:_jsxs(_components.p,{children:[`Organization UUID. Example: `,_jsx(_components.code,{children:`95a4e479-03a7-4f1b-834d-8705756e8e59`})]})}),_jsx(ResponseField,{name:`name`,type:`string`,id:`param-name-1`,children:_jsxs(_components.p,{children:[`Campaign name. Example: `,_jsx(_components.code,{children:`Q4 Outreach`})]})}),_jsx(ResponseField,{name:`agentId`,type:`string`,id:`param-agent-id-1`,children:_jsxs(_components.p,{children:[`Assigned agent UUID. Example: `,_jsx(_components.code,{children:`019e92f8-f032-7fb7-b294-508f4167618e`})]})}),_jsx(ResponseField,{name:`phoneNumberId`,type:`string`,id:`param-phone-number-id-1`,children:_jsxs(_components.p,{children:[`Phone number UUID. Example: `,_jsx(_components.code,{children:`019e92f4-097d-7a52-b5e5-fa7e0dd0761f`})]})}),_jsx(ResponseField,{name:`fromPhoneNumber`,type:`string`,id:`param-from-phone-number-1`,children:_jsxs(_components.p,{children:[`Caller ID in E.164 format. Example: `,_jsx(_components.code,{children:`+918035088113`})]})}),_jsx(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:_jsxs(_components.p,{children:[`Campaign status: `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`active`}),`, `,_jsx(_components.code,{children:`paused`}),`, `,_jsx(_components.code,{children:`completed`}),`.`]})}),_jsx(ResponseField,{name:`executionStatus`,type:`string`,id:`param-execution-status`,children:_jsxs(_components.p,{children:[`Execution state of the campaign: `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`running`}),`, `,_jsx(_components.code,{children:`paused`}),`, `,_jsx(_components.code,{children:`completed`}),`.`]})}),_jsxs(ResponseField,{name:`schedule`,type:`object`,id:`param-schedule-1`,children:[_jsx(_components.p,{children:`Campaign scheduling configuration.`}),_jsxs(Expandable,{title:`schedule`,children:[_jsx(ResponseField,{name:`start`,type:`string`,id:`param-start`,children:_jsx(_components.p,{children:`Campaign start datetime.`})}),_jsx(ResponseField,{name:`end`,type:`string`,id:`param-end`,children:_jsx(_components.p,{children:`Campaign end datetime.`})}),_jsx(ResponseField,{name:`windowStart`,type:`string`,id:`param-window-start-1`,children:_jsxs(_components.p,{children:[`Daily calling window start time. Example: `,_jsx(_components.code,{children:`09:00`})]})}),_jsx(ResponseField,{name:`windowEnd`,type:`string`,id:`param-window-end-1`,children:_jsxs(_components.p,{children:[`Daily calling window end time. Example: `,_jsx(_components.code,{children:`17:00`})]})}),_jsx(ResponseField,{name:`windowDays`,type:`integer[]`,id:`param-window-days-1`,children:_jsxs(_components.p,{children:[`Active days of the week (1=Monday … 7=Sunday). Example: `,_jsx(_components.code,{children:`[1, 2, 3, 4, 5]`})]})}),_jsx(ResponseField,{name:`timezone`,type:`string`,id:`param-timezone-1`,children:_jsxs(_components.p,{children:[`Timezone for the schedule. Example: `,_jsx(_components.code,{children:`Asia/Kolkata`})]})}),_jsx(ResponseField,{name:`maxConcurrent`,type:`integer`,id:`param-max-concurrent-1`,children:_jsxs(_components.p,{children:[`Maximum concurrent calls. Example: `,_jsx(_components.code,{children:`1`})]})}),_jsx(ResponseField,{name:`retryAttempts`,type:`integer`,id:`param-retry-attempts-1`,children:_jsxs(_components.p,{children:[`Number of retry attempts. Example: `,_jsx(_components.code,{children:`2`})]})}),_jsx(ResponseField,{name:`retryGapMin`,type:`integer`,id:`param-retry-gap-min-1`,children:_jsxs(_components.p,{children:[`Gap in minutes between retries. Example: `,_jsx(_components.code,{children:`30`})]})})]})]}),_jsxs(ResponseField,{name:`contactStats`,type:`object`,id:`param-contact-stats`,children:[_jsx(_components.p,{children:`Aggregated contact-level statistics.`}),_jsxs(Expandable,{title:`contactStats`,children:[_jsx(ResponseField,{name:`total`,type:`integer`,id:`param-total`,children:`Total contacts.`}),_jsx(ResponseField,{name:`contacted`,type:`integer`,id:`param-contacted`,children:`Contacts successfully reached.`}),_jsx(ResponseField,{name:`successful`,type:`integer`,id:`param-successful`,children:`Contacts with a successful outcome.`}),_jsx(ResponseField,{name:`failed`,type:`integer`,id:`param-failed`,children:`Contacts that failed.`}),_jsx(ResponseField,{name:`noAnswer`,type:`integer`,id:`param-no-answer`,children:`Contacts that did not answer.`}),_jsx(ResponseField,{name:`pending`,type:`integer`,id:`param-pending`,children:`Contacts yet to be called.`}),_jsx(ResponseField,{name:`inProgress`,type:`integer`,id:`param-in-progress`,children:`Contacts currently being called.`})]})]}),_jsx(ResponseField,{name:`startedAt`,type:`string`,id:`param-started-at`,children:_jsx(_components.p,{children:`Timestamp when the campaign started (ISO 8601).`})}),_jsx(ResponseField,{name:`completedAt`,type:`string`,id:`param-completed-at`,children:_jsx(_components.p,{children:`Timestamp when the campaign completed (ISO 8601).`})}),_jsx(ResponseField,{name:`createdAt`,type:`string`,id:`param-created-at`,children:_jsxs(_components.p,{children:[`Creation timestamp. Example: `,_jsx(_components.code,{children:`2026-06-12T13:04:41Z`})]})}),_jsx(ResponseField,{name:`updatedAt`,type:`string`,id:`param-updated-at`,children:_jsxs(_components.p,{children:[`Last updated timestamp. Example: `,_jsx(_components.code,{children:`2026-06-12T13:04:41Z`})]})}),_jsx(ResponseField,{name:`outboundMaxConcurrent`,type:`integer`,id:`param-outbound-max-concurrent`,children:_jsx(_components.p,{children:`Maximum concurrent outbound calls limit.`})}),_jsx(ResponseField,{name:`outboundMaxCps`,type:`integer`,id:`param-outbound-max-cps`,children:_jsx(_components.p,{children:`Maximum outbound calls per second.`})})]})]})]})}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","api":"POST https://api.ravan.ai/api/v1/campaigns/","description":"Create Campaign.","href":"/api-reference/campaigns/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authorizations","slug":"authorizations","depth":3,"children":[]},{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]}],"codeExamples":{},"endpoint":{"title":"Create Campaign","path":"/api/v1/campaigns/","servers":[{"url":"https://api.ravan.ai"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-Api-Key":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{"X-Api-Key":{"schema":[{"type":"string","description":"Your Agni API key used to authenticate the request. Pass it in the `X-Api-Key` header. Find or rotate it from your Ravan AI account settings.","required":true}]}},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"The internal name of the resource. Use a clear name that your team can recognize in the dashboard and API responses.","required":true,"placeholder":"test agent harsh"}],"agentId":[{"type":"string","description":"The unique ID of the agent that should own, handle, or be assigned to this resource. Use the `id` returned by the Agent API.","required":true,"placeholder":"019e92f8-f032-7fb7-b294-508f4167618e"}],"phoneNumberId":[{"type":"string","description":"The phone number record ID to use for calls or campaigns. Use the ID returned by the telephony endpoints.","required":true,"placeholder":"019e92f4-097d-7a52-b5e5-fa7e0dd0761f"}],"fromPhoneNumber":[{"type":"string","description":"The caller ID used for outbound calls, in E.164 format. The number must be purchased, imported, or connected in Agni.","required":true,"placeholder":"+918035088113"}],"contactIds":[{"type":"array","items":[{"type":"string"}],"description":"A list of contact IDs to include in the request. Each ID must belong to a contact in your organization.","required":true}],"schedule":[{"type":"object","properties":{"windowStart":[{"type":"string","description":"The daily start time for campaign calls in `HH:mm` 24-hour format.","placeholder":"09:00"}],"windowEnd":[{"type":"string","description":"The daily end time for campaign calls in `HH:mm` 24-hour format.","placeholder":"17:00"}],"windowDays":[{"type":"array","items":[{"type":"integer"}],"description":"The days of the week when the campaign can place calls. Use integers `1` through `7` , where `1` is Monday and `7` is Sunday.","placeholder":"[1, 2, 3, 4, 5]"}],"timezone":[{"type":"string","description":"The IANA timezone used for schedules and appointment availability.","placeholder":"Asia/Kolkata"}],"maxConcurrent":[{"type":"integer","description":"The maximum number of calls the campaign can run at the same time.","placeholder":"1"}],"retryAttempts":[{"type":"integer","description":"The maximum number of retry attempts per contact after an unsuccessful campaign call.","placeholder":"2"}],"retryGapMin":[{"type":"integer","description":"The wait time, in minutes, between campaign retry attempts.","placeholder":"30"}]},"description":"The campaign schedule settings. Use this object to define calling windows, timezone, concurrency, and retry behavior."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","agentId":"\u003cstring>","phoneNumberId":"\u003cstring>","fromPhoneNumber":"\u003cstring>","contactIds":["\u003cstring>"],"schedule":{"windowStart":"\u003cstring>","windowEnd":"\u003cstring>","windowDays":[123],"timezone":"\u003cstring>","maxConcurrent":123,"retryAttempts":123,"retryGapMin":123}}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the request succeeded."}],"message":[{"type":"string","description":"Human-readable status message."}],"data":[{"type":"object","properties":{"id":[{"type":"string","description":"Campaign UUID. Example: `019ebbef-48d7-7ebc-a751-4a10362a3bbf`"}],"organizationId":[{"type":"string","description":"Organization UUID. Example: `95a4e479-03a7-4f1b-834d-8705756e8e59`"}],"name":[{"type":"string","description":"Campaign name. Example: `Q4 Outreach`"}],"agentId":[{"type":"string","description":"Assigned agent UUID. Example: `019e92f8-f032-7fb7-b294-508f4167618e`"}],"phoneNumberId":[{"type":"string","description":"Phone number UUID. Example: `019e92f4-097d-7a52-b5e5-fa7e0dd0761f`"}],"fromPhoneNumber":[{"type":"string","description":"Caller ID in E.164 format. Example: `+918035088113`"}],"status":[{"type":"string","description":"Campaign status: `draft` , `active` , `paused` , `completed` ."}],"executionStatus":[{"type":"string","description":"Execution state of the campaign: `draft` , `running` , `paused` , `completed` ."}],"schedule":[{"type":"object","properties":{"start":[{"type":"string","description":"Campaign start datetime."}],"end":[{"type":"string","description":"Campaign end datetime."}],"windowStart":[{"type":"string","description":"Daily calling window start time. Example: `09:00`"}],"windowEnd":[{"type":"string","description":"Daily calling window end time. Example: `17:00`"}],"windowDays":[{"type":"array","items":[{"type":"integer"}],"description":"Active days of the week (1=Monday … 7=Sunday). Example: `[1, 2, 3, 4, 5]`"}],"timezone":[{"type":"string","description":"Timezone for the schedule. Example: `Asia/Kolkata`"}],"maxConcurrent":[{"type":"integer","description":"Maximum concurrent calls. Example: `1`"}],"retryAttempts":[{"type":"integer","description":"Number of retry attempts. Example: `2`"}],"retryGapMin":[{"type":"integer","description":"Gap in minutes between retries. Example: `30`"}]},"description":"Campaign scheduling configuration."}],"contactStats":[{"type":"object","properties":{"total":[{"type":"integer","description":"Total contacts."}],"contacted":[{"type":"integer","description":"Contacts successfully reached."}],"successful":[{"type":"integer","description":"Contacts with a successful outcome."}],"failed":[{"type":"integer","description":"Contacts that failed."}],"noAnswer":[{"type":"integer","description":"Contacts that did not answer."}],"pending":[{"type":"integer","description":"Contacts yet to be called."}],"inProgress":[{"type":"integer","description":"Contacts currently being called."}]},"description":"Aggregated contact-level statistics."}],"startedAt":[{"type":"string","description":"Timestamp when the campaign started (ISO 8601)."}],"completedAt":[{"type":"string","description":"Timestamp when the campaign completed (ISO 8601)."}],"createdAt":[{"type":"string","description":"Creation timestamp. Example: `2026-06-12T13:04:41Z`"}],"updatedAt":[{"type":"string","description":"Last updated timestamp. Example: `2026-06-12T13:04:41Z`"}],"outboundMaxConcurrent":[{"type":"integer","description":"Maximum concurrent outbound calls limit."}],"outboundMaxCps":[{"type":"integer","description":"Maximum outbound calls per second."}]},"description":"Created campaign object."}]}}],"examples":{"example":{"value":{"success":true,"message":"\u003cstring>","data":{"id":"\u003cstring>","organizationId":"\u003cstring>","name":"\u003cstring>","agentId":"\u003cstring>","phoneNumberId":"\u003cstring>","fromPhoneNumber":"\u003cstring>","status":"\u003cstring>","executionStatus":"\u003cstring>","schedule":{"start":"\u003cstring>","end":"\u003cstring>","windowStart":"\u003cstring>","windowEnd":"\u003cstring>","windowDays":[123],"timezone":"\u003cstring>","maxConcurrent":123,"retryAttempts":123,"retryGapMin":123},"contactStats":{"total":123,"contacted":123,"successful":123,"failed":123,"noAnswer":123,"pending":123,"inProgress":123},"startedAt":"\u003cstring>","completedAt":"\u003cstring>","createdAt":"\u003cstring>","updatedAt":"\u003cstring>","outboundMaxConcurrent":123,"outboundMaxCps":123}}}}}}},"deprecated":false}},"jsLinks":["/_mintlify/custom/agni/e3b0c44298fc1c14/build-openapi.js","/_mintlify/custom/agni/efdc12d3882511b9/fix-newlines.js","/_mintlify/custom/agni/b8fa0a4115baddda/fix-tabs.js"],"subdomain":"agni","siteName":"Agni","title":"Create Campaign - Agni","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-15T09:59:10.008Z","originalFileLocation":"api-reference/campaigns/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create Campaign.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Agni\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_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/agni/k8K1bIqWGq9Nswhg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Campaign - Agni\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create Campaign.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Agni\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ravan.ai/api-reference/campaigns/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://agni.mintlify.site/_mintlify/api/og/v2?division=Campaign+API\u0026amp;title=Create+Campaign\u0026amp;description=Create+Campaign.\u0026amp;theme=6fec8f896e523ced5b568193\u0026amp;signature=8171c545c8e9c1efb673f6da8b84227228e4e4eb26721d9c597e3b1cb323f5f4\">\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 - Agni\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create Campaign.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://agni.mintlify.site/_mintlify/api/og/v2?division=Campaign+API\u0026amp;title=Create+Campaign\u0026amp;description=Create+Campaign.\u0026amp;theme=6fec8f896e523ced5b568193\u0026amp;signature=8171c545c8e9c1efb673f6da8b84227228e4e4eb26721d9c597e3b1cb323f5f4\">\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/agni/k8K1bIqWGq9Nswhg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Agni\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#E8430A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ravan.ai/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=\"/api-reference/campaigns/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ravan.ai/#organization\",\"name\":\"Agni\",\"url\":\"https://docs.ravan.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/agni/McdbIs6domJMAyIV/logo/light.png?fit=max\u0026auto=format\u0026n=McdbIs6domJMAyIV\u0026q=85\u0026s=56e5c2c19fd673bc0f02949ea740516d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ravan.ai#website\",\"name\":\"Agni\",\"url\":\"https://docs.ravan.ai\",\"publisher\":{\"@id\":\"https://docs.ravan.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ravan.ai/api-reference/campaigns/create#webpage\",\"url\":\"https://docs.ravan.ai/api-reference/campaigns/create\",\"name\":\"Create Campaign\",\"description\":\"Create Campaign.\",\"dateModified\":\"2026-06-15T09:59:10.008Z\",\"isPartOf\":{\"@id\":\"https://docs.ravan.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ravan.ai/api-reference/campaigns/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ravan.ai/api-reference/campaigns/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campaign API\",\"item\":\"https://docs.ravan.ai/api-reference/campaigns/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Campaign\",\"item\":\"https://docs.ravan.ai/api-reference/campaigns/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ravan.ai/api-reference/campaigns/create#apireference\",\"headline\":\"Create Campaign\",\"name\":\"Create Campaign\",\"description\":\"Create Campaign.\",\"url\":\"https://docs.ravan.ai/api-reference/campaigns/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ravan.ai/api-reference/campaigns/create#webpage\"},\"dateModified\":\"2026-06-15T09:59:10.008Z\",\"publisher\":{\"@id\":\"https://docs.ravan.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ravan.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Agni\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Agni\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/campaigns/create.md","siteName":"Agni","nav":{"global":{"anchors":[{"anchor":"Demo","icon":"microphone","href":"https://agni.ravan.ai"},{"anchor":"Website","icon":"globe","href":"https://app.ravan.ai"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"Introduction","pages":[{"title":"API overview","href":"/api-reference/introduction"}]},{"group":"Agent API","pages":[{"title":"Get Agent","openapi":"GET /api/v1/agents/{id}/","href":"/api-reference/agents/get"},{"title":"List Agents","openapi":"GET /api/v1/agents/","href":"/api-reference/agents/list"},{"title":"List LLM Models With Voices","openapi":"GET /api/v1/available-llm-models/with-voices","href":"/api-reference/models/list-with-voices"},{"title":"List Voices for LLM Model","openapi":"GET /api/v1/available-voice-ids/{llm_model_id}/voices","href":"/api-reference/models/list-voices"},{"title":"Create Agent","api":"POST https://api.ravan.ai/api/v1/agents/","href":"/api-reference/agents/create"},{"title":"Update Agent","openapi":"PATCH /api/v1/agents/{id}/","href":"/api-reference/agents/update"},{"title":"Update Agent Status","openapi":"PATCH /api/v1/agents/{id}/status/","href":"/api-reference/agents/update-status"},{"title":"Delete Agent","openapi":"DELETE /api/v1/agents/{id}/","href":"/api-reference/agents/delete"}]},{"group":"Organization API","pages":[{"title":"Get organization profile","openapi":"GET /api/v1/organizations/profile/{id}","href":"/api-reference/organizations/profile"}]},{"group":"Agent Tool API","pages":[{"title":"Get Agent Tool","openapi":"GET /api/v1/tools/{id}/","href":"/api-reference/tools/get"},{"title":"List Agent Tools","openapi":"GET /api/v1/tools/","href":"/api-reference/tools/list"},{"title":"Create Agent Tool","openapi":"POST /api/v1/tools/","href":"/api-reference/tools/create"},{"title":"Update Agent Tool","openapi":"PATCH /api/v1/tools/{id}/","href":"/api-reference/tools/update"},{"title":"Delete Agent Tool","openapi":"DELETE /api/v1/tools/{id}/","href":"/api-reference/tools/delete"}]},{"group":"Phone Number \u0026 Telephony API","pages":[{"title":"List Available Numbers","openapi":"GET /api/v1/phone-numbers/available-numbers/{iso_country}/","href":"/api-reference/telephony/list-available-numbers"},{"title":"List Purchased Numbers","openapi":"GET /api/v1/phone-numbers/list","href":"/api-reference/telephony/list-purchased-numbers"},{"title":"List Imported Numbers","openapi":"GET /api/v1/phone-numbers/import","href":"/api-reference/telephony/list-imported-numbers"},{"title":"Get Imported Number","openapi":"GET /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/get-imported-number"},{"title":"List Twilio Owned Numbers","openapi":"GET /api/v1/phone-numbers/twilio-owned-numbers/","href":"/api-reference/telephony/list-twilio-numbers"},{"title":"Get Selected Telephony","openapi":"GET /api/v1/phone-numbers/selected-telephony","href":"/api-reference/telephony/get-selected-telephony"},{"title":"Buy Phone Number","openapi":"POST /api/v1/phone-numbers/buy/","href":"/api-reference/telephony/buy-number"},{"title":"Import Phone Number","openapi":"POST /api/v1/phone-numbers/import/","href":"/api-reference/telephony/import-number"},{"title":"Add Twilio Number","openapi":"POST /api/v1/phone-numbers/add-twilio","href":"/api-reference/telephony/add-twilio-number"},{"title":"Create Telephony Type","openapi":"POST /api/v1/phone-numbers/create/telephony/","href":"/api-reference/telephony/create-telephony"},{"title":"Update Imported Number","openapi":"PUT /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/update-imported-number"},{"title":"Release Phone Number","openapi":"DELETE /api/v1/phone-numbers/{phone_number}/release/","href":"/api-reference/telephony/release-number"},{"title":"Delete Imported Number","openapi":"DELETE /api/v1/phone-numbers/import/{id}","href":"/api-reference/telephony/delete-imported-number"}]},{"group":"Campaign API","pages":[{"title":"List Campaigns","api":"GET https://api.ravan.ai/api/v1/campaigns/","href":"/api-reference/campaigns/list"},{"title":"Get Campaign","api":"GET https://api.ravan.ai/api/v1/campaigns/{id}","href":"/api-reference/campaigns/get"},{"title":"List Campaign Contacts","openapi":"GET /api/v1/campaigns/{id}/contacts","description":"List Campaign Contacts.","href":"/api-reference/campaigns/list-contacts"},{"title":"Create Campaign","api":"POST https://api.ravan.ai/api/v1/campaigns/","href":"/api-reference/campaigns/create"},{"title":"Start Campaign","openapi":"POST /api/v1/campaigns/{id}/start","description":"Start Campaign.","href":"/api-reference/campaigns/start"},{"title":"Pause Campaign","openapi":"POST /api/v1/campaigns/{id}/pause","href":"/api-reference/campaigns/pause"},{"title":"Resume Campaign","openapi":"POST /api/v1/campaigns/{id}/resume","href":"/api-reference/campaigns/resume"},{"title":"Add Contacts to Campaign","openapi":"POST /api/v1/campaigns/{id}/contacts","href":"/api-reference/campaigns/add-contacts"},{"title":"Update Campaign","api":"PATCH https://api.ravan.ai/api/v1/campaigns/{id}","href":"/api-reference/campaigns/update"},{"title":"Delete Campaign","openapi":"DELETE /api/v1/campaigns/{id}","href":"/api-reference/campaigns/delete"},{"title":"Remove Contact from Campaign","openapi":"DELETE /api/v1/campaigns/{id}/contacts/{contact_id}","href":"/api-reference/campaigns/remove-contact"}]},{"group":"Contact API","pages":[{"title":"Get Contact","openapi":"GET /api/v1/contacts/{id}","href":"/api-reference/contacts/get"},{"title":"List Contacts","openapi":"GET /api/v1/contacts/","href":"/api-reference/contacts/list"},{"title":"Get Contact Detail","openapi":"GET /api/v1/contacts/{id}/detail","href":"/api-reference/contacts/detail"},{"title":"Get Contact Calls","openapi":"GET /api/v1/contacts/{id}/calls","href":"/api-reference/contacts/calls"},{"title":"Get Contact Call Stats","openapi":"GET /api/v1/contacts/{id}/calls/stats","href":"/api-reference/contacts/call-stats"},{"title":"Get Contact Activities","openapi":"GET /api/v1/contacts/{id}/activities","href":"/api-reference/contacts/activities"},{"title":"Get Contact Campaigns","openapi":"GET /api/v1/contacts/{id}/campaigns","href":"/api-reference/contacts/campaigns"},{"title":"List Contact Notes","openapi":"GET /api/v1/contacts/{id}/notes","href":"/api-reference/contacts/list-notes"},{"title":"Create Contact","openapi":"POST /api/v1/contacts/","href":"/api-reference/contacts/create"},{"title":"Bulk Delete Contacts","openapi":"POST /api/v1/contacts/bulk-delete","href":"/api-reference/contacts/bulk-delete"},{"title":"Create Contact Note","openapi":"POST /api/v1/contacts/{id}/notes","href":"/api-reference/contacts/create-note"},{"title":"Update Contact","openapi":"PATCH /api/v1/contacts/{id}","href":"/api-reference/contacts/update"},{"title":"Delete Contact","openapi":"DELETE /api/v1/contacts/{id}","href":"/api-reference/contacts/delete"}]},{"group":"Calling API","pages":[{"title":"List Call Sessions","openapi":"GET /api/v1/calling/call-sessions","href":"/api-reference/calling/list-sessions"},{"title":"Get Call Session Detail","openapi":"GET /api/v1/calling/call-sessions-detail/{id}","href":"/api-reference/calling/get-session-detail"},{"title":"Phone Call History","openapi":"GET /api/v1/calling/phone-history","href":"/api-reference/calling/phone-history"},{"title":"Create Call","openapi":"POST /api/v1/calling/create-call","href":"/api-reference/calling/create-call"}]},{"group":"Appointment API","pages":[{"title":"Manage GHL Appointment","openapi":"POST /api/v1/ghl/appointments/manage","href":"/api-reference/appointments/manage-ghl"},{"title":"Manage Cal.com Appointment","openapi":"POST /api/v1/calcom/appointments/manage","href":"/api-reference/appointments/manage-calcom"}]},{"group":"GHL Integration API","pages":[{"title":"GHL Setup Status","openapi":"GET /api/v1/ghl/setup/status","href":"/api-reference/ghl/setup-status"},{"title":"List GHL Calendars","openapi":"GET /api/v1/ghl/setup/calendars","href":"/api-reference/ghl/list-calendars"},{"title":"Get GHL Agent by Calendar","openapi":"GET /api/v1/ghl/setup/agents/calendar/{calendar_id}","href":"/api-reference/ghl/get-agent-by-calendar"},{"title":"List GHL Appointments","openapi":"GET /api/v1/ghl/appointments","href":"/api-reference/ghl/list-appointments"},{"title":"Get GHL Appointment","openapi":"GET /api/v1/ghl/appointments/{appointment_id}","href":"/api-reference/ghl/get-appointment"},{"title":"GHL OAuth Authorize","openapi":"GET /api/v1/ghl/oauth/authorize","href":"/api-reference/ghl/oauth-authorize"},{"title":"GHL OAuth Callback","openapi":"GET /api/v1/ghl/oauth/callback","href":"/api-reference/ghl/oauth-callback"},{"title":"Save Call Data","openapi":"POST /api/v1/ghl/calls/data","href":"/api-reference/ghl/save-call-data"},{"title":"Get or Create Contact","openapi":"POST /api/v1/ghl/contacts","href":"/api-reference/ghl/get-or-create-contact"},{"title":"Disconnect GHL","openapi":"POST /api/v1/ghl/disconnect","href":"/api-reference/ghl/disconnect"}]},{"group":"Cal.com Integration API","pages":[{"title":"Cal.com OAuth Connect","openapi":"GET /api/v1/calcom/oauth/connect","href":"/api-reference/calcom/oauth-connect"},{"title":"Cal.com OAuth Callback","openapi":"GET /api/v1/calcom/oauth/callback","href":"/api-reference/calcom/oauth-callback"},{"title":"Cal.com Connection Status","openapi":"GET /api/v1/calcom/status","href":"/api-reference/calcom/status"},{"title":"List Cal.com Event Types","openapi":"GET /api/v1/calcom/event-types","href":"/api-reference/calcom/list-event-types"},{"title":"Lookup Cal.com Event Type","openapi":"GET /api/v1/calcom/event-types/lookup/{platform_id}","href":"/api-reference/calcom/lookup-event-type"},{"title":"List Cal.com Appointments","openapi":"GET /api/v1/calcom/appointments","href":"/api-reference/calcom/list-appointments"},{"title":"Get Appointment","openapi":"GET /api/v1/calcom/appointments/{appointment_id}","href":"/api-reference/calcom/get-appointment"},{"title":"Get Agent Cal.com Account","openapi":"GET /api/v1/calcom/agents/{agent_id}/account","href":"/api-reference/calcom/get-agent-account"},{"title":"Get Agent Cal.com Status","openapi":"GET /api/v1/calcom/agents/{agent_id}/status","href":"/api-reference/calcom/agent-status"},{"title":"Get Agent Cal.com Info","openapi":"GET /api/v1/calcom/agents/{agent_id}/info","href":"/api-reference/calcom/agent-info"},{"title":"Disconnect Cal.com","openapi":"POST /api/v1/calcom/disconnect","href":"/api-reference/calcom/disconnect"},{"title":"Connect Agent Cal.com","openapi":"POST /api/v1/calcom/agents/{agent_id}/connect","href":"/api-reference/calcom/connect-agent"},{"title":"Assign Cal.com Account to Agent","openapi":"PUT /api/v1/calcom/agents/{agent_id}/account","href":"/api-reference/calcom/assign-agent-account"},{"title":"Disconnect Agent Cal.com","openapi":"DELETE /api/v1/calcom/agents/{agent_id}/disconnect","href":"/api-reference/calcom/disconnect-agent"}]},{"group":"RAG Knowledge Base API","pages":[{"title":"Get Knowledge Base","openapi":"GET /api/v1/rag/get-knowledge-base/{kb_id}","href":"/api-reference/rag/get-knowledge-base"},{"title":"List Knowledge Bases","openapi":"GET /api/v1/rag/knowledgebases","href":"/api-reference/rag/list-knowledge-bases"},{"title":"Get Document","openapi":"GET /api/v1/rag/document","href":"/api-reference/rag/get-document"},{"title":"List Documents","openapi":"GET /api/v1/rag/documents","href":"/api-reference/rag/list-documents"},{"title":"List Exclusions","openapi":"GET /api/v1/rag/exclusions","href":"/api-reference/rag/list-exclusions"},{"title":"Create Knowledge Base","openapi":"POST /api/v1/rag/create-knowledge-base","href":"/api-reference/rag/create-knowledge-base"},{"title":"Add Sources","openapi":"POST /api/v1/rag/knowledge-base/{kb_id}/add-sources","href":"/api-reference/rag/add-sources"},{"title":"Upsert Document","openapi":"POST /api/v1/rag/document","href":"/api-reference/rag/upsert-document"},{"title":"Query Knowledge Base","openapi":"POST /api/v1/rag/query","href":"/api-reference/rag/query"},{"title":"Discover URLs","openapi":"POST /api/v1/rag/discover","href":"/api-reference/rag/discover-urls"},{"title":"Refresh Knowledge Base","openapi":"POST /api/v1/rag/refresh","href":"/api-reference/rag/refresh"},{"title":"Manage Exclusions","openapi":"POST /api/v1/rag/exclusions","href":"/api-reference/rag/manage-exclusions"},{"title":"Delete Knowledge Base","openapi":"DELETE /api/v1/rag/delete-knowledge-base/{kb_id}","href":"/api-reference/rag/delete-knowledge-base"},{"title":"Delete Source","openapi":"DELETE /api/v1/rag/knowledge-base/{kb_id}/source/{source_id}","href":"/api-reference/rag/delete-source"}]},{"group":"Webhooks","pages":[{"title":"After-Call Webhook","href":"/api-reference/webhooks/call-completed"}]},{"group":"Health API","pages":[{"title":"Health Check","openapi":"GET /health","href":"/api-reference/health/health"},{"title":"Readiness Check","openapi":"GET /ready","href":"/api-reference/health/ready"}]}]}]},"basePath":"","title":"Create Campaign - Agni","buildId":"dpl_596ePT575z4qnAFksq1biRW97aLY","deploymentId":"dpl_596ePT575z4qnAFksq1biRW97aLY","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-C9Wu0MeN.js","utils-jWgu-6Qf.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DBD8f9qn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BGuX1ui5.js","snippetPresets-Evy63nQB.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BQHO1lnV.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-B6C8m-t_.js","shallow-BG4cT0fH.js","getApiPlaygroundDisplay-CgEPrE-D.js","CodeSnippet-CU8JyZ9N.js","CodeSnippets-BnxHU32T.js","Page-D6S0Yh6q.js","getPastedJson-CwiYOonh.js","icon-DYDpWmDf.js","MethodPill-C-J-l7_c.js","DuplicateIcon-B6ARwg9w.js","createIcon-Dsv4MtDq.js","DynamicMarkdown-CtasenyM.js","SectionHeading-YNcgYwjB.js","axios-vUo_bRtp.js"]}