Adds a new step to a campaign’s sequence at a specified position. This automatically reorders existing steps and updates leads already in the campaign to account for the new step.
Step Types
invitation
Sends a LinkedIn connection request to the lead. This is typically the first step in a campaign.
message
Sends a message to the lead. Can be sent to connections or used for InMail. Supports message variants for A/B testing.
visit_profile
Visits the lead’s LinkedIn profile to increase visibility.
screener
Sends a qualifying message to determine if the lead is a good fit. Supports AI-powered analysis of responses.
Request Body
{ "type": "message", "order": 2}
The order field determines where in the sequence the step will be inserted (0-based index).
Automatic Handling
When you add a step:
Existing steps at or after the specified order are shifted down
Leads already in the campaign have their progress adjusted
Completed campaigns are reset to “paused” status if new steps are added
Message and screener steps automatically get a default variant created
Response
Returns the updated complete array of steps with their IDs, allowing you to immediately reference the new step for adding variants or further configuration.
Authorizations
x-api-key
string
header
required
API key for authentication. Generate from your WaLead dashboard.
Path Parameters
id
string
required
Campaign ID
Body
application/json
Step details
type
enum<string>
required
Type of step to add
Available options:
invitation,
message,
visit_profile,
screener
order
integer
required
Position in the sequence (0-based)
Response
Step added successfully
success
boolean
message
string
steps
object[]
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Walead.ai API Documentation","description":"Let's cook some outbound stuff🍳","colors":{"primary":"#4580F7","light":"#4580F7","dark":"#4580F7"},"logo":"https://mintcdn.com/waleadai/7Zpn8zqszNZsiELw/images/walead-logo.svg?fit=max\u0026auto=format\u0026n=7Zpn8zqszNZsiELw\u0026q=85\u0026s=a8a5c49938cc8f781e6d12d4dc7af521","favicon":"/images/favicon.ico","navbar":{"links":[{"href":"mailto:hi@mintlify.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.mintlify.com"}},"footer":{"socials":{"x":"https://x.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://linkedin.com/company/mintlify"}},"integrations":{"intercom":{"appId":"fbhcb382"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"waleadai","hasAudioNarration":false,"actualSubdomain":"waleadai","customDomains":["docs.walead.ai"],"gitSource":{"type":"github","owner":"sergi-walead","repo":"walead-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae943821a3329c39da3f5f2:success","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"API reference","count":36},{"language":"default","tag":"Leads","count":9},{"language":"default","tag":"Sequences","count":7},{"language":"default","tag":"Campaigns","count":5},{"language":"default","tag":"Webhooks","count":5},{"language":"default","tag":"Conversations","count":4},{"language":"default","tag":"Senders","count":2},{"language":"default","tag":"Analytics","count":2},{"language":"default","tag":"API documentation","count":1},{"language":"default","tag":"MCP Integration","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/endpoint/add-step","slug":"/api-reference/endpoint/add-step","pageMetadata":{"title":"Add Step to Campaign","openapi":"POST /v1/campaigns/{id}/steps","description":"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener","href":"/api-reference/endpoint/add-step"},"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: \"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Adds a new step to a campaign’s sequence at a specified position. This automatically reorders existing steps and updates leads already in the campaign to account for the new step.`}),`\n`,_jsx(Heading,{level:`2`,id:`step-types`,children:`Step Types`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`invitation`,id:`invitation`,children:_jsx(_components.p,{children:`Sends a LinkedIn connection request to the lead. This is typically the first step in a campaign.`})}),_jsx(Accordion,{title:`message`,id:`message`,children:_jsx(_components.p,{children:`Sends a message to the lead. Can be sent to connections or used for InMail. Supports message variants for A/B testing.`})}),_jsx(Accordion,{title:`visit_profile`,id:`visit-profile`,children:_jsx(_components.p,{children:`Visits the lead’s LinkedIn profile to increase visibility.`})}),_jsx(Accordion,{title:`screener`,id:`screener`,children:_jsx(_components.p,{children:`Sends a qualifying message to determine if the lead is a good fit. Supports AI-powered analysis of responses.`})})]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(CodeBlock,{filename:``,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:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"message\"`}),_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:` \"order\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`order`}),` field determines where in the sequence the step will be inserted (0-based index).`]}),`\n`,_jsx(Heading,{level:`2`,id:`automatic-handling`,children:`Automatic Handling`}),`\n`,_jsx(_components.p,{children:`When you add a step:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Existing steps at or after the specified order are shifted down`}),`\n`,_jsx(_components.li,{children:`Leads already in the campaign have their progress adjusted`}),`\n`,_jsx(_components.li,{children:`Completed campaigns are reset to “paused” status if new steps are added`}),`\n`,_jsx(_components.li,{children:`Message and screener steps automatically get a default variant created`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(_components.p,{children:`Returns the updated complete array of steps with their IDs, allowing you to immediately reference the new step for adding variants or further configuration.`})]})}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":"Add Step to Campaign","openapi":"POST /v1/campaigns/{id}/steps","description":"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener","href":"/api-reference/endpoint/add-step"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Step Types","slug":"step-types","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Automatic Handling","slug":"automatic-handling","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Add Step to Campaign","description":"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener","parameters":["82c23896-e8f3-4048-9841-c2e639031d00"],"requestBody":"613dd28a-48bf-473a-b08a-a44a008777d4","responses":{"200":"5ba56a4c-f949-425e-9368-d4c6e3d75d6a","401":"bc831092-9535-4de9-b97c-73e4fd9fb378","404":"5ed78a71-10ff-4998-8f9f-3d51a0b3be8f"},"method":"post","type":"path","servers":["356b4792-e7d2-4047-bfdf-3646847a938b"],"security":["0f513b44-e06c-40ad-a06b-b01aa4bb69e3"],"path":"/v1/campaigns/{id}/steps","baseUrlOptions":["https://app-api.walead.ai/api"],"title":"Add Step to Campaign","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"82c23896-e8f3-4048-9841-c2e639031d00":{"name":"id","in":"path","description":"Campaign ID","required":true,"schema":{"type":"string","isRequired":true,"description":"Campaign ID","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"description":"Step details","required":true,"content":{"application/json":{"schema":{"type":"object","required":["type","order"],"properties":{"type":{"type":"string","enum":["invitation","message","visit_profile","screener"],"description":"Type of step to add","isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"order":{"type":"integer","description":"Position in the sequence (0-based)","isRequired":true,"uniqueKey":"order","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"order":123}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5ba56a4c-f949-425e-9368-d4c6e3d75d6a":{"description":"Step added successfully","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"steps":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique step identifier","uniqueKey":"steps.items.[INDEX].id","typeLabel":"string"},"type":{"type":"string","enum":["invitation","message","visit_profile","screener"],"description":"Step type","uniqueKey":"steps.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"order":{"type":"integer","description":"Step position in sequence (0-based)","uniqueKey":"steps.items.[INDEX].order","typeLabel":"integer"},"delay":{"type":"integer","description":"Delay in days before executing this step","uniqueKey":"steps.items.[INDEX].delay","typeLabel":"integer"},"stopOnReply":{"type":"boolean","description":"Whether to stop the sequence if lead replies","uniqueKey":"steps.items.[INDEX].stopOnReply","typeLabel":"boolean"},"genericBody":{"oneOf":[{"type":"string","description":"Generic message template for the step","uniqueKey":"steps.items.[INDEX].genericBody.oneOf.0","typeLabel":"string"},{"type":"null","description":"Generic message template for the step","uniqueKey":"steps.items.[INDEX].genericBody.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].genericBody","typeLabel":"string | null"},"variants":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique variant identifier","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].id","typeLabel":"string"},"body":{"type":"string","description":"Message template content","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].body","typeLabel":"string"},"order":{"type":"integer","description":"Variant order for rotation","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].order","typeLabel":"integer"},"isDisabled":{"type":"boolean","description":"Whether this variant is disabled","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].isDisabled","typeLabel":"boolean"},"icpDefinitionRaw":{"oneOf":[{"type":"string","description":"ICP (Ideal Customer Profile) definition for targeting","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].icpDefinitionRaw.oneOf.0","typeLabel":"string"},{"type":"null","description":"ICP (Ideal Customer Profile) definition for targeting","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].icpDefinitionRaw.oneOf.1","typeLabel":"null"}],"uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].icpDefinitionRaw","typeLabel":"string | null"},"stepId":{"type":"string","description":"Associated step ID","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].stepId","typeLabel":"string"},"aiTools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"AI tool name","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].aiTools.items.[INDEX].name","typeLabel":"string"},"key":{"type":"string","description":"AI tool unique key","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].aiTools.items.[INDEX].key","typeLabel":"string"}},"uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].aiTools.items.[INDEX]","typeLabel":"object"},"description":"AI tools enabled for this variant","uniqueKey":"steps.items.[INDEX].variants.items.[INDEX].aiTools","typeLabel":"object[]"}},"uniqueKey":"steps.items.[INDEX].variants.items.[INDEX]","typeLabel":"object"},"description":"Message variants for A/B testing (only for message and screener steps)","uniqueKey":"steps.items.[INDEX].variants","typeLabel":"object[]"}},"uniqueKey":"steps.items.[INDEX]","typeLabel":"object"},"uniqueKey":"steps","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"message":"\u003cstring>","steps":[{"id":"\u003cstring>","type":"invitation","order":123,"delay":123,"stopOnReply":true,"genericBody":"\u003cstring>","variants":[{"id":"\u003cstring>","body":"\u003cstring>","order":123,"isDisabled":true,"icpDefinitionRaw":"\u003cstring>","stepId":"\u003cstring>","aiTools":[{"name":"\u003cstring>","key":"\u003cstring>"}]}]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bc831092-9535-4de9-b97c-73e4fd9fb378":{"description":"Unauthorized - Invalid API Key","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"5ed78a71-10ff-4998-8f9f-3d51a0b3be8f":{"description":"Campaign not found","content":{"application/json":{"schema":{"type":"object","required":["statusCode","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"message":{"type":"string","description":"Error message","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":123,"message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"0f513b44-e06c-40ad-a06b-b01aa4bb69e3":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Generate from your WaLead dashboard.","scopes":[]}}},"servers":{"356b4792-e7d2-4047-bfdf-3646847a938b":{"url":"https://app-api.walead.ai/api","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Generate from your WaLead dashboard.","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"API key for authentication. Generate from your WaLead dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"waleadai","siteName":"Walead.ai API Documentation","title":"Add Step to Campaign - Walead.ai API Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-11T09:07:56.206Z","originalFileLocation":"api-reference/endpoint/add-step.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=\"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener\">\u003cmeta data-mint-head name=\"application-name\" content=\"Walead.ai API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_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/waleadai/il6Jja2ohU_NY9E-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Add Step to Campaign - Walead.ai API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Walead.ai API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.walead.ai/api-reference/endpoint/add-step\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://waleadai.mintlify.site/_mintlify/api/og/v2?division=Sequences\u0026amp;title=Add+Step+to+Campaign\u0026amp;description=Adds+a+new+step+to+the+campaign+sequence.+Step+types%3A+invitation%2C+message%2C+visit_profile%2C+screener\u0026amp;theme=7144985ec281aa2504d3c20f\u0026amp;signature=5dfab2c8a6dd13f6b6e209914c4583685663ba60b5ddef3af9549100eb5f9b83\">\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=\"Add Step to Campaign - Walead.ai API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://waleadai.mintlify.site/_mintlify/api/og/v2?division=Sequences\u0026amp;title=Add+Step+to+Campaign\u0026amp;description=Adds+a+new+step+to+the+campaign+sequence.+Step+types%3A+invitation%2C+message%2C+visit_profile%2C+screener\u0026amp;theme=7144985ec281aa2504d3c20f\u0026amp;signature=5dfab2c8a6dd13f6b6e209914c4583685663ba60b5ddef3af9549100eb5f9b83\">\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/waleadai/il6Jja2ohU_NY9E-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Walead.ai API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4580F7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.walead.ai/api-reference/endpoint/add-step\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/endpoint/add-step.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.walead.ai/#organization\",\"name\":\"Walead.ai API Documentation\",\"url\":\"https://docs.walead.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/waleadai/7Zpn8zqszNZsiELw/images/walead-logo.svg?fit=max\u0026auto=format\u0026n=7Zpn8zqszNZsiELw\u0026q=85\u0026s=a8a5c49938cc8f781e6d12d4dc7af521\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.walead.ai#website\",\"name\":\"Walead.ai API Documentation\",\"url\":\"https://docs.walead.ai\",\"publisher\":{\"@id\":\"https://docs.walead.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.walead.ai/api-reference/endpoint/add-step#webpage\",\"url\":\"https://docs.walead.ai/api-reference/endpoint/add-step\",\"name\":\"Add Step to Campaign\",\"description\":\"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener\",\"dateModified\":\"2026-03-11T09:07:56.206Z\",\"isPartOf\":{\"@id\":\"https://docs.walead.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.walead.ai/api-reference/endpoint/add-step#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.walead.ai/api-reference/endpoint/add-step#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Sequences\",\"item\":\"https://docs.walead.ai/api-reference/endpoint/get-campaign-sequence\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add Step to Campaign\",\"item\":\"https://docs.walead.ai/api-reference/endpoint/add-step\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.walead.ai/api-reference/endpoint/add-step#apireference\",\"headline\":\"Add Step to Campaign\",\"name\":\"Add Step to Campaign\",\"description\":\"Adds a new step to the campaign sequence. Step types: invitation, message, visit_profile, screener\",\"url\":\"https://docs.walead.ai/api-reference/endpoint/add-step\",\"mainEntityOfPage\":{\"@id\":\"https://docs.walead.ai/api-reference/endpoint/add-step#webpage\"},\"dateModified\":\"2026-03-11T09:07:56.206Z\",\"publisher\":{\"@id\":\"https://docs.walead.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.walead.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Walead.ai API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Walead.ai API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/endpoint/add-step.md","siteName":"Walead.ai API Documentation","nav":{"global":null,"tabs":[{"tab":"API reference","groups":[{"group":"API documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"MCP Integration","pages":[{"title":"MCP (Cursor / Claude Desktop)","href":"/api-reference/mcp-integration"}]},{"group":"Campaigns","pages":[{"title":"Get Campaigns","openapi":"GET /v1/campaigns","href":"/api-reference/endpoint/get"},{"title":"Get Campaign by ID","openapi":"GET /v1/campaigns/{id}","href":"/api-reference/endpoint/get-campaign-by-id"},{"title":"Create Campaign","openapi":"POST /v1/campaigns","href":"/api-reference/endpoint/create"},{"title":"Start Campaign","openapi":"PUT /v1/campaigns/{campaignId}/start","href":"/api-reference/endpoint/start-campaign"},{"title":"Pause Campaign","openapi":"PUT /v1/campaigns/{campaignId}/pause","href":"/api-reference/endpoint/pause-campaign"}]},{"group":"Senders","pages":[{"title":"Get Campaign Senders","openapi":"GET /v1/campaigns/{campaignId}/senders","href":"/api-reference/endpoint/get-campaign-senders"},{"title":"Add Senders to Campaign","openapi":"POST /v1/campaigns/{campaignId}/senders","href":"/api-reference/endpoint/add-campaign-senders"}]},{"group":"Leads","pages":[{"title":"Add Leads to Campaign","openapi":"POST /v1/campaigns/{campaignId}/leads","href":"/api-reference/endpoint/add-leads"},{"title":"Get Campaign Leads","openapi":"GET /v1/campaigns/{campaignId}/leads","href":"/api-reference/endpoint/get-campaign-leads"},{"title":"Update Lead Status","openapi":"PUT /v1/leads/{leadId}/status","href":"/api-reference/endpoint/update-lead-status"},{"title":"Add Lead to Campaing-Blocklist","openapi":"POST /v1/campaigns/{campaignId}/blocked-leads","href":"/api-reference/endpoint/add-blocked-leads"},{"title":"Get Campaign Blocked Leads","openapi":"GET /v1/campaigns/{campaignId}/blocked-leads","href":"/api-reference/endpoint/get-blocked-leads-campaign"},{"title":"Delete Campaign Blocked Leads","openapi":"DELETE /v1/campaigns/{campaignId}/blocked-leads","href":"/api-reference/endpoint/delete-blocked-leads-campaign"},{"title":"Add Leads to Workspace-Blocklist","openapi":"POST /v1/blocked-leads","href":"/api-reference/endpoint/add-blocked-leads-workspace"},{"title":"Get Workspace Blocked Leads","openapi":"GET /v1/blocked-leads","href":"/api-reference/endpoint/get-blocked-leads-workspace"},{"title":"Delete Workspace Blocked Leads","openapi":"DELETE /v1/blocked-leads","href":"/api-reference/endpoint/delete-blocked-leads-workspace"}]},{"group":"Sequences","pages":[{"title":"Get Campaign Sequence","openapi":"GET /v1/campaigns/{id}/sequence","description":"Returns only the sequencer: steps ordered and messages (variants) of each step","href":"/api-reference/endpoint/get-campaign-sequence"},{"title":"Add Step to Campaign","openapi":"POST /v1/campaigns/{id}/steps","href":"/api-reference/endpoint/add-step"},{"title":"Update Step","openapi":"PUT /v1/campaigns/{id}/steps/{stepId}","description":"Updates step delay and/or generic body message template","href":"/api-reference/endpoint/update-step"},{"title":"Delete Step from Campaign","openapi":"DELETE /v1/campaigns/{id}/steps/{stepId}","href":"/api-reference/endpoint/delete-step"},{"title":"Add Variant to Step","openapi":"POST /v1/campaigns/{id}/steps/{stepId}/variants","href":"/api-reference/endpoint/add-variant"},{"title":"Update Variant","openapi":"PUT /v1/campaigns/{id}/steps/{stepId}/variants/{variantId}","href":"/api-reference/endpoint/update-variant"},{"title":"Delete Variant","openapi":"DELETE /v1/campaigns/{id}/steps/{stepId}/variants/{variantId}","href":"/api-reference/endpoint/delete-variant"}]},{"group":"Conversations","pages":[{"title":"Get Conversations","openapi":"GET /v1/conversations","href":"/api-reference/endpoint/get-conversations"},{"title":"Get Conversation by URN","openapi":"GET /v1/conversations/{conversationUrn}","href":"/api-reference/endpoint/get-conversation"},{"title":"Send Message","openapi":"POST /v1/conversations/{conversationUrn}/messages","href":"/api-reference/endpoint/send-message"},{"title":"Mark Conversation as Read","openapi":"POST /v1/conversations/{conversationUrn}/mark-read","href":"/api-reference/endpoint/mark-conversation-read"}]},{"group":"Analytics","pages":[{"title":"Get Workspace Analytics","openapi":"GET /v1/analytics","href":"/api-reference/endpoint/get-workspace-analytics"},{"title":"Get Campaign Analytics","openapi":"GET /v1/campaigns/{campaignId}/analytics","href":"/api-reference/endpoint/get-campaign-analytics"}]},{"group":"Webhooks","pages":[{"title":"Webhooks Overview","href":"/api-reference/webhooks/introduction"},{"title":"Subscribe to Webhook","openapi":"POST /v1/hooks/subscribe","href":"/api-reference/webhooks/subscribe"},{"title":"Unsubscribe from Webhook","openapi":"DELETE /v1/hooks/unsubscribe","href":"/api-reference/webhooks/unsubscribe"},{"title":"List Webhooks","openapi":"GET /v1/hooks/list","href":"/api-reference/webhooks/list"},{"title":"Get Sample Webhook Data","openapi":"GET /v1/hooks/perform-list","href":"/api-reference/webhooks/perform-list"}]}]}]},"basePath":"","title":"Add Step to Campaign - Walead.ai API Documentation","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}