Workflow
Run workflow
Start a workflow. Supports running courier groups, orchestration groups, and campaigns.
post/workflow/runs
Request
- Base URLhttps://app.amperity.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Amperity-Tenantstring required
The ID for the tenant to which a request will be sent.
Api-Versionstring required
A supported version of the Amperity API.
Request body
Response
Workflow details for newly launched workflow
Example response
{
"created_at": "2024-06-19T04:00:18.764Z",
"ended_at": "2024-06-19T04:03:10.119Z",
"error": {
"attribution": "customer",
"data": {
"error_code": "InvalidAccessKeyId",
"id": "s3",
"request_id": "Z47DXHNGJ7ZPMRVS",
"retryable?": false
},
"message": "The credential does not provide access to the given resource. Please update\n the credential's access or try another credential.",
"type": "amperity.plugin.error/invalid-credentials"
},
"id": "wf-20240619-14418-6UhqSe",
"name": "Customer Attribute Daily",
"state": "failed",
"tenant": "acme2-max",
"type": "campaign.send"
}Changes
No recorded changes to this operation across all 1 revision of this API.