---
title: "Completes a callback"
method: POST
path: "/automation/v4/actions/callbacks/{callbackId}/complete"
tags: ["Callbacks"]
---

# Completes a callback

`POST /automation/v4/actions/callbacks/{callbackId}/complete`

Complete a specific blocked action execution by ID.

## Path parameters

- `callbackId` string, required

## Request body

- CallbackCompletionRequest
  - `failureReasonType` string — Indicates the reason for the failure of a callback completion.
  - `outputFields` object, required — Contains the output fields associated with the callback, with each field represented as a key-value pair.
  - `requestContext` union — Specifies the context in which the request is made, which can be one of several predefined contexts.
    - WorkflowsRequestContext
      - `actionExecutionIndexIdentifier` ActionExecutionIndexIdentifier
        - `actionExecutionIndex` integer, required — The index number representing the execution order of the action.
        - `enrollmentId` integer, required — The ID associated with the enrollment process.
      - `actionId` integer — The ID of the action within the workflow context.
      - `source` 'WORKFLOWS', required — Indicates the source of the request, with the default value being WORKFLOWS.
      - `workflowId` integer, required — The ID of the workflow associated with the request context.
    - AgentRequestContext
      - `agentId` integer, required — The unique identifier for the agent making the request.
      - `chirpAiContextObject` ChirpAiContextObject, required
        - `applicationGroup` string, required — The group to which the application belongs.
        - `applicationId` string, required — The identifier for the application associated with the context.
        - `complianceIds` ComplianceIds
          - `contactIds` ContactId[], required
            - `email` string — The email address of the contact.
            - `portalId` integer, required — The ID of the portal associated with the contact.
            - `vid` integer — The unique identifier for the contact.
          - `noContactIdReason` string — The reason why no contact ID is available.
          - `noPortalIdReason` string — The reason why no portal ID is available.
          - `noUserIdReason` string — The reason why no user ID is available.
          - `portalIds` integer[], required
          - `userIds` integer[], required
        - `conversationId` string
        - `featureId` string — The identifier for the feature associated with the context.
        - `inferenceId` string — The identifier for the inference associated with the context.
        - `isPrivate` boolean, required
        - `metadata` object, required — Additional metadata related to the context, represented as key-value pairs.
        - `otelContextHolder` object, required — Holds OpenTelemetry context information as key-value pairs.
        - `trajectoryId` string, uuid — The identifier for the trajectory, formatted as a UUID.
        - `unstructuredSources` string[], required
      - `source` 'AGENTS', required — Indicates the source of the request, with the default value being 'AGENTS'.
      - `trajectoryId` string — The unique identifier for the trajectory associated with the agent request.
    - CopilotRequestContext
      - `source` 'COPILOT', required — Indicates the source of the request, with the default value being 'COPILOT'.
      - `trajectoryId` string — The unique identifier for the trajectory.
    - StandaloneRequestContext
      - `chirpAiContextObject` ChirpAiContextObject, required
        - `applicationGroup` string, required — The group to which the application belongs.
        - `applicationId` string, required — The identifier for the application associated with the context.
        - `complianceIds` ComplianceIds
          - `contactIds` ContactId[], required
            - `email` string — The email address of the contact.
            - `portalId` integer, required — The ID of the portal associated with the contact.
            - `vid` integer — The unique identifier for the contact.
          - `noContactIdReason` string — The reason why no contact ID is available.
          - `noPortalIdReason` string — The reason why no portal ID is available.
          - `noUserIdReason` string — The reason why no user ID is available.
          - `portalIds` integer[], required
          - `userIds` integer[], required
        - `conversationId` string
        - `featureId` string — The identifier for the feature associated with the context.
        - `inferenceId` string — The identifier for the inference associated with the context.
        - `isPrivate` boolean, required
        - `metadata` object, required — Additional metadata related to the context, represented as key-value pairs.
        - `otelContextHolder` object, required — Holds OpenTelemetry context information as key-value pairs.
        - `trajectoryId` string, uuid — The identifier for the trajectory, formatted as a UUID.
        - `unstructuredSources` string[], required
      - `source` 'STANDALONE', required — Indicates the source of the request, with the default value being 'STANDALONE'.
      - `trajectoryId` string — A unique identifier for tracking the trajectory of the request.
    - TestRequestContext
      - `source` 'TEST', required — Indicates the source of the test request, with the only accepted value being 'TEST'.
  - `typedOutputs` object, required — Holds the typed outputs related to the callback, structured as an object.

## Response `204`

No content

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/hubspot/apis/automation-actions-v4.md) · [All operations](https://skmtc.net/hubspot/apis/automation-actions-v4/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hubspot/automation-actions-v4/revisions/8864c563ec77/schema)
