Automations
Rules that look after WhatsApp conversations by themselves: When (a trigger), If (conditions), Do (steps in order: send a text, a template or buttons, tag, assign, mark solved, add a note, call your system, wait, hand to a person). Plus the run log of what they did.
| 方法 | 路徑 | 摘要 | 權限 | 沙盒 |
|---|---|---|---|---|
| GET | /v1/{number}/automations | Chat automation rules | messages:read | 讀取 |
| POST | /v1/{number}/automations | Create a chat automation rule | settings:manage | 拒絕 |
| GET | /v1/{number}/automations/runs | What the chat automations did | messages:read | 讀取 |
| GET | /v1/{number}/automations/{id} | One chat automation rule | messages:read | 讀取 |
| PUT | /v1/{number}/automations/{id} | Change a chat automation rule | settings:manage | 拒絕 |
| DELETE | /v1/{number}/automations/{id} | Delete a chat automation rule | settings:manage | 拒絕 |