{ "specification": { "trigger": "comment", "keyword": "GUIDE", "public_reply": "<string>", "button_label": "Send me the guide", "dm_message": "Here's the spring planting guide. Enjoy it.", "link_url": "https://example.com/spring-guide", "language": "en", "status_when_created": "draft" }, "ready": true, "problems": [], "notes": [ { "code": "keywords_case_insensitive", "message": "Keywords are case-insensitive, so GUIDE also matches guide and Guide." }, { "code": "created_as_draft", "message": "Created as a draft. Nothing sends until it is set live." } ]}
{
"error": {
"type": "invalid_request",
"code": "button_label_too_long",
"message": "The button label is 26 characters. Instagram shows up to 20, so it would be cut off.",
"param": "button_label",
"doc_url": "https://docs.indm.social/errors#button_label_too_long"
}
}
{
"error": {
"type": "authentication_error",
"code": "api_key_expired",
"message": "This API key expired on 3 Feb 2027. Create a new one under Settings → API keys.",
"doc_url": "https://docs.indm.social/errors#api_key_expired"
}
}
{
"error": {
"type": "rate_limited",
"code": "rate_limited",
"message": "That's more than 120 requests a minute on one key. Wait 18s and try again.",
"doc_url": "https://docs.indm.social/errors#rate_limited"
}
}
{
"error": {
"type": "api_error",
"code": "internal_error",
"message": "Something went wrong on our end. Try again; if it keeps happening, quote request req_8Qm2ZcY4vN7tLp1K to support@indm.social.",
"doc_url": "https://docs.indm.social/errors#internal_error"
}
}
Automations
Validate an automation
A dry run. Checks a proposed comment-to-DM automation against the rules the engine
enforces and returns the normalised version together with anything that would make
it misfire: a keyword with a space in it, a button label Instagram would cut off, a
DM that promises a link it was never given.
It writes nothing, needs no post, and works with a read key, so you can check copy
before you have anywhere to put it.
Needs a read or full key.
POST
/
automations
/
validate
Validate an automation
curl --request POST \ --url https://api.indm.social/v1/automations/validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data @- <<EOF{ "keyword": "GUIDE", "dm_message": "Here's the spring planting guide. Enjoy it."}EOF
{ "specification": { "trigger": "comment", "keyword": "GUIDE", "public_reply": "<string>", "button_label": "Send me the guide", "dm_message": "Here's the spring planting guide. Enjoy it.", "link_url": "https://example.com/spring-guide", "language": "en", "status_when_created": "draft" }, "ready": true, "problems": [], "notes": [ { "code": "keywords_case_insensitive", "message": "Keywords are case-insensitive, so GUIDE also matches guide and Guide." }, { "code": "created_as_draft", "message": "Created as a draft. Nothing sends until it is set live." } ]}
{
"error": {
"type": "invalid_request",
"code": "button_label_too_long",
"message": "The button label is 26 characters. Instagram shows up to 20, so it would be cut off.",
"param": "button_label",
"doc_url": "https://docs.indm.social/errors#button_label_too_long"
}
}
{
"error": {
"type": "authentication_error",
"code": "api_key_expired",
"message": "This API key expired on 3 Feb 2027. Create a new one under Settings → API keys.",
"doc_url": "https://docs.indm.social/errors#api_key_expired"
}
}
{
"error": {
"type": "rate_limited",
"code": "rate_limited",
"message": "That's more than 120 requests a minute on one key. Wait 18s and try again.",
"doc_url": "https://docs.indm.social/errors#rate_limited"
}
}
{
"error": {
"type": "api_error",
"code": "internal_error",
"message": "Something went wrong on our end. Try again; if it keeps happening, quote request req_8Qm2ZcY4vN7tLp1K to support@indm.social.",
"doc_url": "https://docs.indm.social/errors#internal_error"
}
}
An API key from Settings → API keys in the inDM app, sent as
Authorization: Bearer indm_.... Keys belong to one workspace and carry a scope:
read for GET routes and the validate dry run, full for everything. Keep keys on
your server; never ship one to a browser or a mobile app.
[ { "code": "keywords_case_insensitive", "message": "Keywords are case-insensitive, so GUIDE also matches guide and Guide." }, { "code": "created_as_draft", "message": "Created as a draft. Nothing sends until it is set live." } ]
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"inDM API","description":"Build, launch and read Instagram comment-to-DM automations from your own code.","colors":{"primary":"#B8452B","light":"#E0714F","dark":"#9E3A23"},"logo":{"light":"https://mintcdn.com/in-dm/dZECcUr6LPCo8pKP/logo/light.svg?fit=max\u0026auto=format\u0026n=dZECcUr6LPCo8pKP\u0026q=85\u0026s=930f4fd67b20c66f17a96391df0a7dc1","dark":"https://mintcdn.com/in-dm/dZECcUr6LPCo8pKP/logo/dark.svg?fit=max\u0026auto=format\u0026n=dZECcUr6LPCo8pKP\u0026q=85\u0026s=3d2b9b5785eea8b6502f0ec3e8c8901d","href":"https://indm.social"},"favicon":"https://mintcdn.com/in-dm/dZECcUr6LPCo8pKP/favicon.svg?fit=max\u0026auto=format\u0026n=dZECcUr6LPCo8pKP\u0026q=85\u0026s=b34dc1c87ed2b98febba7fc8b6c687bb","api":{"openapi":"openapi.yaml","playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"background":{"color":{"light":"#FDFCFC","dark":"#0B0B0A"}},"navbar":{"links":[{"href":"mailto:support@indm.social","label":"Support"}],"primary":{"type":"button","label":"Open inDM","href":"https://app.indm.social"}},"footer":{"socials":{"instagram":"https://www.instagram.com/indm.social","website":"https://indm.social"}},"seo":{"metatags":{"canonical":"https://docs.indm.social"},"indexing":"navigable"},"fonts":{"heading":{"family":"Fraunces","weight":600},"body":{"family":"Hanken Grotesk"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"in-dm","hasAudioNarration":false,"actualSubdomain":"in-dm","customDomains":["docs.indm.social"],"gitSource":{"type":"github","owner":"indm-social","repo":"project-social","deployBranch":"main","contentDirectory":"api-docs","isPrivate":true,"mountPath":"","label":"","_id":"6aec389be2217a8df5084569"},"chroma":{"latestBuiltDeploymentHistoryId":"6aec38b2e2217a8df50847ac","collectionId":"5558e828-a155-4053-ba25-bc656a472b13","liveDeploymentHistoryId":"6aec38b2e2217a8df50847ac","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aec477a754501e0c6b5577b","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"API Reference","count":17},{"language":"default","tag":"Guides","count":11},{"language":"default","tag":"Automations","count":7},{"language":"default","tag":"Working with the API","count":6},{"language":"default","tag":"Accounts","count":5},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Media","count":2},{"language":"default","tag":"Recipes","count":2},{"language":"default","tag":"Workspace","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"api-reference/automations/validate-automation","slug":"/api-reference/automations/validate-automation","pageMetadata":{"openapi":"post /automations/validate","title":"Validate an automation","description":"A dry run. Checks a proposed comment-to-DM automation against the rules the engine\nenforces and returns the normalised version together with anything that would make\nit misfire: a keyword with a space in it, a button label Instagram would cut off, a\nDM that promises a link it was never given.\n\nIt writes nothing, needs no post, and works with a `read` key, so you can check copy\nbefore you have anywhere to put it.\n\nNeeds a `read` or `full` key.\n","href":"/api-reference/automations/validate-automation"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"A dry run. Checks a proposed comment-to-DM automation against the rules the engine\\nenforces and returns the normalised version together with anything that would make\\nit misfire: a keyword with a space in it, a button label Instagram would cut off, a\\nDM that promises a link it was never given.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"It writes nothing, needs no post, and works with a \", _jsx(_components.code, {\n children: \"read\"\n }), \" key, so you can check copy\\nbefore you have anywhere to put it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Needs a \", _jsx(_components.code, {\n children: \"read\"\n }), \" or \", _jsx(_components.code, {\n children: \"full\"\n }), \" key.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"post /automations/validate","title":"Validate an automation","description":"A dry run. Checks a proposed comment-to-DM automation against the rules the engine\nenforces and returns the normalised version together with anything that would make\nit misfire: a keyword with a space in it, a button label Instagram would cut off, a\nDM that promises a link it was never given.\n\nIt writes nothing, needs no post, and works with a `read` key, so you can check copy\nbefore you have anywhere to put it.\n\nNeeds a `read` or `full` key.\n","href":"/api-reference/automations/validate-automation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"validateAutomation","tags":["Automations"],"summary":"Validate an automation","description":"A dry run. Checks a proposed comment-to-DM automation against the rules the engine\nenforces and returns the normalised version together with anything that would make\nit misfire: a keyword with a space in it, a button label Instagram would cut off, a\nDM that promises a link it was never given.\n\nIt writes nothing, needs no post, and works with a `read` key, so you can check copy\nbefore you have anywhere to put it.\n\nNeeds a `read` or `full` key.\n","x-indm-scope":"read","requestBody":"94b67318-6189-4797-a1ed-047d4970da2c","responses":{"200":"900a4812-6dfa-4904-9e2a-d50d62b780ed","400":"01ab459c-96de-401a-bbd4-15f7c04a953c","401":"b0d80338-14d9-4fa7-8cff-934815e99221","429":"51301dc0-a1d2-47ea-875d-755940dcf64a","500":"af3b9edb-66e5-41d2-86b4-209e5df83393"},"method":"post","type":"path","servers":["e5f23c24-da12-4d01-bf2f-38f8531a1e04"],"security":["2f3e715c-04e3-4543-bae9-44e7de536f28"],"path":"/automations/validate","baseUrlOptions":["https://api.indm.social/v1"],"title":"Validate an automation","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"A proposed automation to check. Nothing is saved.","required":["keyword","dm_message"],"properties":{"keyword":{"type":"string","description":"The one word a fan comments to trigger it. Case-insensitive.","example":"GUIDE","isRequired":true,"uniqueKey":"keyword","typeLabel":"string"},"dm_message":{"type":"string","description":"The direct message the fan receives.","example":"Here's the spring planting guide. Enjoy it.","isRequired":true,"uniqueKey":"dm_message","typeLabel":"string"},"goal":{"type":"string","description":"What you want to happen, in your own words.","example":"Send the spring guide to anyone who comments GUIDE","uniqueKey":"goal","typeLabel":"string"},"button_label":{"type":"string","description":"The opt-in button's label. Up to 20 characters.","example":"Send me the guide","uniqueKey":"button_label","typeLabel":"string"},"public_reply":{"type":"string","description":"A public reply posted under the fan's comment.","uniqueKey":"public_reply","typeLabel":"string"},"link_url":{"type":"string","description":"The link the DM delivers.","example":"https://example.com/spring-guide","uniqueKey":"link_url","typeLabel":"string"},"language":{"type":"string","description":"The two-letter code of the language the copy is written in, such as `en`, `es` or `ko`.","example":"en","uniqueKey":"language","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"goal":"Send the spring guide to anyone who comments GUIDE","keyword":"GUIDE","dm_message":"Here's the spring planting guide. Enjoy it.","button_label":"Send me the guide","link_url":"https://example.com/spring-guide","language":"en"},"examples":{"Example":{"title":"Example","value":{"goal":"Send the spring guide to anyone who comments GUIDE","keyword":"GUIDE","dm_message":"Here's the spring planting guide. Enjoy it.","button_label":"Send me the guide","link_url":"https://example.com/spring-guide","language":"en"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"900a4812-6dfa-4904-9e2a-d50d62b780ed":{"description":"The check. `ready` is true when nothing would stop it working.","headers":{"X-Request-Id":{"description":"A unique id for this request. Include it when you write to support and we can find the request at once.","schema":{"type":"string"},"example":"req_8Qm2ZcY4vN7tLp1K"},"RateLimit-Limit":{"description":"Requests this key may make per minute, across every route. Sent once the key is accepted.","schema":{"type":"integer"},"example":120},"RateLimit-Remaining":{"description":"Requests left in the current one-minute window. `0` when a write is refused for the write limit.","schema":{"type":"integer"},"example":117},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"},"example":42}},"content":{"application/json":{"schema":{"type":"object","required":["specification","ready","problems","notes"],"properties":{"specification":{"type":"object","description":"The normalised automation, as inDM would build it.","properties":{"trigger":{"type":"string","example":"comment","uniqueKey":"specification.trigger","typeLabel":"string"},"keyword":{"type":"string","description":"The keyword, uppercased.","example":"GUIDE","uniqueKey":"specification.keyword","typeLabel":"string"},"public_reply":{"type":"string","uniqueKey":"specification.public_reply","typeLabel":"string"},"button_label":{"type":"string","description":"The button label, with inDM's default filled in when you sent none.","example":"Send me the guide","uniqueKey":"specification.button_label","typeLabel":"string"},"dm_message":{"type":"string","example":"Here's the spring planting guide. Enjoy it.","uniqueKey":"specification.dm_message","typeLabel":"string"},"link_url":{"type":"string","example":"https://example.com/spring-guide","uniqueKey":"specification.link_url","typeLabel":"string"},"language":{"type":"string","example":"en","uniqueKey":"specification.language","typeLabel":"string"},"status_when_created":{"type":"string","description":"Always `draft`.","example":"draft","uniqueKey":"specification.status_when_created","typeLabel":"string"}},"isRequired":true,"uniqueKey":"specification","typeLabel":"object"},"ready":{"type":"boolean","description":"True when `problems` is empty, so nothing would stop it working.","example":true,"isRequired":true,"uniqueKey":"ready","typeLabel":"boolean"},"problems":{"type":"array","description":"What would make it misfire, in the order found. Empty when `ready` is true.","items":{"type":"object","description":"One thing that would make a proposed automation misfire.","required":["code","message"],"properties":{"code":{"type":"string","description":"A stable code, listed on [Errors](/errors). The same code a create would be refused with, where one applies.","example":"button_label_too_long","isRequired":true,"uniqueKey":"problems.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"What's wrong and how to fix it, in a sentence.","example":"The button label is 26 characters. Instagram shows up to 20, so it would be cut off.","isRequired":true,"uniqueKey":"problems.items.[INDEX].message","typeLabel":"string"},"param":{"type":"string","description":"The request field at fault. Left out when no single field is.","example":"button_label","uniqueKey":"problems.items.[INDEX].param","typeLabel":"string"}},"uniqueKey":"problems.items.[INDEX]","typeLabel":"object"},"example":[],"isRequired":true,"uniqueKey":"problems","typeLabel":"object[]"},"notes":{"type":"array","description":"Facts about how it will behave once live.","items":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"A stable code for what was adjusted.","example":"followup_goes_to_everyone","isRequired":true,"uniqueKey":"notes.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","description":"What it means, in a sentence.","example":"The follow-up goes to everyone who received the first message, including people who already tapped the link.","isRequired":true,"uniqueKey":"notes.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"notes.items.[INDEX]","typeLabel":"object"},"example":[{"code":"keywords_case_insensitive","message":"Keywords are case-insensitive, so GUIDE also matches guide and Guide."},{"code":"created_as_draft","message":"Created as a draft. Nothing sends until it is set live."}],"isRequired":true,"uniqueKey":"notes","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"specification":{"trigger":"comment","keyword":"GUIDE","public_reply":"\u003cstring>","button_label":"Send me the guide","dm_message":"Here's the spring planting guide. Enjoy it.","link_url":"https://example.com/spring-guide","language":"en","status_when_created":"draft"},"ready":true,"problems":[],"notes":[{"code":"keywords_case_insensitive","message":"Keywords are case-insensitive, so GUIDE also matches guide and Guide."},{"code":"created_as_draft","message":"Created as a draft. Nothing sends until it is set live."}]}}},"exampleType":"generated"}},"exampleType":"generated"},"01ab459c-96de-401a-bbd4-15f7c04a953c":{"description":"The request can't be processed as sent. `param` names the field when there is one.","headers":{"X-Request-Id":{"description":"A unique id for this request. Include it when you write to support and we can find the request at once.","schema":{"type":"string"},"example":"req_8Qm2ZcY4vN7tLp1K"}},"content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape.","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","doc_url"],"properties":{"type":{"type":"string","description":"The family of error. Each maps to one HTTP status.","enum":["invalid_request","authentication_error","permission_error","plan_limit","not_found","conflict","rate_limited","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A stable, specific code. Branch on this, never on `message`. Every code is\nlisted on [Errors](/errors).\n","example":"dm_message_too_long","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A sentence for a person, saying what happened and what to do next. It may change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"A link to this code on the [Errors](/errors) page.","example":"https://docs.indm.social/errors#dm_message_too_long","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"param":{"type":"string","description":"The request field the error is about. Left out when no single field is.","example":"dm_message","uniqueKey":"error.param","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"invalid_request","code":"button_label_too_long","message":"The button label is 26 characters. Instagram shows up to 20, so it would be cut off.","param":"button_label","doc_url":"https://docs.indm.social/errors#button_label_too_long"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"invalid_request","code":"button_label_too_long","message":"The button label is 26 characters. Instagram shows up to 20, so it would be cut off.","param":"button_label","doc_url":"https://docs.indm.social/errors#button_label_too_long"}}}},"exampleType":"examples"}},"exampleType":"examples"},"b0d80338-14d9-4fa7-8cff-934815e99221":{"description":"The API key is missing, malformed, expired or revoked.","headers":{"X-Request-Id":{"description":"A unique id for this request. Include it when you write to support and we can find the request at once.","schema":{"type":"string"},"example":"req_8Qm2ZcY4vN7tLp1K"}},"content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape.","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","doc_url"],"properties":{"type":{"type":"string","description":"The family of error. Each maps to one HTTP status.","enum":["invalid_request","authentication_error","permission_error","plan_limit","not_found","conflict","rate_limited","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A stable, specific code. Branch on this, never on `message`. Every code is\nlisted on [Errors](/errors).\n","example":"dm_message_too_long","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A sentence for a person, saying what happened and what to do next. It may change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"A link to this code on the [Errors](/errors) page.","example":"https://docs.indm.social/errors#dm_message_too_long","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"param":{"type":"string","description":"The request field the error is about. Left out when no single field is.","example":"dm_message","uniqueKey":"error.param","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"authentication_error","code":"api_key_expired","message":"This API key expired on 3 Feb 2027. Create a new one under Settings → API keys.","doc_url":"https://docs.indm.social/errors#api_key_expired"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"authentication_error","code":"api_key_expired","message":"This API key expired on 3 Feb 2027. Create a new one under Settings → API keys.","doc_url":"https://docs.indm.social/errors#api_key_expired"}}}},"exampleType":"examples"}},"exampleType":"examples"},"51301dc0-a1d2-47ea-875d-755940dcf64a":{"description":"This key went past its rate limit. Wait for `Retry-After` seconds, then try again.","headers":{"X-Request-Id":{"description":"A unique id for this request. Include it when you write to support and we can find the request at once.","schema":{"type":"string"},"example":"req_8Qm2ZcY4vN7tLp1K"},"Retry-After":{"description":"Seconds to wait before trying again.","schema":{"type":"integer"},"example":18},"RateLimit-Limit":{"description":"Requests this key may make per minute, across every route. Sent once the key is accepted.","schema":{"type":"integer"},"example":120},"RateLimit-Remaining":{"description":"Requests left in the current one-minute window. `0` when a write is refused for the write limit.","schema":{"type":"integer"},"example":117},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"},"example":42}},"content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape.","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","doc_url"],"properties":{"type":{"type":"string","description":"The family of error. Each maps to one HTTP status.","enum":["invalid_request","authentication_error","permission_error","plan_limit","not_found","conflict","rate_limited","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A stable, specific code. Branch on this, never on `message`. Every code is\nlisted on [Errors](/errors).\n","example":"dm_message_too_long","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A sentence for a person, saying what happened and what to do next. It may change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"A link to this code on the [Errors](/errors) page.","example":"https://docs.indm.social/errors#dm_message_too_long","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"param":{"type":"string","description":"The request field the error is about. Left out when no single field is.","example":"dm_message","uniqueKey":"error.param","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"rate_limited","code":"rate_limited","message":"That's more than 120 requests a minute on one key. Wait 18s and try again.","doc_url":"https://docs.indm.social/errors#rate_limited"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"rate_limited","code":"rate_limited","message":"That's more than 120 requests a minute on one key. Wait 18s and try again.","doc_url":"https://docs.indm.social/errors#rate_limited"}}}},"exampleType":"examples"}},"exampleType":"examples"},"af3b9edb-66e5-41d2-86b4-209e5df83393":{"description":"Something failed on our side. Retrying with backoff is safe for reads. The same body\ncomes with `503` when inDM briefly can't reach its database.\n","headers":{"X-Request-Id":{"description":"A unique id for this request. Include it when you write to support and we can find the request at once.","schema":{"type":"string"},"example":"req_8Qm2ZcY4vN7tLp1K"}},"content":{"application/json":{"schema":{"type":"object","description":"Every error has this shape.","required":["error"],"properties":{"error":{"type":"object","required":["type","code","message","doc_url"],"properties":{"type":{"type":"string","description":"The family of error. Each maps to one HTTP status.","enum":["invalid_request","authentication_error","permission_error","plan_limit","not_found","conflict","rate_limited","api_error"],"isRequired":true,"uniqueKey":"error.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"A stable, specific code. Branch on this, never on `message`. Every code is\nlisted on [Errors](/errors).\n","example":"dm_message_too_long","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"A sentence for a person, saying what happened and what to do next. It may change; don't parse it.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"A link to this code on the [Errors](/errors) page.","example":"https://docs.indm.social/errors#dm_message_too_long","isRequired":true,"uniqueKey":"error.doc_url","typeLabel":"string\u003curi>"},"param":{"type":"string","description":"The request field the error is about. Left out when no single field is.","example":"dm_message","uniqueKey":"error.param","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"type":"api_error","code":"internal_error","message":"Something went wrong on our end. Try again; if it keeps happening, quote request req_8Qm2ZcY4vN7tLp1K to support@indm.social.","doc_url":"https://docs.indm.social/errors#internal_error"}},"examples":{"Example":{"title":"Example","value":{"error":{"type":"api_error","code":"internal_error","message":"Something went wrong on our end. Try again; if it keeps happening, quote request req_8Qm2ZcY4vN7tLp1K to support@indm.social.","doc_url":"https://docs.indm.social/errors#internal_error"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2f3e715c-04e3-4543-bae9-44e7de536f28":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"indm_ API key","description":"An API key from **Settings → API keys** in the inDM app, sent as\n`Authorization: Bearer indm_...`. Keys belong to one workspace and carry a scope:\n`read` for GET routes and the validate dry run, `full` for everything. Keep keys on\nyour server; never ship one to a browser or a mobile app.\n","scopes":[],"schemeName":"apiKey"}}},"servers":{"e5f23c24-da12-4d01-bf2f-38f8531a1e04":{"url":"https://api.indm.social/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"indm_ API key","description":"An API key from **Settings → API keys** in the inDM app, sent as\n`Authorization: Bearer indm_...`. Keys belong to one workspace and carry a scope:\n`read` for GET routes and the validate dry run, `full` for everything. Keep keys on\nyour server; never ship one to a browser or a mobile app.\n","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from **Settings → API keys** in the inDM app, sent as\n`Authorization: Bearer indm_...`. Keys belong to one workspace and carry a scope:\n`read` for GET routes and the validate dry run, `full` for everything. Keep keys on\nyour server; never ship one to a browser or a mobile app.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"in-dm","siteName":"inDM API","title":"Validate an automation - inDM API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T08:05:21.773Z","originalFileLocation":"api-reference/automations/validate-automation.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=\"A dry run. Checks a proposed comment-to-DM automation against the rules the engine enforces and returns the normalised version together with anything that would make it misfire: a keyword with a space in it, a button label Instagram would cut off, a DM that promises a link it was never given. It writes nothing, needs no post, and works with a read key, so you can check copy before you have anywhere to put it. Needs a read or full key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"inDM API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_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/in-dm/Bj_8VlqhxizGMWMU/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Validate an automation - inDM API\">\u003cmeta data-mint-head property=\"og:description\" content=\"A dry run. Checks a proposed comment-to-DM automation against the rules the engine enforces and returns the normalised version together with anything that would make it misfire: a keyword with a space in it, a button label Instagram would cut off, a DM that promises a link it was never given. It writes nothing, needs no post, and works with a read key, so you can check copy before you have anywhere to put it. Needs a read or full key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"inDM API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.indm.social/api-reference/automations/validate-automation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://in-dm.mintlify.app/_mintlify/api/og/v2?division=Automations\u0026amp;title=Validate+an+automation\u0026amp;description=A+dry+run.+Checks+a+proposed+comment-to-DM+automation+against+the+rules+the+engine%0Aenforces+and+returns+the+normalised+version+together+with+anything+that+would\u0026amp;theme=22118b16346918b8b2483116\u0026amp;signature=9ebc59aa493c9530e57e29cd113164cf19e41972fe10d815a144c96f9b85608f\">\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=\"Validate an automation - inDM API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A dry run. Checks a proposed comment-to-DM automation against the rules the engine enforces and returns the normalised version together with anything that would make it misfire: a keyword with a space in it, a button label Instagram would cut off, a DM that promises a link it was never given. It writes nothing, needs no post, and works with a read key, so you can check copy before you have anywhere to put it. Needs a read or full key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://in-dm.mintlify.app/_mintlify/api/og/v2?division=Automations\u0026amp;title=Validate+an+automation\u0026amp;description=A+dry+run.+Checks+a+proposed+comment-to-DM+automation+against+the+rules+the+engine%0Aenforces+and+returns+the+normalised+version+together+with+anything+that+would\u0026amp;theme=22118b16346918b8b2483116\u0026amp;signature=9ebc59aa493c9530e57e29cd113164cf19e41972fe10d815a144c96f9b85608f\">\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/in-dm/Bj_8VlqhxizGMWMU/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"inDM API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B8452B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.indm.social/api-reference/automations/validate-automation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/automations/validate-automation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.indm.social/#organization\",\"name\":\"inDM API\",\"url\":\"https://docs.indm.social\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/in-dm/dZECcUr6LPCo8pKP/logo/light.svg?fit=max\u0026auto=format\u0026n=dZECcUr6LPCo8pKP\u0026q=85\u0026s=930f4fd67b20c66f17a96391df0a7dc1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.indm.social#website\",\"name\":\"inDM API\",\"url\":\"https://docs.indm.social\",\"publisher\":{\"@id\":\"https://docs.indm.social/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.indm.social/api-reference/automations/validate-automation#webpage\",\"url\":\"https://docs.indm.social/api-reference/automations/validate-automation\",\"name\":\"Validate an automation\",\"description\":\"A dry run. Checks a proposed comment-to-DM automation against the rules the engine enforces and returns the normalised version together with anything that would make it misfire: a keyword with a space in it, a button label Instagram would cut off, a DM that promises a link it was never given. It writes nothing, needs no post, and works with a read key, so you can check copy before you have anywhere to put it. Needs a read or full key.\",\"dateModified\":\"2026-11-05T08:05:21.773Z\",\"isPartOf\":{\"@id\":\"https://docs.indm.social#website\"},\"breadcrumb\":{\"@id\":\"https://docs.indm.social/api-reference/automations/validate-automation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.indm.social/api-reference/automations/validate-automation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automations\",\"item\":\"https://docs.indm.social/api-reference/automations/list-automations\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Validate an automation\",\"item\":\"https://docs.indm.social/api-reference/automations/validate-automation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.indm.social/api-reference/automations/validate-automation#apireference\",\"headline\":\"Validate an automation\",\"name\":\"Validate an automation\",\"description\":\"A dry run. Checks a proposed comment-to-DM automation against the rules the engine enforces and returns the normalised version together with anything that would make it misfire: a keyword with a space in it, a button label Instagram would cut off, a DM that promises a link it was never given. It writes nothing, needs no post, and works with a read key, so you can check copy before you have anywhere to put it. Needs a read or full key.\",\"url\":\"https://docs.indm.social/api-reference/automations/validate-automation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.indm.social/api-reference/automations/validate-automation#webpage\"},\"dateModified\":\"2026-11-05T08:05:21.773Z\",\"publisher\":{\"@id\":\"https://docs.indm.social/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.indm.social#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"inDM API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"inDM API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"API reference","sidebarTitle":"Overview","href":"/api-reference/introduction"}]},{"group":"Workspace","pages":[{"openapi":"get /workspace","title":"Get the workspace","href":"/api-reference/workspace/get-workspace"}]},{"group":"Accounts","pages":[{"openapi":"get /accounts","title":"List accounts","href":"/api-reference/accounts/list-accounts"},{"openapi":"get /accounts/{account_id}","title":"Get an account","href":"/api-reference/accounts/get-account"},{"openapi":"get /accounts/{account_id}/health","title":"Check account health","href":"/api-reference/accounts/get-account-health"},{"openapi":"post /accounts/{account_id}/refresh","title":"Refresh content","href":"/api-reference/accounts/refresh-account"},{"openapi":"get /accounts/{account_id}/refresh/{job_id}","title":"Get a refresh","href":"/api-reference/accounts/get-refresh"}]},{"group":"Media","pages":[{"openapi":"get /media","title":"List media","href":"/api-reference/media/list-media"},{"openapi":"get /media/{media_id}","title":"Get a media item","href":"/api-reference/media/get-media"}]},{"group":"Automations","pages":[{"openapi":"get /automations","title":"List automations","href":"/api-reference/automations/list-automations"},{"openapi":"get /automations/{automation_id}","title":"Get an automation","href":"/api-reference/automations/get-automation"},{"openapi":"post /automations","title":"Create an automation","href":"/api-reference/automations/create-automation"},{"openapi":"patch /automations/{automation_id}","title":"Update an automation","href":"/api-reference/automations/update-automation"},{"openapi":"post /automations/{automation_id}/status","title":"Set automation status","href":"/api-reference/automations/set-automation-status"},{"openapi":"get /automations/{automation_id}/stats","title":"Get automation stats","description":"How an automation is doing over a window of days: how many times it fired, how many\nmessages went out, how many Instagram refused and how many are still waiting.\nAggregate counts only; no individual person is ever returned.\n\nNeeds a `read` or `full` key.\n","href":"/api-reference/automations/get-automation-stats"},{"openapi":"post /automations/validate","title":"Validate an automation","href":"/api-reference/automations/validate-automation"}]}]}]},"basePath":"","title":"Validate an automation - inDM API","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}