Skip to main content
POST
/
automation
/
v4
/
workflow-id-mappings
/
batch
/
read
Retrieve migrated workflow mappings
curl --request POST \  --url https://api.hubapi.com/automation/v4/workflow-id-mappings/batch/read \  --header 'Authorization: Bearer <token>' \  --header 'Content-Type: application/json' \  --data '{  "inputs": [  {  "flowMigrationStatuses": "12345",  "type": "FLOW_ID"  }  ] }'
{  "completedAt": "2023-11-07T05:31:56Z",  "requestedAt": "2023-11-07T05:31:56Z",  "startedAt": "2023-11-07T05:31:56Z",  "links": {},  "results": [  {  "flowId": 123,  "workflowId": 123  }  ],  "status": "PENDING" }

Supported products

Requires one of the following products or higher.
Marketing HubMarketing Hub -Free
Sales HubSales Hub -Free
Service HubService Hub -Free
Content HubContent Hub -Free
This API requires one of the following scopes:
automation

Authorizations

Authorization
string
header
required

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

Body

application/json
inputs
(FLOW_ID · object | WORKFLOW_ID · object)[]
required
  • FLOW_ID
  • WORKFLOW_ID

Response

successful operation

completedAt
string<date-time>
required
startedAt
string<date-time>
required
results
object[]
required
status
enum<string>
required
Available options:
PENDING,
PROCESSING,
CANCELED,
COMPLETE
requestedAt
string<date-time>