Authentication

The API requires bearer authentication for all endpoints. You will need to create a new access token from the Chatlayer app. Each access token is scoped to the team it was created in. If you need to access resources from a different team, you will have to create a separate token for that team.

Once you create a new token, you will see that it has the following format [tokenId]:[tokenSecret].

Copy
Copied
curl https://analytics.api.chatlayer.ai/v1/bots/<BotID>/conversations --user [tokenId]:[tokenSecret]
We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.