Obtaining a token for Patchworks API authentication
Introduction
Patchworks API requests must be authenticated with a bearer token. To obtain a token, you need to send a login request which includes credentials that you use to access the Patchworks dashboard.
The steps
Step 1 Create a POST request for the following endpoint:
https://svc-fabric.pwks.co/api/v1/login
Step 2 In the request body, add the email and password that you use to log into the Patchworks dashboard. You should add this as JSON - for example:
{
"email": "[email protected]",
"password": "mypassword123*"
}

Step 3 Send the request - if successful, a token is returned. For example:

Step 4 Save this token ready for use in your initialise request.
PreviousObtaining process flow & version IDs for API requestsNextInitialising a process flow & sending data
Last updated