Automation rules

Get a automation rule details

Get the details of a automation rule in the account

get/v1/workspaces/{workspace_id}/automation_rules/{id}

Request

  • Base URL: https://api.oxvo.com
  • URL: https://api.oxvo.com/v1/workspaces/{workspace_id}/automation_rules/{id}
  • Auth: API key in header api_access_token

Path parameters

idinteger required

The ID of the automation rule to be updated.

Response

Success

Example response

{
  "payload": [
    {
      "name": "Add label on message create event",
      "description": "Add label support and sales on message create event if incoming message content contains text help",
      "event_name": "message_created",
      "conditions": [
        {
          "attribute_key": "content",
          "filter_operator": "contains",
          "values": [
            "help"
          ],
          "query_operator": "and"
        }
      ],
      "actions": [
        {
          "action_name": "add_label",
          "action_params": [
            "support",
            "sales"
          ]
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.