Automations

Add an action to an automation email

Changed on

Adds or removes a tag or list when a contact is sent, opens, or clicks this email, and can also take them out of the automation. Set exactly one of contact_tag_id and list_id.

post/automation-emails/{id}/actions

Request

  • Base URL
    https://api.sendfox.com
  • Auth
    OAuth 2
    Authorization codehttps://sendfox.com/oauth/authorize
    Token URLhttps://sendfox.com/oauth/token

Request body

event'send' | 'open' | 'click' required
action'add' | 'remove' required
contact_tag_idinteger
list_idinteger
link_urlstring

Click event only. Run for this link, as written in the email. Omit for any link.

ends_automationboolean

Response

Action created

idinteger
automation_email_idinteger
event'send' | 'open' | 'click'
action'add' | 'remove'
contact_tag_idinteger nullable
list_idinteger nullable
link_urlstring nullable

For a click action, the only link that runs it. Null means any link.

ends_automationboolean

Whether this also takes the contact out of the automation.

Changes