This endpoint lets customers create campaigns programatically. New campaigns will be reviewed by the Sendo team and the cell carriers for compliance. This process takes an average of 2-5 business days. It is important that your submission is fully compliant in order to avoid rejections, which can delay the launch of your campaign.When creating a campaign programatically, we will deduct the $20 creation fee from your account balance. If you do not have enough funds in your account, the request will fail. The $10 monthly renewal fee will not be charged until the campaign is approved by the Sendo team.NOTE: Newly created campaigns will start with no phone numbers. You can add phone numbers to the campaign using the API endpoint to buy a number, or you can add them manually on the Sendo dashboard.
API support for creating webhooks is coming soon! 🚀
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Sendo","colors":{"primary":"#30B2E3","light":"#EBF7FD","dark":"#222222"},"favicon":"/favicon.png","logo":{"light":"https://mintcdn.com/winno/tzmbI69cVq0zXOlX/logo/light.png?fit=max\u0026auto=format\u0026n=tzmbI69cVq0zXOlX\u0026q=85\u0026s=f409898703163a5aacfe9831eb13e54b","dark":"https://mintcdn.com/winno/tzmbI69cVq0zXOlX/logo/dark.png?fit=max\u0026auto=format\u0026n=tzmbI69cVq0zXOlX\u0026q=85\u0026s=f376aacbe9796f6858e72819bf223bf4"},"api":{"mdx":{"server":"https://api.sendo.dev/v1/","auth":{"method":"bearer","name":null}}},"background":{"decoration":null,"color":{"light":null,"dark":"#0a0a0a"}},"navbar":{"links":[{"label":"Support","href":"mailto:support@sendo.dev"}],"primary":{"type":"button","label":"Dashboard","href":"https://sendo.dev/dashboard"}},"footer":{"socials":{"twitter":"https://twitter.com/usewinno","linkedin":"https://www.linkedin.com/company/usewinno"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"winno","hasAudioNarration":false,"actualSubdomain":"winno","customDomains":["docs.sendo.dev"],"gitSource":{"type":"github","owner":"winno-inc","repo":"sendo-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21c923633bafcd4b6530a2","collectionId":"d2e30d28-97ad-4f0f-ac0d-86b8578a626d","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21c923633bafcd4b6530a2:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":35},{"language":"default","tag":"Knowledge Base","count":17},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Campaign","count":6},{"language":"default","tag":"Registrations","count":5},{"language":"default","tag":"Number","count":4},{"language":"default","tag":"Brand","count":3},{"language":"default","tag":"Message","count":3},{"language":"default","tag":"Webhook","count":3},{"language":"default","tag":"Compliance","count":3}]},"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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/campaign/create","slug":"/api-reference/campaign/create","pageMetadata":{"title":"Create campaign","api":"POST https://api.sendo.dev/v1/campaign/create","description":"This endpoint creates a campaign.","href":"/api-reference/campaign/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: \"This endpoint creates a 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={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,Note,ParamField,ResponseField,Tip,Tooltip}=_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);if(!Tip)_missingMdxReference(`Tip`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This endpoint lets customers create campaigns programatically. New campaigns will be reviewed by the Sendo team and the cell carriers for compliance. This process takes an average of 2-5 business days. It is important that your submission is `,_jsx(_components.a,{href:`/knowledge-base/campaigns`,children:`fully compliant`}),` in order to avoid rejections, which can delay the launch of your campaign.`]}),`\n`,_jsxs(_components.p,{children:[`When creating a campaign programatically, we will deduct the $20 `,_jsx(_components.a,{href:`/knowledge-base/pricing`,children:`creation fee`}),` from your account balance. If you do not have enough funds in your account, the request will fail. The $10 monthly renewal fee will not be charged until the campaign is approved by the Sendo team.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` Newly created campaigns will start with no phone numbers. You can add phone numbers to the campaign using the API endpoint to `,_jsx(_components.a,{href:`/api-reference/number/buy`,children:`buy a number`}),`, or you can add them manually on the Sendo dashboard.`]}),`\n`,_jsx(Tip,{children:`API support for creating webhooks is coming soon! 🚀`}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`displayName`,type:`string`,id:`param-display-name`,children:_jsx(_components.p,{children:`The display name for the campaign.`})}),`\n`,_jsxs(ParamField,{body:`usecase`,type:`enum`,id:`param-usecase`,children:[_jsxs(_components.p,{children:[`The usecase for the campaign, i.e. `,_jsx(_components.code,{children:`MARKETING`}),`.`]}),_jsxs(Expandable,{title:`usecases options`,children:[_jsx(ParamField,{body:`2FA`,type:`string`,id:`param-2-fa`,children:_jsx(_components.p,{children:`Two-factor authentication codes.`})}),_jsx(ParamField,{body:`ACCOUNT_NOTIFICATION`,type:`string`,id:`param-account-notification`,children:_jsx(_components.p,{children:`Reminders, alerts and notifications to users.`})}),_jsx(ParamField,{body:`CUSTOMER_CARE`,type:`string`,id:`param-customer-care`,children:_jsx(_components.p,{children:`Conversational messages for user support.`})}),_jsx(ParamField,{body:`DELIVERY_NOTIFICATION`,type:`string`,id:`param-delivery-notification`,children:_jsx(_components.p,{children:`Updates about the status of a delivery.`})}),_jsx(ParamField,{body:`FRAUD_ALERT`,type:`string`,id:`param-fraud-alert`,children:_jsx(_components.p,{children:`Notifications alerting users to potential fraud.`})}),_jsx(ParamField,{body:`MARKETING`,type:`string`,id:`param-marketing`,children:_jsx(_components.p,{children:`Marketing or promotional messages.`})}),_jsx(ParamField,{body:`POLLING_VOTING`,type:`string`,id:`param-polling-voting`,children:_jsx(_components.p,{children:`Messages for polling or voting.`})}),_jsx(ParamField,{body:`SECURITY_ALERT`,type:`string`,id:`param-security-alert`,children:_jsx(_components.p,{children:`Notifications about the security of a system.`})}),_jsx(ParamField,{body:`HIGHER_EDUCATION`,type:`string`,id:`param-higher-education`,children:_jsx(_components.p,{children:`Messages sent on behalf of colleges or universities.`})}),_jsx(ParamField,{body:`K12_EDUCATION`,type:`string`,id:`param-k12-education`,children:_jsx(_components.p,{children:`Messages sent on behalf of K-12 schools.`})})]})]}),`\n`,_jsx(ParamField,{body:`brandId`,type:`string`,id:`param-brand-id`,children:_jsxs(_components.p,{children:[`The ID of the associated `,_jsx(_components.a,{href:`/knowledge-base/brands`,children:`brand`}),` (for resellers)`]})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsxs(_components.p,{children:[`A `,_jsx(Tooltip,{tip:`Must clearly describe the company, the product, and the situations in which text messages will be sent.`,children:`description`}),` of the messaging campaign.`]})}),`\n`,_jsx(ParamField,{body:`consentFlow`,type:`string`,id:`param-consent-flow`,children:_jsxs(_components.p,{children:[`An explanation of how `,_jsx(_components.a,{href:`/knowledge-base/consent`,children:`consent`}),` is obtained.`]})}),`\n`,_jsx(ParamField,{body:`screenshotUrl`,type:`string`,id:`param-screenshot-url`,children:_jsx(_components.p,{children:`A screenshot of the consent flow (optional).`})}),`\n`,_jsx(ParamField,{body:`sample1`,type:`string`,id:`param-sample1`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),`\n`,_jsx(ParamField,{body:`sample2`,type:`string`,id:`param-sample2`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),`\n`,_jsx(ParamField,{body:`sample3`,type:`string`,id:`param-sample3`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),`\n`,_jsx(ParamField,{body:`sample4`,type:`string`,id:`param-sample4`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),`\n`,_jsx(ParamField,{body:`sample5`,type:`string`,id:`param-sample5`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),`\n`,_jsx(ParamField,{body:`isLowVolume`,type:`boolean`,id:`param-is-low-volume`,children:_jsxs(_components.p,{children:[`Whether to register the campaign as `,_jsx(Tooltip,{tip:`Low volume campaings have daily messaging limits and renew monthly for $1.50 instead of $10.`,children:`low volume`}),`.`]})}),`\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 campaign was created successfully.`})}),`\n`,_jsxs(ResponseField,{name:`campaign`,type:`object`,id:`param-campaign`,children:[_jsx(_components.p,{children:`The contents of the campaign.`}),_jsxs(Expandable,{title:`campaign fields`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the retrieved campaign.`})}),_jsx(ResponseField,{name:`brandId`,type:`string`,id:`param-brand-id-1`,children:_jsxs(_components.p,{children:[`The ID of the associated `,_jsx(_components.a,{href:`/knowledge-base/brands`,children:`brand`}),`.`]})}),_jsx(ResponseField,{name:`displayName`,type:`string`,id:`param-display-name-1`,children:_jsx(_components.p,{children:`The display name of the campaign.`})}),_jsx(ResponseField,{name:`createdAt`,type:`timestamp`,id:`param-created-at`,children:_jsx(_components.p,{children:`The time the campaign was created.`})}),_jsx(ResponseField,{name:`updatedAt`,type:`timestamp`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The time the campaign was last updated.`})}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`The status of the campaign.`}),_jsxs(Expandable,{title:`campaign statuses`,children:[_jsx(ResponseField,{name:`DRAFT`,type:`string`,id:`param-draft`,children:_jsx(_components.p,{children:`The campaign is saved as a draft.`})}),_jsx(ResponseField,{name:`PENDING`,type:`string`,id:`param-pending`,children:_jsx(_components.p,{children:`The campaign is pending approval.`})}),_jsx(ResponseField,{name:`ACTIVE`,type:`string`,id:`param-active`,children:_jsx(_components.p,{children:`The campaign is approved and active.`})}),_jsx(ResponseField,{name:`EXPIRED`,type:`string`,id:`param-expired`,children:_jsx(_components.p,{children:`The campaign has been deactivated.`})})]})]}),_jsx(ResponseField,{name:`monthlyFee`,type:`number`,id:`param-monthly-fee`,children:_jsx(_components.p,{children:`Monthly renewal fee for the campaign (cents).`})}),_jsx(ResponseField,{name:`usecase`,type:`string`,id:`param-usecase-1`,children:_jsxs(_components.p,{children:[`The usecase for the campaign, i.e. `,_jsx(_components.code,{children:`MARKETING`}),`.`]})}),_jsx(ResponseField,{name:`subUsecases`,type:`string[]`,id:`param-sub-usecases`,children:_jsx(_components.p,{children:`An array of sub-usecases (optional).`})}),_jsxs(ResponseField,{name:`details`,type:`object`,id:`param-details`,children:[_jsx(_components.p,{children:`Object of submission details for the campaign.`}),_jsxs(Expandable,{title:`details fields`,children:[_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`A description of the messaging campaign.`})}),_jsx(ResponseField,{name:`consentFlow`,type:`string`,id:`param-consent-flow-1`,children:_jsxs(_components.p,{children:[`An explanation of how `,_jsx(_components.a,{href:`/knowledge-base/consent`,children:`consent`}),` is obtained.`]})}),_jsx(ResponseField,{name:`screenshotUrl`,type:`string`,id:`param-screenshot-url-1`,children:_jsx(_components.p,{children:`A screenshot of the consent flow (optional).`})}),_jsx(ResponseField,{name:`sample1`,type:`string`,id:`param-sample1-1`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),_jsx(ResponseField,{name:`sample2`,type:`string`,id:`param-sample2-1`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),_jsx(ResponseField,{name:`sample3`,type:`string`,id:`param-sample3-1`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),_jsx(ResponseField,{name:`sample4`,type:`string`,id:`param-sample4-1`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),_jsx(ResponseField,{name:`sample5`,type:`string`,id:`param-sample5-1`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),_jsx(ResponseField,{name:`optinKeywords`,type:`string[]`,id:`param-optin-keywords`,children:_jsx(_components.p,{children:`Array of keywords that trigger opt-in.`})}),_jsx(ResponseField,{name:`optoutKeywords`,type:`string[]`,id:`param-optout-keywords`,children:_jsx(_components.p,{children:`Array of keywords that trigger opt-out.`})}),_jsx(ResponseField,{name:`helpKeywords`,type:`string[]`,id:`param-help-keywords`,children:_jsx(_components.p,{children:`Array of keywords that trigger HELP message.`})}),_jsx(ResponseField,{name:`optinMessage`,type:`string`,id:`param-optin-message`,children:_jsx(_components.p,{children:`Message sent in response to opt-in keyword.`})}),_jsx(ResponseField,{name:`optoutMessage`,type:`string`,id:`param-optout-message`,children:_jsx(_components.p,{children:`Message sent in response to opt-out keyword.`})}),_jsx(ResponseField,{name:`helpMessage`,type:`string`,id:`param-help-message`,children:_jsx(_components.p,{children:`Message sent in response to HELP keyword.`})})]})]}),_jsxs(ResponseField,{name:`limits`,type:`object`,id:`param-limits`,children:[_jsx(_components.p,{children:`Object of carrier limits for the campaign.`}),_jsxs(Expandable,{title:`limits fields`,children:[_jsx(ResponseField,{name:`smsTpmAtt`,type:`number`,id:`param-sms-tpm-att`,children:_jsx(_components.p,{children:`SMS messages per minute limit to AT\u0026T.`})}),_jsx(ResponseField,{name:`mmsTpmAtt`,type:`number`,id:`param-mms-tpm-att`,children:_jsx(_components.p,{children:`MMS messages per minute limit to AT\u0026T.`})}),_jsx(ResponseField,{name:`dailyTmoCap`,type:`number`,id:`param-daily-tmo-cap`,children:_jsx(_components.p,{children:`Daily SMS/MMS limit to T-Mobile.`})})]})]})]}),_jsxs(Note,{children:[`The `,_jsx(_components.code,{children:`monthlyFee`}),` and carrier limits will be `,_jsx(_components.code,{children:`null`}),` until the campaign is approved by Sendo and submitted to the cell carriers for review.`]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsx(_components.p,{children:`Error message if the request fails.`})}),`\n`,_jsx(Heading,{level:`4`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`If the request fails, it will return an HTTP error status code and an `,_jsx(_components.code,{children:`error`}),` field in the body with details. Full list of status codes `,_jsx(_components.a,{href:`/api-reference/introduction`,children:`here`}),`.`]})]})}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.sendo.dev/v1/campaign/create","description":"This endpoint creates a campaign.","href":"/api-reference/campaign/create"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseExample,ResponseField,Tip,Tooltip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`This endpoint lets customers create campaigns programatically. New campaigns will be reviewed by the Sendo team and the cell carriers for compliance. This process takes an average of 2-5 business days. It is important that your submission is `,_jsx(_components.a,{href:`/knowledge-base/campaigns`,children:`fully compliant`}),` in order to avoid rejections, which can delay the launch of your campaign.`]}),`\n`,_jsxs(_components.p,{children:[`When creating a campaign programatically, we will deduct the $20 `,_jsx(_components.a,{href:`/knowledge-base/pricing`,children:`creation fee`}),` from your account balance. If you do not have enough funds in your account, the request will fail. The $10 monthly renewal fee will not be charged until the campaign is approved by the Sendo team.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`NOTE:`}),` Newly created campaigns will start with no phone numbers. You can add phone numbers to the campaign using the API endpoint to `,_jsx(_components.a,{href:`/api-reference/number/buy`,children:`buy a number`}),`, or you can add them manually on the Sendo dashboard.`]}),`\n`,_jsx(Tip,{children:`API support for creating webhooks is coming soon! 🚀`}),`\n`,_jsx(Heading,{level:`3`,id:`body`,children:`Body`}),`\n`,_jsx(ParamField,{body:`displayName`,type:`string`,id:`param-display-name`,children:_jsx(_components.p,{children:`The display name for the campaign.`})}),`\n`,_jsxs(ParamField,{body:`usecase`,type:`enum`,id:`param-usecase`,children:[_jsxs(_components.p,{children:[`The usecase for the campaign, i.e. `,_jsx(_components.code,{children:`MARKETING`}),`.`]}),_jsxs(Expandable,{title:`usecases options`,children:[_jsx(ParamField,{body:`2FA`,type:`string`,id:`param-2-fa`,children:_jsx(_components.p,{children:`Two-factor authentication codes.`})}),_jsx(ParamField,{body:`ACCOUNT_NOTIFICATION`,type:`string`,id:`param-account-notification`,children:_jsx(_components.p,{children:`Reminders, alerts and notifications to users.`})}),_jsx(ParamField,{body:`CUSTOMER_CARE`,type:`string`,id:`param-customer-care`,children:_jsx(_components.p,{children:`Conversational messages for user support.`})}),_jsx(ParamField,{body:`DELIVERY_NOTIFICATION`,type:`string`,id:`param-delivery-notification`,children:_jsx(_components.p,{children:`Updates about the status of a delivery.`})}),_jsx(ParamField,{body:`FRAUD_ALERT`,type:`string`,id:`param-fraud-alert`,children:_jsx(_components.p,{children:`Notifications alerting users to potential fraud.`})}),_jsx(ParamField,{body:`MARKETING`,type:`string`,id:`param-marketing`,children:_jsx(_components.p,{children:`Marketing or promotional messages.`})}),_jsx(ParamField,{body:`POLLING_VOTING`,type:`string`,id:`param-polling-voting`,children:_jsx(_components.p,{children:`Messages for polling or voting.`})}),_jsx(ParamField,{body:`SECURITY_ALERT`,type:`string`,id:`param-security-alert`,children:_jsx(_components.p,{children:`Notifications about the security of a system.`})}),_jsx(ParamField,{body:`HIGHER_EDUCATION`,type:`string`,id:`param-higher-education`,children:_jsx(_components.p,{children:`Messages sent on behalf of colleges or universities.`})}),_jsx(ParamField,{body:`K12_EDUCATION`,type:`string`,id:`param-k12-education`,children:_jsx(_components.p,{children:`Messages sent on behalf of K-12 schools.`})})]})]}),`\n`,_jsx(ParamField,{body:`brandId`,type:`string`,id:`param-brand-id`,children:_jsxs(_components.p,{children:[`The ID of the associated `,_jsx(_components.a,{href:`/knowledge-base/brands`,children:`brand`}),` (for resellers)`]})}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsxs(_components.p,{children:[`A `,_jsx(Tooltip,{tip:`Must clearly describe the company, the product, and the situations in which text messages will be sent.`,children:`description`}),` of the messaging campaign.`]})}),`\n`,_jsx(ParamField,{body:`consentFlow`,type:`string`,id:`param-consent-flow`,children:_jsxs(_components.p,{children:[`An explanation of how `,_jsx(_components.a,{href:`/knowledge-base/consent`,children:`consent`}),` is obtained.`]})}),`\n`,_jsx(ParamField,{body:`screenshotUrl`,type:`string`,id:`param-screenshot-url`,children:_jsx(_components.p,{children:`A screenshot of the consent flow (optional).`})}),`\n`,_jsx(ParamField,{body:`sample1`,type:`string`,id:`param-sample1`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),`\n`,_jsx(ParamField,{body:`sample2`,type:`string`,id:`param-sample2`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),`\n`,_jsx(ParamField,{body:`sample3`,type:`string`,id:`param-sample3`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),`\n`,_jsx(ParamField,{body:`sample4`,type:`string`,id:`param-sample4`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),`\n`,_jsx(ParamField,{body:`sample5`,type:`string`,id:`param-sample5`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),`\n`,_jsx(ParamField,{body:`isLowVolume`,type:`boolean`,id:`param-is-low-volume`,children:_jsxs(_components.p,{children:[`Whether to register the campaign as `,_jsx(Tooltip,{tip:`Low volume campaings have daily messaging limits and renew monthly for $1.50 instead of $10.`,children:`low volume`}),`.`]})}),`\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 campaign was created successfully.`})}),`\n`,_jsxs(ResponseField,{name:`campaign`,type:`object`,id:`param-campaign`,children:[_jsx(_components.p,{children:`The contents of the campaign.`}),_jsxs(Expandable,{title:`campaign fields`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsx(_components.p,{children:`The ID of the retrieved campaign.`})}),_jsx(ResponseField,{name:`brandId`,type:`string`,id:`param-brand-id-1`,children:_jsxs(_components.p,{children:[`The ID of the associated `,_jsx(_components.a,{href:`/knowledge-base/brands`,children:`brand`}),`.`]})}),_jsx(ResponseField,{name:`displayName`,type:`string`,id:`param-display-name-1`,children:_jsx(_components.p,{children:`The display name of the campaign.`})}),_jsx(ResponseField,{name:`createdAt`,type:`timestamp`,id:`param-created-at`,children:_jsx(_components.p,{children:`The time the campaign was created.`})}),_jsx(ResponseField,{name:`updatedAt`,type:`timestamp`,id:`param-updated-at`,children:_jsx(_components.p,{children:`The time the campaign was last updated.`})}),_jsxs(ResponseField,{name:`status`,type:`string`,id:`param-status`,children:[_jsx(_components.p,{children:`The status of the campaign.`}),_jsxs(Expandable,{title:`campaign statuses`,children:[_jsx(ResponseField,{name:`DRAFT`,type:`string`,id:`param-draft`,children:_jsx(_components.p,{children:`The campaign is saved as a draft.`})}),_jsx(ResponseField,{name:`PENDING`,type:`string`,id:`param-pending`,children:_jsx(_components.p,{children:`The campaign is pending approval.`})}),_jsx(ResponseField,{name:`ACTIVE`,type:`string`,id:`param-active`,children:_jsx(_components.p,{children:`The campaign is approved and active.`})}),_jsx(ResponseField,{name:`EXPIRED`,type:`string`,id:`param-expired`,children:_jsx(_components.p,{children:`The campaign has been deactivated.`})})]})]}),_jsx(ResponseField,{name:`monthlyFee`,type:`number`,id:`param-monthly-fee`,children:_jsx(_components.p,{children:`Monthly renewal fee for the campaign (cents).`})}),_jsx(ResponseField,{name:`usecase`,type:`string`,id:`param-usecase-1`,children:_jsxs(_components.p,{children:[`The usecase for the campaign, i.e. `,_jsx(_components.code,{children:`MARKETING`}),`.`]})}),_jsx(ResponseField,{name:`subUsecases`,type:`string[]`,id:`param-sub-usecases`,children:_jsx(_components.p,{children:`An array of sub-usecases (optional).`})}),_jsxs(ResponseField,{name:`details`,type:`object`,id:`param-details`,children:[_jsx(_components.p,{children:`Object of submission details for the campaign.`}),_jsxs(Expandable,{title:`details fields`,children:[_jsx(ResponseField,{name:`description`,type:`string`,id:`param-description-1`,children:_jsx(_components.p,{children:`A description of the messaging campaign.`})}),_jsx(ResponseField,{name:`consentFlow`,type:`string`,id:`param-consent-flow-1`,children:_jsxs(_components.p,{children:[`An explanation of how `,_jsx(_components.a,{href:`/knowledge-base/consent`,children:`consent`}),` is obtained.`]})}),_jsx(ResponseField,{name:`screenshotUrl`,type:`string`,id:`param-screenshot-url-1`,children:_jsx(_components.p,{children:`A screenshot of the consent flow (optional).`})}),_jsx(ResponseField,{name:`sample1`,type:`string`,id:`param-sample1-1`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),_jsx(ResponseField,{name:`sample2`,type:`string`,id:`param-sample2-1`,children:_jsx(_components.p,{children:`A sample message for the campaign.`})}),_jsx(ResponseField,{name:`sample3`,type:`string`,id:`param-sample3-1`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),_jsx(ResponseField,{name:`sample4`,type:`string`,id:`param-sample4-1`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),_jsx(ResponseField,{name:`sample5`,type:`string`,id:`param-sample5-1`,children:_jsx(_components.p,{children:`A sample message for the campaign (optional).`})}),_jsx(ResponseField,{name:`optinKeywords`,type:`string[]`,id:`param-optin-keywords`,children:_jsx(_components.p,{children:`Array of keywords that trigger opt-in.`})}),_jsx(ResponseField,{name:`optoutKeywords`,type:`string[]`,id:`param-optout-keywords`,children:_jsx(_components.p,{children:`Array of keywords that trigger opt-out.`})}),_jsx(ResponseField,{name:`helpKeywords`,type:`string[]`,id:`param-help-keywords`,children:_jsx(_components.p,{children:`Array of keywords that trigger HELP message.`})}),_jsx(ResponseField,{name:`optinMessage`,type:`string`,id:`param-optin-message`,children:_jsx(_components.p,{children:`Message sent in response to opt-in keyword.`})}),_jsx(ResponseField,{name:`optoutMessage`,type:`string`,id:`param-optout-message`,children:_jsx(_components.p,{children:`Message sent in response to opt-out keyword.`})}),_jsx(ResponseField,{name:`helpMessage`,type:`string`,id:`param-help-message`,children:_jsx(_components.p,{children:`Message sent in response to HELP keyword.`})})]})]}),_jsxs(ResponseField,{name:`limits`,type:`object`,id:`param-limits`,children:[_jsx(_components.p,{children:`Object of carrier limits for the campaign.`}),_jsxs(Expandable,{title:`limits fields`,children:[_jsx(ResponseField,{name:`smsTpmAtt`,type:`number`,id:`param-sms-tpm-att`,children:_jsx(_components.p,{children:`SMS messages per minute limit to AT\u0026T.`})}),_jsx(ResponseField,{name:`mmsTpmAtt`,type:`number`,id:`param-mms-tpm-att`,children:_jsx(_components.p,{children:`MMS messages per minute limit to AT\u0026T.`})}),_jsx(ResponseField,{name:`dailyTmoCap`,type:`number`,id:`param-daily-tmo-cap`,children:_jsx(_components.p,{children:`Daily SMS/MMS limit to T-Mobile.`})})]})]})]}),_jsxs(Note,{children:[`The `,_jsx(_components.code,{children:`monthlyFee`}),` and carrier limits will be `,_jsx(_components.code,{children:`null`}),` until the campaign is approved by Sendo and submitted to the cell carriers for review.`]})]}),`\n`,_jsx(ResponseField,{name:`error`,type:`string`,id:`param-error`,children:_jsx(_components.p,{children:`Error message if the request fails.`})}),`\n`,_jsx(Heading,{level:`4`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.p,{children:[`If the request fails, it will return an HTTP error status code and an `,_jsx(_components.code,{children:`error`}),` field in the body with details. Full list of status codes `,_jsx(_components.a,{href:`/api-reference/introduction`,children:`here`}),`.`]}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`Success`,numberOfLines:`45`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`45`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"campaign\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"U7fQ39nX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"brandId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A8wm4k2s\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Internal Testing\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-21T00:42:01.007Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2023-09-21T00:42:01.007Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ACTIVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"monthlyFee\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"usecase\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MIXED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"subUsecases\"`}),_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:` \"CUSTOMER_CARE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ACCOUNT_NOTIFICATION\"`})}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"details\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This campaign will be used for 2FA login codes.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"consentFlow\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Users consent to receive SMS when making an account.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"screenshotUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://sendo-images.s3.amazonaws.com/OTPVerification-7bf5878dc5.png\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your Sendo login code is 123456.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Your Sendo login code is 987654.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sample5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optinKeywords\"`}),_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:` \"START\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"SUBSCRIBE\"`})}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optoutKeywords\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"STOP\"`})}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"helpKeywords\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"HELP\"`})}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optinMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You've subscribed to receive messages from this number. Reply STOP to unsubscribe.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"optoutMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"You will no longer receive messages from this number. Reply START to subscribe again.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"helpMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Text STOP to unsubscribe. Email support@sendo.dev with any questions.\"`})]}),`\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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limits\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"smsTpmAtt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mmsTpmAtt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"dailyTmoCap\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\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:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Error`,numberOfLines:`4`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_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:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Insufficient account balance\"`})]}),`\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","api":"POST https://api.sendo.dev/v1/campaign/create","description":"This endpoint creates a campaign.","href":"/api-reference/campaign/create"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Body","slug":"body","depth":3,"children":[]},{"title":"Response","slug":"response","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":4,"children":[]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"Success","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"45\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"campaign\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"U7fQ39nX\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"brandId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A8wm4k2s\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"displayName\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Internal Testing\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-09-21T00:42:01.007Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2023-09-21T00:42:01.007Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"ACTIVE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"monthlyFee\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"usecase\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"MIXED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"subUsecases\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"CUSTOMER_CARE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"ACCOUNT_NOTIFICATION\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"details\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"description\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"This campaign will be used for 2FA login codes.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"consentFlow\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Users consent to receive SMS when making an account.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"screenshotUrl\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://sendo-images.s3.amazonaws.com/OTPVerification-7bf5878dc5.png\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sample1\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Your Sendo login code is 123456.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sample2\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Your Sendo login code is 987654.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sample3\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sample4\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"sample5\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"optinKeywords\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"START\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"SUBSCRIBE\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"optoutKeywords\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"STOP\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"helpKeywords\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"HELP\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"optinMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"You've subscribed to receive messages from this number. Reply STOP to unsubscribe.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"optoutMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"You will no longer receive messages from this number. Reply START to subscribe again.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"helpMessage\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Text STOP to unsubscribe. Email support@sendo.dev with any questions.\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"limits\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"smsTpmAtt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mmsTpmAtt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"dailyTmoCap\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Error","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"4\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"success\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Insufficient account balance\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create campaign","path":"/v1/campaign/create","servers":[{"url":"https://api.sendo.dev"}],"method":"post","request":{"security":[{"title":"Bearer Auth","parameters":{"header":{"Authorization":{"type":"http","scheme":"bearer","description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token."}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"displayName":[{"type":"string","description":"The display name for the campaign."}],"usecase":[{"type":"object","properties":{"2FA":[{"type":"string","description":"Two-factor authentication codes."}],"ACCOUNT_NOTIFICATION":[{"type":"string","description":"Reminders, alerts and notifications to users."}],"CUSTOMER_CARE":[{"type":"string","description":"Conversational messages for user support."}],"DELIVERY_NOTIFICATION":[{"type":"string","description":"Updates about the status of a delivery."}],"FRAUD_ALERT":[{"type":"string","description":"Notifications alerting users to potential fraud."}],"MARKETING":[{"type":"string","description":"Marketing or promotional messages."}],"POLLING_VOTING":[{"type":"string","description":"Messages for polling or voting."}],"SECURITY_ALERT":[{"type":"string","description":"Notifications about the security of a system."}],"HIGHER_EDUCATION":[{"type":"string","description":"Messages sent on behalf of colleges or universities."}],"K12_EDUCATION":[{"type":"string","description":"Messages sent on behalf of K-12 schools."}]},"description":"The usecase for the campaign, i.e. `MARKETING` ."}],"brandId":[{"type":"string","description":"The ID of the associated brand (for resellers)"}],"description":[{"type":"string","description":"A of the messaging campaign."}],"consentFlow":[{"type":"string","description":"An explanation of how consent is obtained."}],"screenshotUrl":[{"type":"string","description":"A screenshot of the consent flow (optional)."}],"sample1":[{"type":"string","description":"A sample message for the campaign."}],"sample2":[{"type":"string","description":"A sample message for the campaign."}],"sample3":[{"type":"string","description":"A sample message for the campaign (optional)."}],"sample4":[{"type":"string","description":"A sample message for the campaign (optional)."}],"sample5":[{"type":"string","description":"A sample message for the campaign (optional)."}],"isLowVolume":[{"type":"boolean","description":"Whether to register the campaign as ."}]}}],"examples":{"example":{"value":{"displayName":"\u003cstring>","usecase":{"2FA":"\u003cstring>","ACCOUNT_NOTIFICATION":"\u003cstring>","CUSTOMER_CARE":"\u003cstring>","DELIVERY_NOTIFICATION":"\u003cstring>","FRAUD_ALERT":"\u003cstring>","MARKETING":"\u003cstring>","POLLING_VOTING":"\u003cstring>","SECURITY_ALERT":"\u003cstring>","HIGHER_EDUCATION":"\u003cstring>","K12_EDUCATION":"\u003cstring>"},"brandId":"\u003cstring>","description":"\u003cstring>","consentFlow":"\u003cstring>","screenshotUrl":"\u003cstring>","sample1":"\u003cstring>","sample2":"\u003cstring>","sample3":"\u003cstring>","sample4":"\u003cstring>","sample5":"\u003cstring>","isLowVolume":true}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"success":[{"type":"boolean","description":"Whether the campaign was created successfully."}],"campaign":[{"type":"object","properties":{"id":[{"type":"string","description":"The ID of the retrieved campaign."}],"brandId":[{"type":"string","description":"The ID of the associated brand ."}],"displayName":[{"type":"string","description":"The display name of the campaign."}],"createdAt":[{"type":"object","properties":{},"description":"The time the campaign was created."}],"updatedAt":[{"type":"object","properties":{},"description":"The time the campaign was last updated."}],"status":[{"type":"string","description":"The status of the campaign."}],"monthlyFee":[{"type":"number","description":"Monthly renewal fee for the campaign (cents)."}],"usecase":[{"type":"string","description":"The usecase for the campaign, i.e. `MARKETING` ."}],"subUsecases":[{"type":"array","items":[{"type":"string"}],"description":"An array of sub-usecases (optional)."}],"details":[{"type":"object","properties":{"description":[{"type":"string","description":"A description of the messaging campaign."}],"consentFlow":[{"type":"string","description":"An explanation of how consent is obtained."}],"screenshotUrl":[{"type":"string","description":"A screenshot of the consent flow (optional)."}],"sample1":[{"type":"string","description":"A sample message for the campaign."}],"sample2":[{"type":"string","description":"A sample message for the campaign."}],"sample3":[{"type":"string","description":"A sample message for the campaign (optional)."}],"sample4":[{"type":"string","description":"A sample message for the campaign (optional)."}],"sample5":[{"type":"string","description":"A sample message for the campaign (optional)."}],"optinKeywords":[{"type":"array","items":[{"type":"string"}],"description":"Array of keywords that trigger opt-in."}],"optoutKeywords":[{"type":"array","items":[{"type":"string"}],"description":"Array of keywords that trigger opt-out."}],"helpKeywords":[{"type":"array","items":[{"type":"string"}],"description":"Array of keywords that trigger HELP message."}],"optinMessage":[{"type":"string","description":"Message sent in response to opt-in keyword."}],"optoutMessage":[{"type":"string","description":"Message sent in response to opt-out keyword."}],"helpMessage":[{"type":"string","description":"Message sent in response to HELP keyword."}]},"description":"Object of submission details for the campaign."}],"limits":[{"type":"object","properties":{"smsTpmAtt":[{"type":"number","description":"SMS messages per minute limit to AT\u0026T."}],"mmsTpmAtt":[{"type":"number","description":"MMS messages per minute limit to AT\u0026T."}],"dailyTmoCap":[{"type":"number","description":"Daily SMS/MMS limit to T-Mobile."}]},"description":"Object of carrier limits for the campaign."}]},"description":"The contents of the campaign."}],"error":[{"type":"string","description":"Error message if the request fails."}]}}],"examples":{"example":{"value":{"success":true,"campaign":{"id":"\u003cstring>","brandId":"\u003cstring>","displayName":"\u003cstring>","createdAt":{},"updatedAt":{},"status":"\u003cstring>","monthlyFee":123,"usecase":"\u003cstring>","subUsecases":["\u003cstring>"],"details":{"description":"\u003cstring>","consentFlow":"\u003cstring>","screenshotUrl":"\u003cstring>","sample1":"\u003cstring>","sample2":"\u003cstring>","sample3":"\u003cstring>","sample4":"\u003cstring>","sample5":"\u003cstring>","optinKeywords":["\u003cstring>"],"optoutKeywords":["\u003cstring>"],"helpKeywords":["\u003cstring>"],"optinMessage":"\u003cstring>","optoutMessage":"\u003cstring>","helpMessage":"\u003cstring>"},"limits":{"smsTpmAtt":123,"mmsTpmAtt":123,"dailyTmoCap":123}},"error":"\u003cstring>"}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"winno","siteName":"Sendo","title":"Create campaign - Sendo","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:44:21.812Z","originalFileLocation":"api-reference/campaign/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=\"This endpoint creates a campaign.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Sendo\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_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/winno/W0yqjplxwklRlTq3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create campaign - Sendo\">\u003cmeta data-mint-head property=\"og:description\" content=\"This endpoint creates a campaign.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Sendo\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.sendo.dev/api-reference/campaign/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://winno.mintlify.app/_mintlify/api/og/v2?division=Campaign\u0026amp;title=Create+campaign\u0026amp;description=This+endpoint+creates+a+campaign.\u0026amp;theme=b1059a098190172a140d9d9c\u0026amp;signature=39c034607e2442e012642bd753eee966a25062756f5bea083214eaf83c4df217\">\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 - Sendo\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This endpoint creates a campaign.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://winno.mintlify.app/_mintlify/api/og/v2?division=Campaign\u0026amp;title=Create+campaign\u0026amp;description=This+endpoint+creates+a+campaign.\u0026amp;theme=b1059a098190172a140d9d9c\u0026amp;signature=39c034607e2442e012642bd753eee966a25062756f5bea083214eaf83c4df217\">\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/winno/W0yqjplxwklRlTq3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Sendo\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#30B2E3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.sendo.dev/api-reference/campaign/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/campaign/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.sendo.dev/#organization\",\"name\":\"Sendo\",\"url\":\"https://docs.sendo.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/winno/tzmbI69cVq0zXOlX/logo/light.png?fit=max\u0026auto=format\u0026n=tzmbI69cVq0zXOlX\u0026q=85\u0026s=f409898703163a5aacfe9831eb13e54b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.sendo.dev#website\",\"name\":\"Sendo\",\"url\":\"https://docs.sendo.dev\",\"publisher\":{\"@id\":\"https://docs.sendo.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.sendo.dev/api-reference/campaign/create#webpage\",\"url\":\"https://docs.sendo.dev/api-reference/campaign/create\",\"name\":\"Create campaign\",\"description\":\"This endpoint creates a campaign.\",\"dateModified\":\"2026-01-06T23:44:21.812Z\",\"isPartOf\":{\"@id\":\"https://docs.sendo.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.sendo.dev/api-reference/campaign/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.sendo.dev/api-reference/campaign/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sendo\",\"item\":\"https://docs.sendo.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create campaign\",\"item\":\"https://docs.sendo.dev/api-reference/campaign/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.sendo.dev/api-reference/campaign/create#apireference\",\"headline\":\"Create campaign\",\"name\":\"Create campaign\",\"description\":\"This endpoint creates a campaign.\",\"url\":\"https://docs.sendo.dev/api-reference/campaign/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.sendo.dev/api-reference/campaign/create#webpage\"},\"dateModified\":\"2026-01-06T23:44:21.812Z\",\"publisher\":{\"@id\":\"https://docs.sendo.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.sendo.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Sendo\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Sendo","nav":{"global":null,"anchors":[{"anchor":"API Reference","icon":"rectangle-terminal","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Webhooks","href":"/api-reference/webhooks"},{"title":"MMS Messaging","sidebarTitle":"Sending MMS","href":"/api-reference/media"},{"title":"Sending vCards","sidebarTitle":"Contact cards","href":"/api-reference/vcards"},{"title":"Multiple senders","sidebarTitle":"Multiple senders","href":"/api-reference/senders"},{"title":"Errors","sidebarTitle":"Error codes","href":"/api-reference/errors"},{"title":"Carrier limits","sidebarTitle":"Carrier limits","href":"/api-reference/limits"},{"title":"Custom metadata","sidebarTitle":"Metadata","href":"/api-reference/metadata"}]},{"group":"Message","pages":[{"title":"Send message","api":"POST https://api.sendo.dev/v1/message/send","href":"/api-reference/message/send"},{"title":"Retrieve message","api":"GET https://api.sendo.dev/v1/message/{id}","href":"/api-reference/message/retrieve"},{"title":"List messages","api":"GET https://api.sendo.dev/v1/message/list","href":"/api-reference/message/list"}]},{"group":"Brand","pages":[{"title":"Create brand","api":"POST https://api.sendo.dev/v1/brand/create","href":"/api-reference/brand/create"},{"title":"Retrieve brand","api":"GET https://api.sendo.dev/v1/brand/{id}","href":"/api-reference/brand/retrieve"},{"title":"List brands","api":"GET https://api.sendo.dev/v1/brand/list","description":"This endpoint lists your brands.","href":"/api-reference/brand/list"}]},{"group":"Campaign","pages":[{"title":"Create campaign","api":"POST https://api.sendo.dev/v1/campaign/create","href":"/api-reference/campaign/create"},{"title":"Retrieve campaign","api":"GET https://api.sendo.dev/v1/campaign/{id}","description":"This endpoint retrieves a campaign.","href":"/api-reference/campaign/retrieve"},{"title":"List campaigns","api":"GET https://api.sendo.dev/v1/campaign/list","href":"/api-reference/campaign/list"},{"title":"Create webhook","api":"POST https://api.sendo.dev/v1/campaign/{id}/webhooks","href":"/api-reference/campaign/create-webhook"},{"title":"List webhooks","api":"GET https://api.sendo.dev/v1/campaign/{id}/webhooks","href":"/api-reference/campaign/webhooks"},{"title":"List numbers","api":"GET https://api.sendo.dev/v1/campaign/{id}/numbers","href":"/api-reference/campaign/numbers"}]},{"group":"Number","pages":[{"title":"Search numbers","api":"GET https://api.sendo.dev/v1/number/search","href":"/api-reference/number/search"},{"title":"Buy number","api":"POST https://api.sendo.dev/v1/number/buy","href":"/api-reference/number/buy"},{"title":"Retrieve number","api":"GET https://api.sendo.dev/v1/number/{number}","href":"/api-reference/number/retrieve"},{"title":"Set forwarding","api":"PATCH https://api.sendo.dev/v1/number/{number}/forwarding","href":"/api-reference/number/forward"}]},{"group":"Webhook","pages":[{"title":"Retrieve webhook","api":"GET https://api.sendo.dev/v1/webhook/{id}","href":"/api-reference/webhook/retrieve"},{"title":"Update webhook","api":"PATCH https://api.sendo.dev/v1/webhook/{id}","href":"/api-reference/webhook/update"},{"title":"Delete webhook","api":"DELETE https://api.sendo.dev/v1/webhook/{id}","href":"/api-reference/webhook/delete"}]}]},{"anchor":"Knowledge Base","icon":"books","pages":[{"title":"Knowledge Base","href":"/knowledge-base/overview"}]},{"anchor":"Changelog","icon":"clock-rotate-left","pages":[{"title":"Changelog","href":"/changelog/changelog"}]},{"anchor":"RCS Support","icon":"message-dots","pages":[{"title":"RCS Support","href":"/rcs/upcoming"}]},{"anchor":"API Status","href":"https://status.sendo.dev","icon":"signal-bars"}]},"basePath":"","title":"Create campaign - Sendo","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js"]}