API - How to authenticate via developer.puzzel.com

Please find relevant links used to authenticate with a PCC user account to our API Pages:

 

https://developer.puzzel.com/

https://auth.puzzel.com/swagger/ui/index#/

 

Below is a step by step on how to authenticate properly before attempting to execute an API-call:

 

1. Navigate to https://auth.puzzel.com/swagger/ui/index#/ and open the /api/Authenticate/LogIn tab

2. Click on the "Example body" which will populate the left section and replace the values in:

"customerKey": "string",

  "userName": "string",

  "password": "string",

 

Example below:

 


 

3. Click Try it Out which should result in an access token. Copy that entire string value.

4. Now navigate to https://developer.puzzel.com/ and click the "Authorize" button at the top right

5. Write the word "Bearer" (Without ""), add a space and then the access token string, like this:

 

 

Note that the Bearer word must be included.

 

6. Click "Authorize" and you are now authenticated to use the API-methods.

Published

Last updated

0
0