Source
Overview
The Source resources represents the origin data will come from that will be used within the automation. For workflows created via the Developer API the source will always be a Webhook source.
Fields
Field | Type | Description |
---|---|---|
id | String | The ID of the source. |
sourceType | String | The type of source for the workflow. For workflows created by the developer API this will always have the value of "WEBHOOK". |
sourceFields | Array<String> | The names of source fields used in this workflow. These can be provided upon creation of a workflow if known in advance. Otherwise these fields will reflect the keys of the last webhook event received by this workflow.
Nested fields will be represented with a |
webhookUrl | String | The webhook address of the workflow source. This is the url that source data is POST'ed to in order to initiate an automation. |
Example
Endpoints
Get a Source
Retrieve the source of the specific workflow as specified by the id.
Responses
Status | Body |
---|---|
200 OK | Source |
403 Unauthorised | Error |
Last updated