Retrieve the original payload that triggered a workflow execution.
Before you begin
You need execute permission for the project.
Procedure
-
In a REST client platform, add authentication details of the tenant.
//In case of Instance API key
Headers:
{
"x-instance-api-key": "instance_api_key"
}
// In case of MCSP or ISV token
Headers:
{
"Authorization": "mcsp_or_isv_token"
}
- Make a GET request at the URL of the workflow.
URL Syntax -
/apis/v2/rest/workflows/:execution_id/payload
If the request is
successful, you receive the response code for success.
[{
"type": "event",
"data": {},
"icon": "<connector_icon>",
"uid": "<uid>",
"name": "<connector_name>",
"label": "<connector_label>",
"query": {},
"headers": {}
}]