Passer au contenu principal
POST
/
automation
/
v4
/
workflow-id-mappings
/
batch
/
read
Récupérer les mappages d'ID de workflow
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": [
    {
      "type": "FLOW_ID",
      "flowId": "<string>"
    }
  ]
}
'
{
  "completedAt": "2023-11-07T05:31:56Z",
  "results": [
    {
      "flowId": 123,
      "workflowId": 123
    }
  ],
  "startedAt": "2023-11-07T05:31:56Z",
  "links": {},
  "requestedAt": "2023-11-07T05:31:56Z"
}

Supported products

Autorisations

Authorization
string
header
requis

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

Corps

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

Réponse

successful operation

completedAt
string<date-time>
requis

La date et l'heure auxquelles le traitement par lots a été terminé, au format chaîne date-heure.

results
object[]
requis
startedAt
string<date-time>
requis

La date et l'heure auxquelles le traitement par lots a commencé, au format chaîne date-heure.

status
enum<string>
requis

Statut actuel du traitement par lots, avec les valeurs possibles suivantes : ANNULÉ, TERMINÉ, EN ATTENTE, EN COURS DE TRAITEMENT.

Options disponibles:
CANCELED,
COMPLETE,
PENDING,
PROCESSING

Une collection d'URL associées au processus par lots.

requestedAt
string<date-time>

La date et l'heure auxquelles la demande par lots a été lancée, au format chaîne date-heure.

Dernière modification le 13 avril 2026