automations

Create a DM automation

Changed on

Creates a DM automation: when any of its triggers fires it sends one direct message (text plus up to 3 link buttons). Pass triggers to start from several conditions; one matching event starts a single run. 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; every method except GET carries a JSON body with the contact's details, if known.

post/v2/dm-automations

Request

  • Base URL
    https://backend.blotato.com
  • Auth
    API key in header blotato-api-key

Request body

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

Response

Default Response

Changes

    • info

      added the new optional request property

    • info

      added the optional property / to the response with the status

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • warning

      removed the request property

    • warning

      removed the optional property / from the response with the status

    • info

      added the new optional request property

    • info

      added the required property / to the response with the status