How to ensure API security?

To access any of Haptik's APIs, you require a Haptik provided authentication token. You need to contact your Haptik SPOC for this token.

The Authorization header of each HTTP request should be "Bearer" followed by the token.

Note

If the Authorization header is missing or invalid, then the 401 status code is returned.

Example Header

Authorization: Bearer <TOKEN>
client-id: <CLIENT_ID>
Content-Type: application/json

Can’t find what you’re looking for? Email us at support@haptik.ai.