latestOpenAPI 3.0.32026-08-23410223.0 KB

c93447ba6b9d

automations

Create a DM automation

Creates a DM automation: when its trigger fires it sends one direct message (text plus up to 3 link buttons). Set followGate (Instagram only) to gate that message behind a follow check, and emailGate to gate it behind the contact replying with an email address. Set webhook to call an external endpoint once the message is sent; its payload carries the run's contact and identifiers.

post/v2/dm-automations

Request body

accountIdstring required
dmMessagestring required
isActiveboolean
namestring required
platform'facebook' | 'instagram' required

Response

Default Response