Getting Started

Quickstart

Get from zero to your first API call in under 5 minutes.

1

Create your API key

Go to account.xeboki.com → Connected Apps and click New Key.

Name your key

e.g. "My Integration" or "Production"

Select scopes

Grant only what your app needs per product

Copy the key

Shown once — save it securely immediately

The full key is only shown at creation time. Store it in your secrets manager immediately.
2

Make your first request

curl
curl https://api.xeboki.com/v1/account/me \
  -H "Authorization: Bearer xbk_live_your_key_here"
node
const res = await fetch('https://api.xeboki.com/v1/account/me', {
  headers: { 'Authorization': 'Bearer xbk_live_your_key_here' }
})
const user = await res.json()
console.log(user.email)
python
import requests

resp = requests.get(
    'https://api.xeboki.com/v1/account/me',
    headers={'Authorization': 'Bearer xbk_live_your_key_here'}
)
print(resp.json()['email'])
Response200 OK
{
  "user": {
    "id": 42,
    "email": "you@company.com",
    "full_name": "Your Name",
    "products": ["pos", "chat"]
  }
}
3

Handle errors

CodeErrorHow to fix
400Bad RequestCheck request body schema in the reference.
401UnauthorizedAPI key missing or invalid. Verify the key in Connected Apps.
403ForbiddenScope not granted. Add the required scope to your key.
404Not FoundResource does not exist or belongs to a different account.
422Validation ErrorRequest body failed validation. Check required fields.
429Too Many RequestsRate limit exceeded. Upgrade plan or wait until midnight UTC.
502Bad GatewayUpstream service temporarily unavailable. Retry with backoff.
500Internal Server ErrorContact support at developers@xeboki.com with your request ID.
4

Set up webhooks

Instead of polling the API, register an HTTPS endpoint to receive push notifications when events happen.

5

Explore product APIs

View full API reference →

Endpoints, scopes, request/response schemas for all seven products.