---
title: "Update Inbox Automation"
method: PUT
path: "/v1/inbox_automation/{inbox_automation_id}/update"
tags: ["inbox_automation"]
---

# Update Inbox Automation

`PUT /v1/inbox_automation/{inbox_automation_id}/update`

## Request

- Base URL: `https://api.linktodm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.linktodm.com/v1/inbox_automation/{inbox_automation_id}/update`
- Auth: HTTP bearer

## Path parameters

- `inbox_automation_id` integer, required

## Request body

- InboxAutomationPayload
  - `name` string, nullable
  - `facebook_account_id` string, nullable
  - `instagram_business_account_id` string, nullable
  - `instagram_user_id` string, nullable
  - `messages_tree` InboxAutomationMessageNode
    - `id` string, required
    - `from` 'USER' | 'SYSTEM'
    - `type` 'INPUT' | 'CHOICE', required
    - `message` string, required
    - `error_message` string, nullable
    - `save_to_field_key` string, nullable
    - `childrens` InboxAutomationMessageNode[]
  - `is_active` boolean
  - `is_deleted` boolean
  - `is_universal` boolean
  - `automation_id` integer, nullable
  - `keyword_trigger_type` 'EXACT_MATCH' | 'CONTAINS'
  - `media_source` 'INSTAGRAM' | 'FACEBOOK'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/linktodm/apis/salesmorph.md) - [All operations](https://skmtc.dev/linktodm/apis/salesmorph/llms.txt) - [OpenAPI document](https://skmtc.dev/linktodm/apis/salesmorph/revisions/4af0ad5dbe92?raw)
