Initialising a process flow & sending data
Introduction
Having obtained a Patchworks token, it can be applied to an API request to initialise a process flow with your data passed in the request body.
The steps
Step 1 Create a POST request for the following endpoint:
https://start.wearepatchworks.com/api/v1/flows/<flowID>/manual/<flowVERSION>...replacing <flowID> and <flowVERSION> with details for your required process flow noted previously.
Step 2
In the request headers, pass in the token obtained previously - this should be prefixed with the word Bearer - for example:

Step 3
In the request body, pass in the required payload - for example:

Step 4
Send the request - if successful, a 200 'flow initialised' response is given, together with a flow run id:

PreviousObtaining a token for Patchworks API authentication
NextWorking with cross-reference lookup API requests
Last updated
Was this helpful?
