Skip to main content
POST
/
automation
/
v4
/
actions
/
callbacks
/
{callbackId}
/
complete
Completes a callback
curl --request POST \
  --url https://api.hubapi.com/automation/v4/actions/callbacks/{callbackId}/complete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "outputFields": {},
  "typedOutputs": {},
  "failureReasonType": "<string>",
  "requestContext": {
    "source": "WORKFLOWS",
    "workflowId": 123,
    "actionExecutionIndexIdentifier": {
      "actionExecutionIndex": 123,
      "enrollmentId": 123
    },
    "actionId": 123
  }
}
'
This response has no body data.

Supported products

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

callbackId
string
required

The unique identifier for the specific callback to complete.

Body

application/json
outputFields
object
required

Contains the output fields associated with the callback, with each field represented as a key-value pair.

typedOutputs
object
required

Holds the typed outputs related to the callback, structured as an object.

failureReasonType
string

Indicates the reason for the failure of a callback completion.

requestContext
WORKFLOWS · object

Specifies the context in which the request is made, which can be one of several predefined contexts.

Response

Last modified on February 12, 2026