Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.
{
"error": {
"code": "api_automation_plan_limit",
"message": "The account plan does not allow this automation.",
"correlation_id": "<string>",
"details": "<unknown>"
}
}
{
"error": {
"code": "api_account_not_granted",
"message": "This credential is not authorized for the request.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_automation_media_not_found",
"message": "The referenced Instagram media was not found.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_automation_version_conflict",
"message": "The automation changed after the supplied version.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_body_too_large",
"message": "The JSON request body exceeds 1 MiB.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_unsupported_media_type",
"message": "Content-Type must be application/json.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_automation_follow_up_missing",
"message": "A start_follow_up opening button requires a follow-up.",
"correlation_id": "<string>",
"details": "<unknown>"
}
}
{
"error": {
"code": "api_automation_committed_response_unavailable",
"message": "The automation committed, but its response could not be verified. Do not retry automatically.",
"correlation_id": "<string>",
"details": {
"committed": true,
"retryable": false
}
}
}
{
"error": {
"code": "api_account_resolution_unavailable",
"message": "The reachable account set could not be read.",
"correlation_id": "<string>"
}
}
Usa este endpoint para cambiar name, configuration o ambos. Tu clave de API
necesita automations:write, y el cuerpo debe contener un account_id
accesible y expected_updated_at. Debes enviar al menos uno entre name y
configuration.Los cambios de estado no se aceptan aquí. Usa
Activar una automatización o
Desactivar una automatización.
Envía la configuración completa
configuration es una configuración de automatización tipada y completa. No es
una fusión parcial. Cuando la incluyes, el objeto validado reemplaza por
completo la configuración almacenada.Lee la automatización primero, modifica en local la configuration devuelta y
envía el resultado completo. Omitir una sección no conserva su valor guardado
antes, porque las cinco secciones son obligatorias:
Sección
Finalidad
contact_filter
A qué contactos puede responder la automatización.
trigger
Qué inicia la automatización y qué publicación o qué palabras clave vigila.
opening
El primer mensaje directo y la respuesta pública opcional.
follow_up
Las acciones ordenadas después del mensaje de apertura, o null.
extras
El comportamiento de espera entre disparadores repetidos.
El documento OpenAPI es la fuente de verdad de cada campo,
enum, límite y forma de acción anidada. Su esquema PublicAutomationUpdateV1
define el cuerpo completo de la solicitud y cubre:
La elección del disparador mediante type y los objetos publication,
story, keywords y reactions que le pertenecen.
La entrega de apertura mediante direct_message, con delay_seconds, el
text del mensaje y hasta tres botones de tipo start_follow_up o url.
Las respuestas públicas mediante public_reply, con messages, rotation,
mention_mode y max_per_post.
Los pasos de seguimiento mediante actions, incluidos send_message,
send_media, send_carousel, ask_to_follow, ask_for_email, ask_for_phone,
add_contact_tag y finish.
La protección ante repeticiones mediante extras.cooldown.
Los campos llamados type, mode, match_mode, rotation o mention_mode
son enums. Usa solo los valores que define ese documento. La API rechaza
propiedades desconocidas y combinaciones inválidas con 422 y
api_automation_invalid_configuration. Lee error.details.issues para
conocer el path, el code y el message que fallaron.Usa Listar medios de Instagram para encontrar el
id del medio de un disparador que vigila una publicación o una historia
concreta.
Automatizaciones creadas antes del contrato público
Una automatización cuya configuración almacenada es anterior al contrato
público se devuelve con authoring_compatibility igual a read_only_legacy y
configuration igual a null. Todavía puedes renombrarla. Enviar una
configuration completa reemplaza la configuración antigua y convierte la
automatización al contrato público, algo que no se puede deshacer desde la API.
Protege los cambios concurrentes
Lee la automatización primero y envía su valor exacto de updated_at como
expected_updated_at. Si otra solicitud cambió la automatización, la API
devuelve 409 con api_automation_version_conflict. Lee la automatización de
nuevo y arma una actualización nueva a partir del valor que devuelve.
Si la API devuelve api_automation_committed_response_unavailable con
committed: true y retryable: false, el cambio se aplicó, pero la API no
pudo verificar la respuesta. No repitas la llamada automáticamente. Lee la
automatización actual antes de decidir si hace falta otra actualización.
{
"error": {
"code": "api_automation_plan_limit",
"message": "The account plan does not allow this automation.",
"correlation_id": "<string>",
"details": "<unknown>"
}
}
{
"error": {
"code": "api_account_not_granted",
"message": "This credential is not authorized for the request.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_automation_media_not_found",
"message": "The referenced Instagram media was not found.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_automation_version_conflict",
"message": "The automation changed after the supplied version.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_body_too_large",
"message": "The JSON request body exceeds 1 MiB.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_unsupported_media_type",
"message": "Content-Type must be application/json.",
"correlation_id": "<string>"
}
}
{
"error": {
"code": "api_automation_follow_up_missing",
"message": "A start_follow_up opening button requires a follow-up.",
"correlation_id": "<string>",
"details": "<unknown>"
}
}
{
"error": {
"code": "api_automation_committed_response_unavailable",
"message": "The automation committed, but its response could not be verified. Do not retry automatically.",
"correlation_id": "<string>",
"details": {
"committed": true,
"retryable": false
}
}
}
{
"error": {
"code": "api_account_resolution_unavailable",
"message": "The reachable account set could not be read.",
"correlation_id": "<string>"
}
}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"levios","description":"API and MCP documentation for levios","colors":{"primary":"#337ABA","light":"#5795D9","dark":"#337ABA"},"logo":{"light":"https://mintcdn.com/levios/BTR5m45GHYJANZBI/logo/levios-light.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=60d98c15c409612fcff357c5f7bbab21","dark":"https://mintcdn.com/levios/BTR5m45GHYJANZBI/logo/levios-dark.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=cea468b6b77d9a43220b018e19dfa607","href":"https://levios.app"},"favicon":"https://mintcdn.com/levios/BTR5m45GHYJANZBI/favicon.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=d1aef98492442f84ea1fb64b70d45846","api":{"playground":{"display":"simple","proxy":false,"credentials":false},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"navbar":{"primary":{"type":"button","label":"Open levios","href":"https://levios.app"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"pt-BR","href":"pt-BR"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"levios","hasAudioNarration":false,"actualSubdomain":"levios","customDomains":["docs.levios.app"],"gitSource":{"type":"github","owner":"luizmazini","repo":"levios-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aa419bd73ef8df176d19a54","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"en","tag":"Build with AI","count":23},{"language":"es","tag":"Construir con IA","count":23},{"language":"pt-BR","tag":"Construir com IA","count":23},{"language":"en","tag":"API Reference","count":20},{"language":"es","tag":"Referencia de la API","count":20},{"language":"pt-BR","tag":"Referência da API","count":20},{"language":"en","tag":"Setup guides","count":15},{"language":"es","tag":"Guías de configuración","count":15},{"language":"pt-BR","tag":"Guias de configuração","count":15},{"language":"en","tag":"Documentation","count":12},{"language":"es","tag":"Documentación","count":12},{"language":"pt-BR","tag":"Documentação","count":12},{"language":"en","tag":"Guides","count":9},{"language":"es","tag":"Guías","count":9},{"language":"pt-BR","tag":"Guias","count":9},{"language":"en","tag":"Automations","count":8},{"language":"es","tag":"Automatizaciones","count":8},{"language":"pt-BR","tag":"Automações","count":8},{"language":"en","tag":"Agent Skills","count":7},{"language":"es","tag":"Skills de Agentes","count":7},{"language":"pt-BR","tag":"Skills de Agentes","count":7},{"language":"en","tag":"Contact tags","count":6},{"language":"es","tag":"Etiquetas de contacto","count":6},{"language":"pt-BR","tag":"Tags de contato","count":6},{"language":"en","tag":"Accounts","count":2},{"language":"en","tag":"Contacts","count":2},{"language":"es","tag":"Cuentas","count":2},{"language":"es","tag":"Contactos","count":2},{"language":"pt-BR","tag":"Contas","count":2},{"language":"pt-BR","tag":"Contatos","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"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":"es/api/v1/automations/update","slug":"/es/api/v1/automations/update","pageMetadata":{"title":"Actualizar una automatización","description":"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.","openapi":"openapi/v1.json PATCH /api/v1/automations/{automationId}","href":"/es/api/v1/automations/update"},"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: \"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Usa este endpoint para cambiar `,_jsx(_components.code,{children:`name`}),`, `,_jsx(_components.code,{children:`configuration`}),` o ambos. Tu clave de API\nnecesita `,_jsx(_components.code,{children:`automations:write`}),`, y el cuerpo debe contener un `,_jsx(_components.code,{children:`account_id`}),`\naccesible y `,_jsx(_components.code,{children:`expected_updated_at`}),`. Debes enviar al menos uno entre `,_jsx(_components.code,{children:`name`}),` y\n`,_jsx(_components.code,{children:`configuration`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Los cambios de estado no se aceptan aquí. Usa\n`,_jsx(_components.a,{href:`/es/api/v1/automations/activate`,children:`Activar una automatización`}),` o\n`,_jsx(_components.a,{href:`/es/api/v1/automations/deactivate`,children:`Desactivar una automatización`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`envía-la-configuración-completa`,children:`Envía la configuración completa`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`configuration`}),` es una configuración de automatización tipada y completa. No es\nuna fusión parcial. Cuando la incluyes, el objeto validado reemplaza por\ncompleto la configuración almacenada.`]}),`\n`,_jsxs(_components.p,{children:[`Lee la automatización primero, modifica en local la `,_jsx(_components.code,{children:`configuration`}),` devuelta y\nenvía el resultado completo. Omitir una sección no conserva su valor guardado\nantes, porque las cinco secciones son obligatorias:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Sección`}),_jsx(_components.th,{children:`Finalidad`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`contact_filter`})}),_jsx(_components.td,{children:`A qué contactos puede responder la automatización.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`trigger`})}),_jsx(_components.td,{children:`Qué inicia la automatización y qué publicación o qué palabras clave vigila.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`opening`})}),_jsx(_components.td,{children:`El primer mensaje directo y la respuesta pública opcional.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`follow_up`})}),_jsxs(_components.td,{children:[`Las acciones ordenadas después del mensaje de apertura, o `,_jsx(_components.code,{children:`null`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`extras`})}),_jsx(_components.td,{children:`El comportamiento de espera entre disparadores repetidos.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`El `,_jsx(_components.a,{href:`/openapi/v1.json`,children:`documento OpenAPI`}),` es la fuente de verdad de cada campo,\nenum, límite y forma de acción anidada. Su esquema `,_jsx(_components.code,{children:`PublicAutomationUpdateV1`}),`\ndefine el cuerpo completo de la solicitud y cubre:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`La elección del disparador mediante `,_jsx(_components.code,{children:`type`}),` y los objetos `,_jsx(_components.code,{children:`publication`}),`,\n`,_jsx(_components.code,{children:`story`}),`, `,_jsx(_components.code,{children:`keywords`}),` y `,_jsx(_components.code,{children:`reactions`}),` que le pertenecen.`]}),`\n`,_jsxs(_components.li,{children:[`La entrega de apertura mediante `,_jsx(_components.code,{children:`direct_message`}),`, con `,_jsx(_components.code,{children:`delay_seconds`}),`, el\n`,_jsx(_components.code,{children:`text`}),` del mensaje y hasta tres botones de tipo `,_jsx(_components.code,{children:`start_follow_up`}),` o `,_jsx(_components.code,{children:`url`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Las respuestas públicas mediante `,_jsx(_components.code,{children:`public_reply`}),`, con `,_jsx(_components.code,{children:`messages`}),`, `,_jsx(_components.code,{children:`rotation`}),`,\n`,_jsx(_components.code,{children:`mention_mode`}),` y `,_jsx(_components.code,{children:`max_per_post`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Los pasos de seguimiento mediante `,_jsx(_components.code,{children:`actions`}),`, incluidos `,_jsx(_components.code,{children:`send_message`}),`,\n`,_jsx(_components.code,{children:`send_media`}),`, `,_jsx(_components.code,{children:`send_carousel`}),`, `,_jsx(_components.code,{children:`ask_to_follow`}),`, `,_jsx(_components.code,{children:`ask_for_email`}),`, `,_jsx(_components.code,{children:`ask_for_phone`}),`,\n`,_jsx(_components.code,{children:`add_contact_tag`}),` y `,_jsx(_components.code,{children:`finish`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`La protección ante repeticiones mediante `,_jsx(_components.code,{children:`extras.cooldown`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Los campos llamados `,_jsx(_components.code,{children:`type`}),`, `,_jsx(_components.code,{children:`mode`}),`, `,_jsx(_components.code,{children:`match_mode`}),`, `,_jsx(_components.code,{children:`rotation`}),` o `,_jsx(_components.code,{children:`mention_mode`}),`\nson enums. Usa solo los valores que define ese documento. La API rechaza\npropiedades desconocidas y combinaciones inválidas con `,_jsx(_components.code,{children:`422`}),` y\n`,_jsx(_components.code,{children:`api_automation_invalid_configuration`}),`. Lee `,_jsx(_components.code,{children:`error.details.issues`}),` para\nconocer el `,_jsx(_components.code,{children:`path`}),`, el `,_jsx(_components.code,{children:`code`}),` y el `,_jsx(_components.code,{children:`message`}),` que fallaron.`]}),`\n`,_jsxs(_components.p,{children:[`Usa `,_jsx(_components.a,{href:`/es/api/v1/accounts/media`,children:`Listar medios de Instagram`}),` para encontrar el\n`,_jsx(_components.code,{children:`id`}),` del medio de un disparador que vigila una publicación o una historia\nconcreta.`]}),`\n`,_jsx(Heading,{level:`2`,id:`automatizaciones-creadas-antes-del-contrato-público`,children:`Automatizaciones creadas antes del contrato público`}),`\n`,_jsxs(_components.p,{children:[`Una automatización cuya configuración almacenada es anterior al contrato\npúblico se devuelve con `,_jsx(_components.code,{children:`authoring_compatibility`}),` igual a `,_jsx(_components.code,{children:`read_only_legacy`}),` y\n`,_jsx(_components.code,{children:`configuration`}),` igual a `,_jsx(_components.code,{children:`null`}),`. Todavía puedes renombrarla. Enviar una\n`,_jsx(_components.code,{children:`configuration`}),` completa reemplaza la configuración antigua y convierte la\nautomatización al contrato público, algo que no se puede deshacer desde la API.`]}),`\n`,_jsx(Heading,{level:`2`,id:`protege-los-cambios-concurrentes`,children:`Protege los cambios concurrentes`}),`\n`,_jsxs(_components.p,{children:[`Lee la automatización primero y envía su valor exacto de `,_jsx(_components.code,{children:`updated_at`}),` como\n`,_jsx(_components.code,{children:`expected_updated_at`}),`. Si otra solicitud cambió la automatización, la API\ndevuelve `,_jsx(_components.code,{children:`409`}),` con `,_jsx(_components.code,{children:`api_automation_version_conflict`}),`. Lee la automatización de\nnuevo y arma una actualización nueva a partir del valor que devuelve.`]}),`\n`,_jsx(Heading,{level:`2`,id:`solicitud-de-ejemplo`,children:`Solicitud de ejemplo`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`85`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`85`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"https://levios.app/api/v1/automations/${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LEVIOS_AUTOMATION_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"Authorization: Bearer ${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LEVIOS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` @-`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`JSON`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"account_id\": \"${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LEVIOS_ACCOUNT_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\",`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"expected_updated_at\": \"${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`EXPECTED_UPDATED_AT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\",`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Guide request\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"configuration\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"contact_filter\": \"anyone\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"trigger\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"comment\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"publication\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"specific\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"reference\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"url\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"value\": \"https://www.instagram.com/p/ABC123/\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"keywords\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"specific\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"match_mode\": \"whole_word\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"values\": [\"guide\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"opening\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"direct_message\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"delay_seconds\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"message\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"Tap below to continue.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buttons\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"start_follow_up\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Continue\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"public_reply\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"enabled\": true,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"delay_seconds\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_per_post\": 50,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mention_mode\": \"none\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"rotation\": \"random\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"messages\": [\"I sent it by DM.\"]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"follow_up\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"actions\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"ask_for_email\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"delay_seconds\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"message\": \"What is your best email address?\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"retry_message\": \"Send a valid email address.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"max_attempts\": 3,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"expires_in_seconds\": 86400,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"retry_exhausted_action\": \"stop\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"send_message\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"delay_seconds\": 0,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"text\": \"Here is your access link.\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"buttons\": [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"url\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"title\": \"Open content\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"url\": \"https://example.com/content\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\": \"finish\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"extras\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"cooldown\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"mode\": \"fixed\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"seconds\": 21600`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`JSON`})}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Si la API devuelve `,_jsx(_components.code,{children:`api_automation_committed_response_unavailable`}),` con\n`,_jsx(_components.code,{children:`committed: true`}),` y `,_jsx(_components.code,{children:`retryable: false`}),`, el cambio se aplicó, pero la API no\npudo verificar la respuesta. No repitas la llamada automáticamente. Lee la\nautomatización actual antes de decidir si hace falta otra actualización.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`ejemplo-de-respuesta-correcta`,children:`Ejemplo de respuesta correcta`}),`\n`,_jsxs(_components.p,{children:[`ID, fechas y contenido ilustrativos. HTTP `,_jsx(_components.code,{children:`200`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`54`,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:`54`,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:` \"automation\"`}),_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:`\"00000000-0000-4000-8000-000000000002\"`}),_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:` \"account_id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"00000000-0000-4000-8000-000000000001\"`}),_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:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Updated guide request\"`}),_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:`\"draft\"`}),_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:` \"has_unpublished_changes\"`}),_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:` \"draft_updated_at\"`}),_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:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-01T12:00:00.000000Z\"`}),_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:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-01T12:05:00.000000Z\"`}),_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:` \"trigger_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"comment\"`}),_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:` \"configuration\"`}),_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:` \"contact_filter\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"anyone\"`}),_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:` \"trigger\"`}),_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:`\"comment\"`}),_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:` \"publication\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"all\"`})]}),`\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:` \"keywords\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"specific\"`}),_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:` \"match_mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"whole_word\"`}),_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:` \"values\"`}),_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:` \"guide\"`})}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"opening\"`}),_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:` \"public_reply\"`}),_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:` \"enabled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\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:` \"direct_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:` \"delay_seconds\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_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:` \"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:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Here is the guide you asked for.\"`}),_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:` \"buttons\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#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:`\"url\"`}),_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:` \"title\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Open the guide\"`}),_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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://example.com/guide\"`})]}),`\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(_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"follow_up\"`}),_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:` \"extras\"`}),_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:` \"cooldown\"`}),_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:` \"mode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"none\"`})]}),`\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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authoring_compatibility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"public_v1\"`})]}),`\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`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`guías-de-creación`,children:`Guías de creación`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/es/guides/automation-workflow`,children:`Creación y edición`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/es/guides/automation-configuration`,children:`Configuración`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/es/guides/automation-triggers`,children:`Triggers`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/es/guides/automation-actions`,children:`Actions`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/es/mcp/automation-authoring`,children:`Creación mediante MCP`})}),`\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":"Actualizar una automatización","description":"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.","openapi":"openapi/v1.json PATCH /api/v1/automations/{automationId}","href":"/es/api/v1/automations/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Envía la configuración completa","slug":"envía-la-configuración-completa","depth":2,"children":[]},{"title":"Automatizaciones creadas antes del contrato público","slug":"automatizaciones-creadas-antes-del-contrato-público","depth":2,"children":[]},{"title":"Protege los cambios concurrentes","slug":"protege-los-cambios-concurrentes","depth":2,"children":[]},{"title":"Solicitud de ejemplo","slug":"solicitud-de-ejemplo","depth":2,"children":[]},{"title":"Ejemplo de respuesta correcta","slug":"ejemplo-de-respuesta-correcta","depth":2,"children":[]},{"title":"Guías de creación","slug":"guías-de-creación","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["automation"],"operationId":"automations.update","summary":"Update an automation","description":"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.","parameters":["e988fc2a-49fd-4fa2-8312-bde8ee0bb1d2"],"requestBody":"d3af45a1-6f27-4569-a19d-374d30aacf19","x-levios-semantic-id":"api.v1.automations.update","x-levios-required-scope":"automations:write","x-levios-account-scope":"required","x-levios-effect":"write","x-levios-idempotency":"idempotent","x-levios-rate-limit":{"descriptor_id":"automations.update","cost_class":"write","tenant_scope":"selected_account"},"responses":{"200":"d9f5a225-0393-4047-b25a-60bd7ea817dc","400":"9f117c40-563e-4399-bab1-7181def685ae","401":"06820bbc-c4d1-47f7-a523-874e82fe08fc","402":"79af6332-6ca0-44db-a12f-10e7eb890903","403":"1e9a17b5-1f0b-4982-b278-994744805a8c","404":"f07d488f-b8f1-4734-912a-4b8c88280485","409":"dd606a7f-236f-4166-9d05-f6c534e085e8","413":"4e96f91f-07c8-4d1f-9568-500d9dd81908","415":"07e90a44-0608-4726-a502-7fd640774f7b","422":"c45c45cb-dbb6-4f04-a26f-d8ae203104ca","429":"c5c95f5e-e467-4494-a0e0-f6da819bf370","500":"7dcc8e12-bb4b-4ed5-9016-cbc5a6cd78c2","503":"16d26ca5-8f7c-4643-85ca-88abdd0c7238"},"method":"patch","type":"path","servers":["3e34a11f-461b-4a57-a9b6-24892a88cdff"],"security":["04363182-13ef-4fa5-a86a-382cd5efb85c"],"path":"/api/v1/automations/{automationId}","baseUrlOptions":["https://levios.app"],"title":"Update an automation","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"e988fc2a-49fd-4fa2-8312-bde8ee0bb1d2":{"name":"automationId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$defs":{"PublicAutomationUpdateV1":{"additionalProperties":false,"anyOf":[{"required":["name"]},{"required":["configuration"]}],"examples":[{"account_id":"11111111-1111-4111-8111-111111111111","configuration":{"contact_filter":"anyone","extras":{"cooldown":{"mode":"fixed","seconds":21600}},"follow_up":{"actions":[{"delay_seconds":0,"expires_in_seconds":86400,"max_attempts":3,"message":"What is your best email address?","retry_exhausted_action":"stop","retry_message":"Send a valid email address.","type":"ask_for_email"},{"buttons":[{"title":"Open content","type":"url","url":"https://example.com/content"}],"delay_seconds":0,"text":"Here is your access link.","type":"send_message"},{"type":"finish"}]},"opening":{"direct_message":{"delay_seconds":0,"message":{"buttons":[{"title":"Continue","type":"start_follow_up"}],"text":"Tap below to continue."}},"public_reply":{"delay_seconds":0,"enabled":true,"max_per_post":50,"mention_mode":"none","messages":["I sent it by DM."],"rotation":"random"}},"trigger":{"keywords":{"match_mode":"whole_word","mode":"specific","values":["guide"]},"publication":{"mode":"specific","reference":{"type":"url","value":"https://www.instagram.com/p/ABC123/"}},"type":"comment"}},"expected_updated_at":"2026-08-22T15:30:00.000Z","name":"Updated campaign name"}],"properties":{"account_id":{"format":"uuid","type":"string"},"configuration":{"additionalProperties":false,"properties":{"contact_filter":{"description":"`anyone` — every eligible contact; `followers_only` — confirmed followers; `non_followers_only` — confirmed non-followers; `previous_dm_contacts` — contacts with an inbound DM before this trigger; `existing_contacts` — contacts already known before this trigger.","enum":["anyone","followers_only","non_followers_only","previous_dm_contacts","existing_contacts"],"type":"string"},"extras":{"additionalProperties":false,"properties":{"cooldown":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"none","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"fixed","type":"string"},"seconds":{"maximum":2592000,"minimum":1,"type":"integer"}},"required":["mode","seconds"],"type":"object"}]}},"required":["cooldown"],"type":"object"},"follow_up":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":0,"minItems":0,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"}]},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"media_type":{"description":"`image`, `video`, `audio`, or `file` identifies the outbound Instagram attachment type.","enum":["image","video","audio","file"],"type":"string"},"type":{"const":"send_media","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","delay_seconds","media_type","url"],"type":"object"},{"additionalProperties":false,"properties":{"cards":{"items":{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"image_url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"},"subtitle":{"description":"Card subtitle. Length is 0 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){0,80}$","type":"string"},"title":{"description":"Card title. Length is 1 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,80}$","type":"string"}},"required":["title","image_url","buttons"],"type":"object"},"maxItems":10,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"type":{"const":"send_carousel","type":"string"}},"required":["type","delay_seconds","cards"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"additionalProperties":false,"properties":{"confirm_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"open_profile_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"}},"required":["open_profile_title","confirm_title"],"type":"object"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":10,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"not_following_message":{"anyOf":[{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},{"type":"null"}],"description":"Message text. Length is 1 through 640 Unicode scalar values."},"recheck_after_seconds":{"maximum":86400,"minimum":60,"type":"integer"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"type":{"const":"ask_to_follow","type":"string"},"verification_mode":{"description":"`trusted_click` — trust the confirmation click; `strict` — verify follow status with Instagram.","enum":["trusted_click","strict"],"type":"string"}},"required":["type","delay_seconds","message","buttons","verification_mode","not_following_message","max_attempts","retry_exhausted_action","recheck_after_seconds","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_email","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_phone","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":2592000,"minimum":0,"type":"integer"},"tag_id":{"format":"uuid","type":"string"},"type":{"const":"add_contact_tag","type":"string"}},"required":["type","delay_seconds","tag_id"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"finish","type":"string"}},"required":["type"],"type":"object"}]},"maxItems":20,"minItems":1,"type":"array"}},"required":["actions"],"type":"object"}]},"opening":{"additionalProperties":false,"properties":{"direct_message":{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"message":{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":0,"minItems":0,"type":"array"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"}},"required":["text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":3,"minItems":1,"type":"array"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"}},"required":["text","buttons"],"type":"object"}]}},"required":["delay_seconds","message"],"type":"object"},"public_reply":{"anyOf":[{"additionalProperties":false,"properties":{"enabled":{"const":false,"type":"boolean"}},"required":["enabled"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"enabled":{"const":true,"type":"boolean"},"max_per_post":{"maximum":200,"minimum":1,"type":"integer"},"mention_mode":{"description":"`none` — do not prefix a mention; `contact` — mention the contact; `account` — mention the account.","enum":["none","contact","account"],"type":"string"},"messages":{"items":{"description":"Public reply message. Length is 1 through 280 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,280}$","type":"string"},"minItems":1,"type":"array"},"rotation":{"description":"`random` — choose a response randomly; `sequential` — rotate responses in their submitted order.","enum":["random","sequential"],"type":"string"}},"required":["enabled","delay_seconds","messages","rotation","mention_mode","max_per_post"],"type":"object"}]}},"required":["public_reply","direct_message"],"type":"object"},"trigger":{"anyOf":[{"additionalProperties":false,"properties":{"keywords":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"match_mode":{"description":"`whole_word` — match an isolated keyword or phrase; `substring` — match it anywhere in the text.","enum":["whole_word","substring"],"type":"string"},"mode":{"const":"specific","type":"string"},"values":{"items":{"description":"Keyword or phrase. Length is 1 through 100 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,100}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["mode","match_mode","values"],"type":"object"}]},"publication":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"all","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"next_published","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"specific","type":"string"},"reference":{"anyOf":[{"additionalProperties":false,"properties":{"type":{"const":"id","type":"string"},"value":{"description":"Opaque Instagram media ID returned by Levios discovery. Use 1 through 256 printable ASCII characters.","pattern":"^[!-~]{1,256}$","type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"url","type":"string"},"value":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]:\\/\\/(?:[Ww][Ww][Ww]\\.)?[Ii][Nn][Ss][Tt][Aa][Gg][Rr][Aa][Mm]\\.[Cc][Oo][Mm]\\/(?:[Pp]|[Rr][Ee][Ee][Ll])\\/[A-Za-z0-9_-]+\\/?(?:[?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","value"],"type":"object"}]}},"required":["mode","reference"],"type":"object"}]},"type":{"const":"comment","type":"string"}},"required":["type","publication","keywords"],"type":"object"},{"additionalProperties":false,"properties":{"keywords":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"match_mode":{"description":"`whole_word` — match an isolated keyword or phrase; `substring` — match it anywhere in the text.","enum":["whole_word","substring"],"type":"string"},"mode":{"const":"specific","type":"string"},"values":{"items":{"description":"Keyword or phrase. Length is 1 through 100 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,100}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["mode","match_mode","values"],"type":"object"}]},"response_type":{"const":"text","type":"string"},"story":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"specific","type":"string"},"reference":{"additionalProperties":false,"properties":{"type":{"const":"id","type":"string"},"value":{"description":"Opaque Instagram media ID returned by Levios discovery. Use 1 through 256 printable ASCII characters.","pattern":"^[!-~]{1,256}$","type":"string"}},"required":["type","value"],"type":"object"}},"required":["mode","reference"],"type":"object"}]},"type":{"const":"story_reply","type":"string"}},"required":["type","response_type","story","keywords"],"type":"object"},{"additionalProperties":false,"properties":{"reactions":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"emojis":{"items":{"description":"Reaction emoji. Length is 1 through 16 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,16}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"},"mode":{"const":"specific","type":"string"}},"required":["mode","emojis"],"type":"object"}]},"response_type":{"const":"reaction","type":"string"},"story":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"specific","type":"string"},"reference":{"additionalProperties":false,"properties":{"type":{"const":"id","type":"string"},"value":{"description":"Opaque Instagram media ID returned by Levios discovery. Use 1 through 256 printable ASCII characters.","pattern":"^[!-~]{1,256}$","type":"string"}},"required":["type","value"],"type":"object"}},"required":["mode","reference"],"type":"object"}]},"type":{"const":"story_reply","type":"string"}},"required":["type","response_type","story","reactions"],"type":"object"},{"additionalProperties":false,"properties":{"keywords":{"additionalProperties":false,"properties":{"match_mode":{"description":"`whole_word` — match an isolated keyword or phrase; `substring` — match it anywhere in the text.","enum":["whole_word","substring"],"type":"string"},"mode":{"const":"specific","type":"string"},"values":{"items":{"description":"Keyword or phrase. Length is 1 through 100 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,100}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["mode","match_mode","values"],"type":"object"},"type":{"const":"dm_keyword","type":"string"}},"required":["type","keywords"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"story_mention","type":"string"}},"required":["type"],"type":"object"}]}},"required":["contact_filter","opening","follow_up","extras","trigger"],"type":"object"},"expected_updated_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},"name":{"description":"Automation name. Use 1 through 120 Unicode scalar values, without surrounding whitespace or control characters.","pattern":"^(?!\\s)(?![\\s\\S]*\\s$)(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000-\\u001F\\u007F-\\u009F\\uD800-\\uDFFF])){1,120}$","type":"string"}},"required":["account_id","expected_updated_at"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-update-v1","$ref":"abf2ab97-11ad-431f-9174-61a1c09be573","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationUpdateV1","x-levios-max-serialized-bytes":1048576,"x-levios-schema-version":1}}},"exampleType":"generated"},"responses":{"d9f5a225-0393-4047-b25a-60bd7ea817dc":{"description":"Successful response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"$defs":{"PublicAutomationDetailResponseV1":{"additionalProperties":false,"properties":{"automation":{"anyOf":[{"additionalProperties":false,"properties":{"account_id":{"format":"uuid","type":"string"},"authoring_compatibility":{"const":"public_v1","type":"string"},"configuration":{"additionalProperties":false,"properties":{"contact_filter":{"description":"`anyone` — every eligible contact; `followers_only` — confirmed followers; `non_followers_only` — confirmed non-followers; `previous_dm_contacts` — contacts with an inbound DM before this trigger; `existing_contacts` — contacts already known before this trigger.","enum":["anyone","followers_only","non_followers_only","previous_dm_contacts","existing_contacts"],"type":"string"},"extras":{"additionalProperties":false,"properties":{"cooldown":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"none","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"fixed","type":"string"},"seconds":{"maximum":2592000,"minimum":1,"type":"integer"}},"required":["mode","seconds"],"type":"object"}]}},"required":["cooldown"],"type":"object"},"follow_up":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":0,"minItems":0,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"}]},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"media_type":{"description":"`image`, `video`, `audio`, or `file` identifies the outbound Instagram attachment type.","enum":["image","video","audio","file"],"type":"string"},"type":{"const":"send_media","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","delay_seconds","media_type","url"],"type":"object"},{"additionalProperties":false,"properties":{"cards":{"items":{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"image_url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"},"subtitle":{"description":"Card subtitle. Length is 0 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){0,80}$","type":"string"},"title":{"description":"Card title. Length is 1 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,80}$","type":"string"}},"required":["title","image_url","buttons"],"type":"object"},"maxItems":10,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"type":{"const":"send_carousel","type":"string"}},"required":["type","delay_seconds","cards"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"additionalProperties":false,"properties":{"confirm_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"open_profile_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"}},"required":["open_profile_title","confirm_title"],"type":"object"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":10,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"not_following_message":{"anyOf":[{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},{"type":"null"}],"description":"Message text. Length is 1 through 640 Unicode scalar values."},"recheck_after_seconds":{"maximum":86400,"minimum":60,"type":"integer"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"type":{"const":"ask_to_follow","type":"string"},"verification_mode":{"description":"`trusted_click` — trust the confirmation click; `strict` — verify follow status with Instagram.","enum":["trusted_click","strict"],"type":"string"}},"required":["type","delay_seconds","message","buttons","verification_mode","not_following_message","max_attempts","retry_exhausted_action","recheck_after_seconds","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_email","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_phone","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":2592000,"minimum":0,"type":"integer"},"tag_id":{"format":"uuid","type":"string"},"type":{"const":"add_contact_tag","type":"string"}},"required":["type","delay_seconds","tag_id"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"finish","type":"string"}},"required":["type"],"type":"object"}]},"maxItems":20,"minItems":1,"type":"array"}},"required":["actions"],"type":"object"}]},"opening":{"additionalProperties":false,"properties":{"direct_message":{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"message":{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":0,"minItems":0,"type":"array"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"}},"required":["text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":3,"minItems":1,"type":"array"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"}},"required":["text","buttons"],"type":"object"}]}},"required":["delay_seconds","message"],"type":"object"},"public_reply":{"anyOf":[{"additionalProperties":false,"properties":{"enabled":{"const":false,"type":"boolean"}},"required":["enabled"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"enabled":{"const":true,"type":"boolean"},"max_per_post":{"maximum":200,"minimum":1,"type":"integer"},"mention_mode":{"description":"`none` — do not prefix a mention; `contact` — mention the contact; `account` — mention the account.","enum":["none","contact","account"],"type":"string"},"messages":{"items":{"description":"Public reply message. Length is 1 through 280 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,280}$","type":"string"},"minItems":1,"type":"array"},"rotation":{"description":"`random` — choose a response randomly; `sequential` — rotate responses in their submitted order.","enum":["random","sequential"],"type":"string"}},"required":["enabled","delay_seconds","messages","rotation","mention_mode","max_per_post"],"type":"object"}]}},"required":["public_reply","direct_message"],"type":"object"},"trigger":{"additionalProperties":false,"properties":{"keywords":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"match_mode":{"description":"`whole_word` — match an isolated keyword or phrase; `substring` — match it anywhere in the text.","enum":["whole_word","substring"],"type":"string"},"mode":{"const":"specific","type":"string"},"values":{"items":{"description":"Keyword or phrase. Length is 1 through 100 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,100}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["mode","match_mode","values"],"type":"object"}]},"publication":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"all","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"next_published","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"specific","type":"string"},"reference":{"anyOf":[{"additionalProperties":false,"properties":{"type":{"const":"id","type":"string"},"value":{"description":"Opaque Instagram media ID returned by Levios discovery. Use 1 through 256 printable ASCII characters.","pattern":"^[!-~]{1,256}$","type":"string"}},"required":["type","value"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"url","type":"string"},"value":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]:\\/\\/(?:[Ww][Ww][Ww]\\.)?[Ii][Nn][Ss][Tt][Aa][Gg][Rr][Aa][Mm]\\.[Cc][Oo][Mm]\\/(?:[Pp]|[Rr][Ee][Ee][Ll])\\/[A-Za-z0-9_-]+\\/?(?:[?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","value"],"type":"object"}]}},"required":["mode","reference"],"type":"object"}]},"type":{"const":"comment","type":"string"}},"required":["type","publication","keywords"],"type":"object"}},"required":["contact_filter","opening","follow_up","extras","trigger"],"type":"object"},"created_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},"draft_updated_at":{"anyOf":[{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},{"type":"null"}]},"has_unpublished_changes":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"description":"Automation name. Use 1 through 120 Unicode scalar values, without surrounding whitespace or control characters.","pattern":"^(?!\\s)(?![\\s\\S]*\\s$)(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000-\\u001F\\u007F-\\u009F\\uD800-\\uDFFF])){1,120}$","type":"string"},"status":{"description":"`draft` — not published; `live` — processing triggers; `paused` — published but paused.","enum":["draft","live","paused"],"type":"string"},"trigger_type":{"const":"comment","type":"string"},"updated_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"}},"required":["id","account_id","name","status","has_unpublished_changes","draft_updated_at","created_at","updated_at","trigger_type","configuration","authoring_compatibility"],"type":"object"},{"additionalProperties":false,"properties":{"account_id":{"format":"uuid","type":"string"},"authoring_compatibility":{"const":"public_v1","type":"string"},"configuration":{"additionalProperties":false,"properties":{"contact_filter":{"description":"`anyone` — every eligible contact; `followers_only` — confirmed followers; `non_followers_only` — confirmed non-followers; `previous_dm_contacts` — contacts with an inbound DM before this trigger; `existing_contacts` — contacts already known before this trigger.","enum":["anyone","followers_only","non_followers_only","previous_dm_contacts","existing_contacts"],"type":"string"},"extras":{"additionalProperties":false,"properties":{"cooldown":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"none","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"fixed","type":"string"},"seconds":{"maximum":2592000,"minimum":1,"type":"integer"}},"required":["mode","seconds"],"type":"object"}]}},"required":["cooldown"],"type":"object"},"follow_up":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":0,"minItems":0,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"}]},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"media_type":{"description":"`image`, `video`, `audio`, or `file` identifies the outbound Instagram attachment type.","enum":["image","video","audio","file"],"type":"string"},"type":{"const":"send_media","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","delay_seconds","media_type","url"],"type":"object"},{"additionalProperties":false,"properties":{"cards":{"items":{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"image_url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"},"subtitle":{"description":"Card subtitle. Length is 0 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){0,80}$","type":"string"},"title":{"description":"Card title. Length is 1 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,80}$","type":"string"}},"required":["title","image_url","buttons"],"type":"object"},"maxItems":10,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"type":{"const":"send_carousel","type":"string"}},"required":["type","delay_seconds","cards"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"additionalProperties":false,"properties":{"confirm_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"open_profile_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"}},"required":["open_profile_title","confirm_title"],"type":"object"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":10,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"not_following_message":{"anyOf":[{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},{"type":"null"}],"description":"Message text. Length is 1 through 640 Unicode scalar values."},"recheck_after_seconds":{"maximum":86400,"minimum":60,"type":"integer"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"type":{"const":"ask_to_follow","type":"string"},"verification_mode":{"description":"`trusted_click` — trust the confirmation click; `strict` — verify follow status with Instagram.","enum":["trusted_click","strict"],"type":"string"}},"required":["type","delay_seconds","message","buttons","verification_mode","not_following_message","max_attempts","retry_exhausted_action","recheck_after_seconds","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_email","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_phone","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":2592000,"minimum":0,"type":"integer"},"tag_id":{"format":"uuid","type":"string"},"type":{"const":"add_contact_tag","type":"string"}},"required":["type","delay_seconds","tag_id"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"finish","type":"string"}},"required":["type"],"type":"object"}]},"maxItems":20,"minItems":1,"type":"array"}},"required":["actions"],"type":"object"}]},"opening":{"additionalProperties":false,"properties":{"direct_message":{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"message":{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":0,"minItems":0,"type":"array"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"}},"required":["text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":3,"minItems":1,"type":"array"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"}},"required":["text","buttons"],"type":"object"}]}},"required":["delay_seconds","message"],"type":"object"},"public_reply":{"anyOf":[{"additionalProperties":false,"properties":{"enabled":{"const":false,"type":"boolean"}},"required":["enabled"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"enabled":{"const":true,"type":"boolean"},"max_per_post":{"maximum":200,"minimum":1,"type":"integer"},"mention_mode":{"description":"`none` — do not prefix a mention; `contact` — mention the contact; `account` — mention the account.","enum":["none","contact","account"],"type":"string"},"messages":{"items":{"description":"Public reply message. Length is 1 through 280 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,280}$","type":"string"},"minItems":1,"type":"array"},"rotation":{"description":"`random` — choose a response randomly; `sequential` — rotate responses in their submitted order.","enum":["random","sequential"],"type":"string"}},"required":["enabled","delay_seconds","messages","rotation","mention_mode","max_per_post"],"type":"object"}]}},"required":["public_reply","direct_message"],"type":"object"},"trigger":{"anyOf":[{"additionalProperties":false,"properties":{"keywords":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"match_mode":{"description":"`whole_word` — match an isolated keyword or phrase; `substring` — match it anywhere in the text.","enum":["whole_word","substring"],"type":"string"},"mode":{"const":"specific","type":"string"},"values":{"items":{"description":"Keyword or phrase. Length is 1 through 100 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,100}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["mode","match_mode","values"],"type":"object"}]},"response_type":{"const":"text","type":"string"},"story":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"specific","type":"string"},"reference":{"additionalProperties":false,"properties":{"type":{"const":"id","type":"string"},"value":{"description":"Opaque Instagram media ID returned by Levios discovery. Use 1 through 256 printable ASCII characters.","pattern":"^[!-~]{1,256}$","type":"string"}},"required":["type","value"],"type":"object"}},"required":["mode","reference"],"type":"object"}]},"type":{"const":"story_reply","type":"string"}},"required":["type","response_type","story","keywords"],"type":"object"},{"additionalProperties":false,"properties":{"reactions":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"emojis":{"items":{"description":"Reaction emoji. Length is 1 through 16 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,16}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"},"mode":{"const":"specific","type":"string"}},"required":["mode","emojis"],"type":"object"}]},"response_type":{"const":"reaction","type":"string"},"story":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"any","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"specific","type":"string"},"reference":{"additionalProperties":false,"properties":{"type":{"const":"id","type":"string"},"value":{"description":"Opaque Instagram media ID returned by Levios discovery. Use 1 through 256 printable ASCII characters.","pattern":"^[!-~]{1,256}$","type":"string"}},"required":["type","value"],"type":"object"}},"required":["mode","reference"],"type":"object"}]},"type":{"const":"story_reply","type":"string"}},"required":["type","response_type","story","reactions"],"type":"object"}]}},"required":["contact_filter","opening","follow_up","extras","trigger"],"type":"object"},"created_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},"draft_updated_at":{"anyOf":[{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},{"type":"null"}]},"has_unpublished_changes":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"description":"Automation name. Use 1 through 120 Unicode scalar values, without surrounding whitespace or control characters.","pattern":"^(?!\\s)(?![\\s\\S]*\\s$)(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000-\\u001F\\u007F-\\u009F\\uD800-\\uDFFF])){1,120}$","type":"string"},"status":{"description":"`draft` — not published; `live` — processing triggers; `paused` — published but paused.","enum":["draft","live","paused"],"type":"string"},"trigger_type":{"const":"story_reply","type":"string"},"updated_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"}},"required":["id","account_id","name","status","has_unpublished_changes","draft_updated_at","created_at","updated_at","trigger_type","configuration","authoring_compatibility"],"type":"object"},{"additionalProperties":false,"properties":{"account_id":{"format":"uuid","type":"string"},"authoring_compatibility":{"const":"public_v1","type":"string"},"configuration":{"additionalProperties":false,"properties":{"contact_filter":{"description":"`anyone` — every eligible contact; `followers_only` — confirmed followers; `non_followers_only` — confirmed non-followers; `previous_dm_contacts` — contacts with an inbound DM before this trigger; `existing_contacts` — contacts already known before this trigger.","enum":["anyone","followers_only","non_followers_only","previous_dm_contacts","existing_contacts"],"type":"string"},"extras":{"additionalProperties":false,"properties":{"cooldown":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"none","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"fixed","type":"string"},"seconds":{"maximum":2592000,"minimum":1,"type":"integer"}},"required":["mode","seconds"],"type":"object"}]}},"required":["cooldown"],"type":"object"},"follow_up":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":0,"minItems":0,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"}]},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"media_type":{"description":"`image`, `video`, `audio`, or `file` identifies the outbound Instagram attachment type.","enum":["image","video","audio","file"],"type":"string"},"type":{"const":"send_media","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","delay_seconds","media_type","url"],"type":"object"},{"additionalProperties":false,"properties":{"cards":{"items":{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"image_url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"},"subtitle":{"description":"Card subtitle. Length is 0 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){0,80}$","type":"string"},"title":{"description":"Card title. Length is 1 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,80}$","type":"string"}},"required":["title","image_url","buttons"],"type":"object"},"maxItems":10,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"type":{"const":"send_carousel","type":"string"}},"required":["type","delay_seconds","cards"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"additionalProperties":false,"properties":{"confirm_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"open_profile_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"}},"required":["open_profile_title","confirm_title"],"type":"object"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":10,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"not_following_message":{"anyOf":[{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},{"type":"null"}],"description":"Message text. Length is 1 through 640 Unicode scalar values."},"recheck_after_seconds":{"maximum":86400,"minimum":60,"type":"integer"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"type":{"const":"ask_to_follow","type":"string"},"verification_mode":{"description":"`trusted_click` — trust the confirmation click; `strict` — verify follow status with Instagram.","enum":["trusted_click","strict"],"type":"string"}},"required":["type","delay_seconds","message","buttons","verification_mode","not_following_message","max_attempts","retry_exhausted_action","recheck_after_seconds","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_email","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_phone","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":2592000,"minimum":0,"type":"integer"},"tag_id":{"format":"uuid","type":"string"},"type":{"const":"add_contact_tag","type":"string"}},"required":["type","delay_seconds","tag_id"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"finish","type":"string"}},"required":["type"],"type":"object"}]},"maxItems":20,"minItems":1,"type":"array"}},"required":["actions"],"type":"object"}]},"opening":{"additionalProperties":false,"properties":{"direct_message":{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"message":{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":0,"minItems":0,"type":"array"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"}},"required":["text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":3,"minItems":1,"type":"array"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"}},"required":["text","buttons"],"type":"object"}]}},"required":["delay_seconds","message"],"type":"object"},"public_reply":{"anyOf":[{"additionalProperties":false,"properties":{"enabled":{"const":false,"type":"boolean"}},"required":["enabled"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"enabled":{"const":true,"type":"boolean"},"max_per_post":{"maximum":200,"minimum":1,"type":"integer"},"mention_mode":{"description":"`none` — do not prefix a mention; `contact` — mention the contact; `account` — mention the account.","enum":["none","contact","account"],"type":"string"},"messages":{"items":{"description":"Public reply message. Length is 1 through 280 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,280}$","type":"string"},"minItems":1,"type":"array"},"rotation":{"description":"`random` — choose a response randomly; `sequential` — rotate responses in their submitted order.","enum":["random","sequential"],"type":"string"}},"required":["enabled","delay_seconds","messages","rotation","mention_mode","max_per_post"],"type":"object"}]}},"required":["public_reply","direct_message"],"type":"object"},"trigger":{"additionalProperties":false,"properties":{"keywords":{"additionalProperties":false,"properties":{"match_mode":{"description":"`whole_word` — match an isolated keyword or phrase; `substring` — match it anywhere in the text.","enum":["whole_word","substring"],"type":"string"},"mode":{"const":"specific","type":"string"},"values":{"items":{"description":"Keyword or phrase. Length is 1 through 100 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,100}$","type":"string"},"maxItems":50,"minItems":1,"type":"array"}},"required":["mode","match_mode","values"],"type":"object"},"type":{"const":"dm_keyword","type":"string"}},"required":["type","keywords"],"type":"object"}},"required":["contact_filter","opening","follow_up","extras","trigger"],"type":"object"},"created_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},"draft_updated_at":{"anyOf":[{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},{"type":"null"}]},"has_unpublished_changes":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"description":"Automation name. Use 1 through 120 Unicode scalar values, without surrounding whitespace or control characters.","pattern":"^(?!\\s)(?![\\s\\S]*\\s$)(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000-\\u001F\\u007F-\\u009F\\uD800-\\uDFFF])){1,120}$","type":"string"},"status":{"description":"`draft` — not published; `live` — processing triggers; `paused` — published but paused.","enum":["draft","live","paused"],"type":"string"},"trigger_type":{"const":"dm_keyword","type":"string"},"updated_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"}},"required":["id","account_id","name","status","has_unpublished_changes","draft_updated_at","created_at","updated_at","trigger_type","configuration","authoring_compatibility"],"type":"object"},{"additionalProperties":false,"properties":{"account_id":{"format":"uuid","type":"string"},"authoring_compatibility":{"const":"public_v1","type":"string"},"configuration":{"additionalProperties":false,"properties":{"contact_filter":{"description":"`anyone` — every eligible contact; `followers_only` — confirmed followers; `non_followers_only` — confirmed non-followers; `previous_dm_contacts` — contacts with an inbound DM before this trigger; `existing_contacts` — contacts already known before this trigger.","enum":["anyone","followers_only","non_followers_only","previous_dm_contacts","existing_contacts"],"type":"string"},"extras":{"additionalProperties":false,"properties":{"cooldown":{"anyOf":[{"additionalProperties":false,"properties":{"mode":{"const":"none","type":"string"}},"required":["mode"],"type":"object"},{"additionalProperties":false,"properties":{"mode":{"const":"fixed","type":"string"},"seconds":{"maximum":2592000,"minimum":1,"type":"integer"}},"required":["mode","seconds"],"type":"object"}]}},"required":["cooldown"],"type":"object"},"follow_up":{"anyOf":[{"type":"null"},{"additionalProperties":false,"properties":{"actions":{"items":{"anyOf":[{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":0,"minItems":0,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"type":{"const":"send_message","type":"string"}},"required":["type","delay_seconds","text","buttons"],"type":"object"}]},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"media_type":{"description":"`image`, `video`, `audio`, or `file` identifies the outbound Instagram attachment type.","enum":["image","video","audio","file"],"type":"string"},"type":{"const":"send_media","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","delay_seconds","media_type","url"],"type":"object"},{"additionalProperties":false,"properties":{"cards":{"items":{"additionalProperties":false,"properties":{"buttons":{"items":{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"},"maxItems":3,"minItems":1,"type":"array"},"image_url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"},"subtitle":{"description":"Card subtitle. Length is 0 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){0,80}$","type":"string"},"title":{"description":"Card title. Length is 1 through 80 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,80}$","type":"string"}},"required":["title","image_url","buttons"],"type":"object"},"maxItems":10,"minItems":1,"type":"array"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"type":{"const":"send_carousel","type":"string"}},"required":["type","delay_seconds","cards"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"additionalProperties":false,"properties":{"confirm_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"open_profile_title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"}},"required":["open_profile_title","confirm_title"],"type":"object"},"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":10,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},"not_following_message":{"anyOf":[{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"},{"type":"null"}],"description":"Message text. Length is 1 through 640 Unicode scalar values."},"recheck_after_seconds":{"maximum":86400,"minimum":60,"type":"integer"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"type":{"const":"ask_to_follow","type":"string"},"verification_mode":{"description":"`trusted_click` — trust the confirmation click; `strict` — verify follow status with Instagram.","enum":["trusted_click","strict"],"type":"string"}},"required":["type","delay_seconds","message","buttons","verification_mode","not_following_message","max_attempts","retry_exhausted_action","recheck_after_seconds","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_email","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86399,"minimum":0,"type":"integer"},"expires_in_seconds":{"maximum":604800,"minimum":60,"type":"integer"},"max_attempts":{"maximum":5,"minimum":1,"type":"integer"},"message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"retry_exhausted_action":{"description":"`continue` — continue after the retry limit; `stop` — end the active gate after the retry limit.","enum":["continue","stop"],"type":"string"},"retry_message":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"},"type":{"const":"ask_for_phone","type":"string"}},"required":["type","delay_seconds","message","retry_message","max_attempts","retry_exhausted_action","expires_in_seconds"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":2592000,"minimum":0,"type":"integer"},"tag_id":{"format":"uuid","type":"string"},"type":{"const":"add_contact_tag","type":"string"}},"required":["type","delay_seconds","tag_id"],"type":"object"},{"additionalProperties":false,"properties":{"type":{"const":"finish","type":"string"}},"required":["type"],"type":"object"}]},"maxItems":20,"minItems":1,"type":"array"}},"required":["actions"],"type":"object"}]},"opening":{"additionalProperties":false,"properties":{"direct_message":{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"message":{"anyOf":[{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":0,"minItems":0,"type":"array"},"text":{"description":"Message text. Length is 1 through 1000 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,1000}$","type":"string"}},"required":["text","buttons"],"type":"object"},{"additionalProperties":false,"properties":{"buttons":{"items":{"anyOf":[{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"start_follow_up","type":"string"}},"required":["type","title"],"type":"object"},{"additionalProperties":false,"properties":{"title":{"description":"Button title. Length is 1 through 20 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,20}$","type":"string"},"type":{"const":"url","type":"string"},"url":{"pattern":"^(?![\\s\\S]*[\\u0000\\uD800-\\uDFFF])[Hh][Tt][Tt][Pp][Ss]?:\\/\\/[^\\s\\/:?#%]+(?::[0-9]{1,5})?(?:[\\/?#](?:[^\\s%]|%[0-9A-Fa-f]{2})*)?$","type":"string"}},"required":["type","title","url"],"type":"object"}]},"maxItems":3,"minItems":1,"type":"array"},"text":{"description":"Message text. Length is 1 through 640 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,640}$","type":"string"}},"required":["text","buttons"],"type":"object"}]}},"required":["delay_seconds","message"],"type":"object"},"public_reply":{"anyOf":[{"additionalProperties":false,"properties":{"enabled":{"const":false,"type":"boolean"}},"required":["enabled"],"type":"object"},{"additionalProperties":false,"properties":{"delay_seconds":{"maximum":86400,"minimum":0,"type":"integer"},"enabled":{"const":true,"type":"boolean"},"max_per_post":{"maximum":200,"minimum":1,"type":"integer"},"mention_mode":{"description":"`none` — do not prefix a mention; `contact` — mention the contact; `account` — mention the account.","enum":["none","contact","account"],"type":"string"},"messages":{"items":{"description":"Public reply message. Length is 1 through 280 Unicode scalar values.","pattern":"^(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000\\uD800-\\uDFFF])){1,280}$","type":"string"},"minItems":1,"type":"array"},"rotation":{"description":"`random` — choose a response randomly; `sequential` — rotate responses in their submitted order.","enum":["random","sequential"],"type":"string"}},"required":["enabled","delay_seconds","messages","rotation","mention_mode","max_per_post"],"type":"object"}]}},"required":["public_reply","direct_message"],"type":"object"},"trigger":{"additionalProperties":false,"properties":{"type":{"const":"story_mention","type":"string"}},"required":["type"],"type":"object"}},"required":["contact_filter","opening","follow_up","extras","trigger"],"type":"object"},"created_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},"draft_updated_at":{"anyOf":[{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},{"type":"null"}]},"has_unpublished_changes":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"description":"Automation name. Use 1 through 120 Unicode scalar values, without surrounding whitespace or control characters.","pattern":"^(?!\\s)(?![\\s\\S]*\\s$)(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000-\\u001F\\u007F-\\u009F\\uD800-\\uDFFF])){1,120}$","type":"string"},"status":{"description":"`draft` — not published; `live` — processing triggers; `paused` — published but paused.","enum":["draft","live","paused"],"type":"string"},"trigger_type":{"const":"story_mention","type":"string"},"updated_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"}},"required":["id","account_id","name","status","has_unpublished_changes","draft_updated_at","created_at","updated_at","trigger_type","configuration","authoring_compatibility"],"type":"object"},{"additionalProperties":false,"properties":{"account_id":{"format":"uuid","type":"string"},"authoring_compatibility":{"const":"read_only_legacy","type":"string"},"configuration":{"type":"null"},"created_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},"draft_updated_at":{"anyOf":[{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"},{"type":"null"}]},"has_unpublished_changes":{"type":"boolean"},"id":{"format":"uuid","type":"string"},"name":{"description":"Automation name. Use 1 through 120 Unicode scalar values, without surrounding whitespace or control characters.","pattern":"^(?!\\s)(?![\\s\\S]*\\s$)(?:(?:[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[^\\u0000-\\u001F\\u007F-\\u009F\\uD800-\\uDFFF])){1,120}$","type":"string"},"status":{"description":"`draft` — not published; `live` — processing triggers; `paused` — published but paused.","enum":["draft","live","paused"],"type":"string"},"trigger_type":{"enum":["comment","story_reply","dm_keyword","story_mention","any_dm","live_comment","instagram_ad","legacy"],"type":"string"},"updated_at":{"maxLength":32,"minLength":20,"pattern":"^(?:(?:(?!0000)\\d{4})-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|02-(?:0[1-9]|1\\d|2[0-8]))|(?:(?!0000)(?:\\d{2}(?:0[48]|[2468][048]|[13579][26])|(?:[02468][048]|[13579][26])00))-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,6})?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$","type":"string"}},"required":["id","account_id","name","status","has_unpublished_changes","draft_updated_at","created_at","updated_at","trigger_type","configuration","authoring_compatibility"],"type":"object"}]}},"required":["automation"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-detail-response-v1","$ref":"647e4b29-b1dd-4a40-a884-dc035e334b06","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationDetailResponseV1","x-levios-schema-version":1}}},"exampleType":"generated"},"9f117c40-563e-4399-bab1-7181def685ae":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_content_length"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Invalid Content-Length."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_json"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request body is not valid JSON."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_request_url"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request URL is invalid."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_utf8"],"isRequired":true,"uniqueKey":"oneOf.3.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request body is not valid UTF-8."],"isRequired":true,"uniqueKey":"oneOf.3.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.3.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_invalid_content_length","message":"Invalid Content-Length.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"06820bbc-c4d1-47f7-a523-874e82fe08fc":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}},"WWW-Authenticate":{"description":"API key Bearer challenge.","schema":{"type":"string","enum":["Bearer"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_unauthorized"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Authentication required."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_unauthorized","message":"Authentication required.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"79af6332-6ca0-44db-a12f-10e7eb890903":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_plan_limit"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The account plan does not allow this automation."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"},"details":{"oneOf":[{"$defs":{"PublicAutomationPlanDetailsV1":{"additionalProperties":false,"properties":{"reason":{"anyOf":[{"additionalProperties":false,"properties":{"capability":{"maxLength":64,"minLength":1,"type":"string"},"type":{"enum":["trigger_kind","action_kind","feature"],"type":"string"},"value":{"maxLength":64,"minLength":1,"type":"string"}},"required":["capability","type","value"],"type":"object"},{"additionalProperties":false,"properties":{"active_automations":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"limit":{"maximum":9007199254740991,"minimum":0,"type":"integer"},"scope":{"const":"account_active_automations","type":"string"}},"required":["active_automations","limit","scope"],"type":"object"}]}},"required":["reason"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-plan-details-v1","$ref":"566f51ea-ca9b-4332-9e15-ab72167f5e4e","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationPlanDetailsV1","x-levios-schema-version":1}],"uniqueKey":"error.details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_automation_plan_limit","message":"The account plan does not allow this automation.","correlation_id":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"1e9a17b5-1f0b-4982-b278-994744805a8c":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_account_not_granted"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["This credential is not authorized for the request."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_forbidden"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["This credential is not authorized for the request."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_scope_denied"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["This credential is not authorized for the request."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_account_not_granted","message":"This credential is not authorized for the request.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"f07d488f-b8f1-4734-912a-4b8c88280485":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_media_not_found"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The referenced Instagram media was not found."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_not_found"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The requested automation was not found."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_not_found"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The referenced contact tag was not found."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_automation_media_not_found","message":"The referenced Instagram media was not found.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"dd606a7f-236f-4166-9d05-f6c534e085e8":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_version_conflict"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The automation changed after the supplied version."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_automation_version_conflict","message":"The automation changed after the supplied version.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4e96f91f-07c8-4d1f-9568-500d9dd81908":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_body_too_large"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The JSON request body exceeds 1 MiB."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_json_too_deep"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The JSON request body exceeds maximum depth."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_body_too_large","message":"The JSON request body exceeds 1 MiB.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"07e90a44-0608-4726-a502-7fd640774f7b":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_unsupported_media_type"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Content-Type must be application/json."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_unsupported_media_type","message":"Content-Type must be application/json.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c45c45cb-dbb6-4f04-a26f-d8ae203104ca":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_follow_up_missing"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["A start_follow_up opening button requires a follow-up."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"},"details":{"oneOf":[{"$defs":{"PublicAutomationValidationDetailsV1":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"minLength":1,"type":"string"},"message":{"maxLength":256,"minLength":1,"type":"string"},"path":{"items":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"maximum":9007199254740991,"minimum":0,"type":"integer"}]},"maxItems":16,"type":"array"}},"required":["code","path","message"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"truncated":{"type":"boolean"}},"required":["issues","truncated"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-validation-details-v1","$ref":"9a1c0596-a1a4-46c8-abbf-fdd83b5145e5","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationValidationDetailsV1","x-levios-schema-version":1}],"uniqueKey":"oneOf.0.error.details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_follow_up_requires_button"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["A follow-up requires exactly one start_follow_up opening button."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"},"details":{"oneOf":[{"$defs":{"PublicAutomationValidationDetailsV1":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"minLength":1,"type":"string"},"message":{"maxLength":256,"minLength":1,"type":"string"},"path":{"items":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"maximum":9007199254740991,"minimum":0,"type":"integer"}]},"maxItems":16,"type":"array"}},"required":["code","path","message"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"truncated":{"type":"boolean"}},"required":["issues","truncated"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-validation-details-v1","$ref":"9a1c0596-a1a4-46c8-abbf-fdd83b5145e5","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationValidationDetailsV1","x-levios-schema-version":1}],"uniqueKey":"oneOf.1.error.details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_invalid_configuration"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Configuration fields do not match the public automation contract."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"},"details":{"oneOf":[{"$defs":{"PublicAutomationValidationDetailsV1":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"minLength":1,"type":"string"},"message":{"maxLength":256,"minLength":1,"type":"string"},"path":{"items":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"maximum":9007199254740991,"minimum":0,"type":"integer"}]},"maxItems":16,"type":"array"}},"required":["code","path","message"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"truncated":{"type":"boolean"}},"required":["issues","truncated"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-validation-details-v1","$ref":"9a1c0596-a1a4-46c8-abbf-fdd83b5145e5","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationValidationDetailsV1","x-levios-schema-version":1}],"uniqueKey":"oneOf.2.error.details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_unsupported_action_order"],"isRequired":true,"uniqueKey":"oneOf.3.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Follow-up actions are not in a supported order."],"isRequired":true,"uniqueKey":"oneOf.3.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.3.error.correlation_id","typeLabel":"string"},"details":{"oneOf":[{"$defs":{"PublicAutomationValidationDetailsV1":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"minLength":1,"type":"string"},"message":{"maxLength":256,"minLength":1,"type":"string"},"path":{"items":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"maximum":9007199254740991,"minimum":0,"type":"integer"}]},"maxItems":16,"type":"array"}},"required":["code","path","message"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"truncated":{"type":"boolean"}},"required":["issues","truncated"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-validation-details-v1","$ref":"9a1c0596-a1a4-46c8-abbf-fdd83b5145e5","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationValidationDetailsV1","x-levios-schema-version":1}],"uniqueKey":"oneOf.3.error.details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_unsupported_trigger"],"isRequired":true,"uniqueKey":"oneOf.4.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Trigger fields do not match a supported public automation type."],"isRequired":true,"uniqueKey":"oneOf.4.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.4.error.correlation_id","typeLabel":"string"},"details":{"oneOf":[{"$defs":{"PublicAutomationValidationDetailsV1":{"additionalProperties":false,"properties":{"issues":{"items":{"additionalProperties":false,"properties":{"code":{"maxLength":64,"minLength":1,"type":"string"},"message":{"maxLength":256,"minLength":1,"type":"string"},"path":{"items":{"anyOf":[{"maxLength":64,"minLength":1,"type":"string"},{"maximum":9007199254740991,"minimum":0,"type":"integer"}]},"maxItems":16,"type":"array"}},"required":["code","path","message"],"type":"object"},"maxItems":20,"minItems":1,"type":"array"},"truncated":{"type":"boolean"}},"required":["issues","truncated"],"type":"object"}},"$id":"https://levios.app/schemas/public-automation-validation-details-v1","$ref":"9a1c0596-a1a4-46c8-abbf-fdd83b5145e5","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicAutomationValidationDetailsV1","x-levios-schema-version":1}],"uniqueKey":"oneOf.4.error.details","typeLabel":"any"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.4.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_validation_error"],"isRequired":true,"uniqueKey":"oneOf.5.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request does not match the declared schema."],"isRequired":true,"uniqueKey":"oneOf.5.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.5.error.correlation_id","typeLabel":"string"},"details":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":64,"isRequired":true,"uniqueKey":"oneOf.5.error.details.issues.items.[INDEX].code","typeLabel":"string"},"path":{"type":"array","items":{"type":"integer","minimum":0,"uniqueKey":"oneOf.5.error.details.issues.items.[INDEX].path.items.[INDEX]","typeLabel":"integer"},"maxItems":16,"isRequired":true,"uniqueKey":"oneOf.5.error.details.issues.items.[INDEX].path","typeLabel":"integer[]"}},"required":["code","path"],"additionalProperties":false,"uniqueKey":"oneOf.5.error.details.issues.items.[INDEX]","typeLabel":"object"},"maxItems":32,"isRequired":true,"uniqueKey":"oneOf.5.error.details.issues","typeLabel":"object[]"}},"required":["issues"],"additionalProperties":false,"uniqueKey":"oneOf.5.error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.5.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.5","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_automation_follow_up_missing","message":"A start_follow_up opening button requires a follow-up.","correlation_id":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"c5c95f5e-e467-4494-a0e0-f6da819bf370":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Rate limit exceeded."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limited","message":"Rate limit exceeded.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"7dcc8e12-bb4b-4ed5-9016-cbc5a6cd78c2":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_committed_response_unavailable"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The automation committed, but its response could not be verified. Do not retry automatically."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"},"details":{"type":"object","properties":{"committed":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"oneOf.0.error.details.committed","typeLabel":"enum\u003cboolean>"},"retryable":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"oneOf.0.error.details.retryable","typeLabel":"enum\u003cboolean>"}},"required":["committed","retryable"],"additionalProperties":false,"uniqueKey":"oneOf.0.error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_internal_error"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request could not be completed."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_automation_committed_response_unavailable","message":"The automation committed, but its response could not be verified. Do not retry automatically.","correlation_id":"\u003cstring>","details":{"committed":true,"retryable":false}}}}},"exampleType":"generated"}},"exampleType":"generated"},"16d26ca5-8f7c-4643-85ca-88abdd0c7238":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_account_resolution_unavailable"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The reachable account set could not be read."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_automation_authoring_unavailable"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The automation could not be authored."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_credential_attribution_unavailable"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The credential attribution is unavailable."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limiter_unavailable"],"isRequired":true,"uniqueKey":"oneOf.3.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Rate limiter unavailable."],"isRequired":true,"uniqueKey":"oneOf.3.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.3.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_account_resolution_unavailable","message":"The reachable account set could not be read.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"04363182-13ef-4fa5-a86a-382cd5efb85c":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Levios API key sent as a Bearer token.","scopes":[]}}},"servers":{"3e34a11f-461b-4a57-a9b6-24892a88cdff":{"url":"https://levios.app"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Levios API key sent as a Bearer token.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Levios API key sent as a Bearer token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/v1.json"},"subdomain":"levios","siteName":"levios","title":"Actualizar una automatización - levios","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/v1/automations/update","matchLevel":1},"pt-BR":{"href":"/pt-BR/api/v1/automations/update","matchLevel":1},"es":{"href":"/es/api/v1/automations/update","matchLevel":0}}},"lastModified":"2026-09-11T15:11:29.269Z","originalFileLocation":"es/api/v1/automations/update.mdx","locale":"es"},"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=\"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"levios\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Actualizar una automatización - levios\">\u003cmeta data-mint-head property=\"og:description\" content=\"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"levios\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.levios.app/es/api/v1/automations/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://levios.mintlify.site/_mintlify/api/og/v2?division=Automatizaciones\u0026amp;title=Actualizar+una+automatizaci%C3%B3n\u0026amp;description=Renombra+una+automatizaci%C3%B3n+de+Instagram+o+reemplaza+su+configuraci%C3%B3n+tipada+completa%2C+usando+expected_updated_at+para+evitar+perder+escrituras+concurrentes.\u0026amp;theme=872b6c51ec42f60de55eef94\u0026amp;signature=fba819f70c3af52599f3fb3d74b8b91071dd64954d92320d876b2069ad8ded7f\">\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=\"Actualizar una automatización - levios\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://levios.mintlify.site/_mintlify/api/og/v2?division=Automatizaciones\u0026amp;title=Actualizar+una+automatizaci%C3%B3n\u0026amp;description=Renombra+una+automatizaci%C3%B3n+de+Instagram+o+reemplaza+su+configuraci%C3%B3n+tipada+completa%2C+usando+expected_updated_at+para+evitar+perder+escrituras+concurrentes.\u0026amp;theme=872b6c51ec42f60de55eef94\u0026amp;signature=fba819f70c3af52599f3fb3d74b8b91071dd64954d92320d876b2069ad8ded7f\">\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/levios/Up1u333f09m-8kIg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"levios\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#337ABA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.levios.app/es/api/v1/automations/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/es/api/v1/automations/update.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.levios.app/es/api/v1/automations/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.levios.app/api/v1/automations/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.levios.app/pt-BR/api/v1/automations/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.levios.app/api/v1/automations/update\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.levios.app/#organization\",\"name\":\"levios\",\"url\":\"https://docs.levios.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/levios/BTR5m45GHYJANZBI/logo/levios-light.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=60d98c15c409612fcff357c5f7bbab21\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.levios.app#website\",\"name\":\"levios\",\"url\":\"https://docs.levios.app\",\"publisher\":{\"@id\":\"https://docs.levios.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.levios.app/es/api/v1/automations/update#webpage\",\"url\":\"https://docs.levios.app/es/api/v1/automations/update\",\"name\":\"Actualizar una automatización\",\"description\":\"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.\",\"dateModified\":\"2026-09-11T15:11:29.269Z\",\"isPartOf\":{\"@id\":\"https://docs.levios.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.levios.app/es/api/v1/automations/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.levios.app/es/api/v1/automations/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automatizaciones\",\"item\":\"https://docs.levios.app/es/api/v1/automations/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Actualizar una automatización\",\"item\":\"https://docs.levios.app/es/api/v1/automations/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.levios.app/es/api/v1/automations/update#apireference\",\"headline\":\"Actualizar una automatización\",\"name\":\"Actualizar una automatización\",\"description\":\"Renombra una automatización de Instagram o reemplaza su configuración tipada completa, usando expected_updated_at para evitar perder escrituras concurrentes.\",\"url\":\"https://docs.levios.app/es/api/v1/automations/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.levios.app/es/api/v1/automations/update#webpage\"},\"dateModified\":\"2026-09-11T15:11:29.269Z\",\"publisher\":{\"@id\":\"https://docs.levios.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.levios.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"levios\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"levios\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/es/api/v1/automations/update.md","siteName":"levios","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api/v1/automations/update"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/api/v1/automations/update"}]},{"language":"es","tabs":[{"tab":"Documentación","icon":"book-open","pages":[{"title":"Documentación","href":"/es"}]},{"tab":"Referencia de la API","icon":"terminal","groups":[{"group":"Referencia","pages":[{"title":"Descripción general de API v1","href":"/es/api/v1/overview"}]},{"group":"Automatizaciones","pages":[{"title":"Listar automatizaciones","openapi":"openapi/v1.json GET /api/v1/automations","href":"/es/api/v1/automations/list"},{"title":"Crear una automatización","openapi":"openapi/v1.json POST /api/v1/automations","href":"/es/api/v1/automations/create"},{"title":"Obtener una automatización","description":"Lee una automatización de Instagram por ID con su estado, el tipo de disparador, las marcas de tiempo y la configuración tipada completa.","openapi":"openapi/v1.json GET /api/v1/automations/{automationId}","href":"/es/api/v1/automations/get"},{"title":"Actualizar una automatización","openapi":"openapi/v1.json PATCH /api/v1/automations/{automationId}","href":"/es/api/v1/automations/update"},{"title":"Eliminar una automatización","description":"Archiva una automatización de Instagram por ID para que deje de procesar actividad nueva, sin borrar sus métricas ni sus contactos anteriores.","openapi":"openapi/v1.json DELETE /api/v1/automations/{automationId}","href":"/es/api/v1/automations/delete"},{"title":"Activar una automatización","openapi":"openapi/v1.json POST /api/v1/automations/{automationId}/activate","href":"/es/api/v1/automations/activate"},{"title":"Desactivar una automatización","openapi":"openapi/v1.json POST /api/v1/automations/{automationId}/deactivate","href":"/es/api/v1/automations/deactivate"},{"title":"Obtener métricas de una automatización","openapi":"openapi/v1.json GET /api/v1/automations/{automationId}/metrics","href":"/es/api/v1/automations/metrics"}]},{"group":"Cuentas","pages":[{"title":"Listar cuentas","openapi":"openapi/v1.json GET /api/v1/accounts","href":"/es/api/v1/accounts/list"},{"title":"Listar medios de Instagram","openapi":"openapi/v1.json GET /api/v1/accounts/{accountId}/media","href":"/es/api/v1/accounts/media"}]},{"group":"Contactos","pages":[{"title":"Listar contactos","openapi":"openapi/v1.json GET /api/v1/contacts","href":"/es/api/v1/contacts/list"},{"title":"Obtener un contacto","openapi":"openapi/v1.json GET /api/v1/contacts/{contactId}","href":"/es/api/v1/contacts/get"}]},{"group":"Etiquetas de contacto","pages":[{"title":"Listar etiquetas de contacto","openapi":"openapi/v1.json GET /api/v1/contact-tags","href":"/es/api/v1/contact-tags/list"},{"title":"Crear una etiqueta de contacto","openapi":"openapi/v1.json POST /api/v1/contact-tags","href":"/es/api/v1/contact-tags/create"},{"title":"Actualizar una etiqueta de contacto","openapi":"openapi/v1.json PATCH /api/v1/contact-tags/{tagId}","href":"/es/api/v1/contact-tags/update"},{"title":"Eliminar una etiqueta de contacto","openapi":"openapi/v1.json DELETE /api/v1/contact-tags/{tagId}","href":"/es/api/v1/contact-tags/delete"},{"title":"Añadir una etiqueta a un contacto","openapi":"openapi/v1.json PUT /api/v1/contacts/{contactId}/tags/{tagId}","href":"/es/api/v1/contact-tags/attach"},{"title":"Quitar una etiqueta de un contacto","openapi":"openapi/v1.json DELETE /api/v1/contacts/{contactId}/tags/{tagId}","href":"/es/api/v1/contact-tags/detach"}]},{"group":"Métricas","pages":[{"title":"Obtener métricas de una cuenta","openapi":"openapi/v1.json GET /api/v1/metrics","href":"/es/api/v1/metrics/get"}]}]},{"tab":"Construir con IA","icon":"sparkles","pages":[{"title":"Construir con IA","href":"/es/mcp/overview"}]}]}]},"basePath":"","title":"Actualizar una automatización - levios","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","SectionHeading-DyxPTJti.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}