All API requests require authentication via an API key. Include your key in the Authorization header.
All API requests must include an API key in the Authorization header.
You can create and manage API keys from your dashboard under Settings > API Keys.
curl -X GET https://chatloka.net/api/v1/conversations \ -H "Authorization: Bearer sk_live_your_api_key_here" \ -H "Accept: application/json"
const response = await fetch('https://chatloka.net/api/v1/conversations', {
headers: {
'Authorization': 'Bearer sk_live_your_api_key_here',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
response = requests.get(
'https://chatloka.net/api/v1/conversations',
headers={
'Authorization': 'Bearer sk_live_your_api_key_here',
'Accept': 'application/json',
}
)
data = response.json()
| Type | Description |
|---|---|
full |
Full access to all API endpoints based on assigned scopes. |
limited |
Restricted access. Only the abilities you explicitly assign. |
webhook |
For webhook integrations. Limited to webhook-related scopes. |
bot |
For bot flow integrations. Limited to bot-related scopes. |
If you send a request without a valid API key, you'll receive a 401 Unauthorized response:
{
"message": "Unauthenticated."
}
Every minute you wait is revenue walking out the door. Join hundreds of businesses who transformed their customer communication with ChatOn.
β 30-day money-back guarantee
We use cookies and similar technologies to improve your experience, analyze traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Privacy Policy & Cookie Policy.
Choose which cookies you want to allow. Essential cookies are always required for the website to function.
Essential Cookies
Required for the website to function. Cannot be disabled.
Analytics Cookies
Help us understand how visitors interact with our website by collecting anonymous data.
Marketing Cookies
Used to track visitors across websites to display relevant advertisements.