Get all Automation block information that can be used for blueprint steps

GET /api/v1/automation-blocks

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • type string
      • name string
      • description string
      • params object
        Hide params attributes Show params attributes object
        • account_uuid object
          Hide account_uuid attributes Show account_uuid attributes object
          • type string
          • description string
        • tag object
          Hide tag attributes Show tag attributes object
          • type string
          • description string
      • returns object
        Hide returns attribute Show returns attribute object
        • tag object
          Hide tag attributes Show tag attributes object
          • type string
          • description string
      • isCondition string
      • icon string
GET /api/v1/automation-blocks
curl \
 --request GET 'https://api.plannrcrm.com/api/v1/automation-blocks' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    {
      "icon": "star",
      "name": "Add a tag to a client",
      "type": "account.tag",
      "params": {
        "tag": {
          "type": "string",
          "description": "The name of the tag to store against the account"
        },
        "account_uuid": {
          "type": "string",
          "description": "UUID of the account to store tag against"
        }
      },
      "returns": {
        "tag": {
          "type": "string",
          "description": "the name of the tag stored against the account"
        }
      },
      "description": "will add an existing tag or create a new one to the account of the given \"account_uuid\" ",
      "isCondition": "false"
    }
  ]
}