Skip to main content
GET
/
automation
/
v4
/
actions
/
{appId}
Recuperar definiciones de acciones personalizadas
curl --request GET \
  --url https://api.hubapi.com/automation/v4/actions/{appId}
{
  "paging": {
    "next": {
      "link": "<string>",
      "after": "<string>"
    }
  },
  "results": [
    {
      "functions": [
        {
          "functionType": "PRE_ACTION_EXECUTION",
          "id": "<string>"
        }
      ],
      "actionUrl": "<string>",
      "published": true,
      "labels": {},
      "inputFields": [
        {
          "isRequired": true,
          "automationFieldType": "<string>",
          "typeDefinition": {
            "helpText": "<string>",
            "referencedObjectType": "CONTACT",
            "name": "<string>",
            "options": [
              {
                "hidden": true,
                "displayOrder": 123,
                "doubleData": 123,
                "description": "<string>",
                "readOnly": true,
                "label": "<string>",
                "value": "<string>"
              }
            ],
            "description": "<string>",
            "externalOptionsReferenceType": "<string>",
            "label": "<string>",
            "type": "string",
            "fieldType": "booleancheckbox",
            "optionsUrl": "<string>",
            "externalOptions": true
          },
          "supportedValueTypes": [
            "STATIC_VALUE"
          ]
        }
      ],
      "outputFields": [
        {
          "typeDefinition": {
            "helpText": "<string>",
            "referencedObjectType": "CONTACT",
            "name": "<string>",
            "options": [
              {
                "hidden": true,
                "displayOrder": 123,
                "doubleData": 123,
                "description": "<string>",
                "readOnly": true,
                "label": "<string>",
                "value": "<string>"
              }
            ],
            "description": "<string>",
            "externalOptionsReferenceType": "<string>",
            "label": "<string>",
            "type": "string",
            "fieldType": "booleancheckbox",
            "optionsUrl": "<string>",
            "externalOptions": true
          }
        }
      ],
      "revisionId": "<string>",
      "archivedAt": 123,
      "inputFieldDependencies": [
        {
          "dependencyType": "SINGLE_FIELD",
          "controllingFieldName": "<string>",
          "dependentFieldNames": [
            "<string>"
          ]
        }
      ],
      "executionRules": [
        {
          "labelName": "<string>",
          "conditions": {}
        }
      ],
      "id": "<string>",
      "objectTypes": [
        "<string>"
      ],
      "objectRequestOptions": {
        "properties": [
          "<string>"
        ]
      }
    }
  ]
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubPro
Sales HubSales HubPro
Service HubService HubPro
Content HubContent HubGratuito

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer
required

El ID de la aplicación.

Query Parameters

limit
integer

El número máximo de resultados que se mostrarán por página.

after
string

El token del cursor de paginación del último recurso leído con éxito se devolverá como la propiedad JSON paging.next.after de una respuesta paginada que contenga más resultados.

archived
boolean
default:false

Si se quieren devolver solo los resultados que se han archivado.

Response

successful operation

results
object[]
required
paging
object