Contact Centre Web Services

1. Introduction

The documentation for the Contact Centre Web Services (web service) can be found on relevant pages on developer.puzzel.com.


2. Authentication

All endpoints for the web service requires a valid access token.

2.1 Auth: Web Request and Web Response

The token is generated by the Authentication Web Service.

Below is a simplified example on how to use the Authentication Web Service.

The Auth web request requires a valid customer key, a user account and the account password.

POST https://auth.puzzel.com/api/authenticate/login
Content-Type: application/json
{
  "CustomerKey":"{your customer key}",
  "UserName":"{your user account}",
  "Password":"{user account password}"
}

The Auth web response contains the access token, if the HTTP Status Code is 200.

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
  "accessToken": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9 - - -",
  . . . 
}
2.2 Web Service: Usage of access token

All further web request towards the web service must contain the Authorization: Bearer {accessToken} field, like this:

GET https://api.puzzel.com/contactcentre5/accesstokeninformation
Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9 - - -