Trigger a Workflow to Run
Use this API to run a Workflow.
post/workflows/{id}
Request
- Base URLhttps://client.apimetrics.io/api/2
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
ID of Workflow you're triggering
Request body
Response
200
Example response
{
"workflow_id": "agxkZXZ-dmlhdGVzdHNyGgsSDVRlc3RSdW5SZXN1bHQYgICAgKCvlwoM",
"workflow_result_id": "agxkZXZ-dmlhdGVzdHNyFAsSB1Rlc3RSdW4YgICAgKCPnwoM",
"context": {
"FOO": 1234,
"BAR": "%%RESULT_ID%%",
"DATUM": "%%DATETIME%%"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.