Developers
API keys and authentication
Connect to the Hitapo REST API: creating API keys, Bearer authentication, base URL, error format, pagination and rate limits.
With the REST API and webhooks you can connect Hitapo to your own systems (CRM, e-commerce, ERP). Everything you see in the dashboard runs on the same API.
Creating an API key
- Step 1: Open Settings › Developer.
- Step 2: In the API keys section, click Create key.
- Step 3: Enter a Key name that reminds you where it's used (e.g. “Shopify integration”).
- Step 4: The key starts with
hp_and is shown only once. Save it somewhere safe right away (e.g. an environment variable on your server).
- Keys have full access: they act like an Admin in your business. Use them on the server side only; never put them in browser or mobile app code.
- We store a hash (SHA-256) of the key, not the key itself. If you lose a key we can't recover it; create a new one.
- The list shows the first characters of each key and when it was Last used.
- Revoke disables a key immediately; every integration using it stops working.
- A business can have up to 50 keys.
Your first request
All endpoints live under https://api.hitapo.com/api/v1. Your API address also appears in the example request on the REST API card in Settings › Developer. Send the key in the Authorization: Bearer header:
curl https://api.hitapo.com/api/v1/conversations?status=open \
-H "Authorization: Bearer $HITAPO_API_KEY"{
"items": [
{
"id": "6f1c…",
"channelType": "whatsapp",
"status": "open",
"priority": "normal",
"handlingMode": "human",
"assigneeId": null,
"tags": ["shipping"],
"lastMessagePreview": "When will my order arrive?",
"createdAt": "2026-10-14T08:12:44.000Z"
}
],
"nextCursor": "…"
}OpenAPI schema
The OpenAPI 3 schema for conversations, messages, contacts, channels, campaigns and reports is public at GET /api/v1/developer/openapi.json. You can import it straight into Postman or Insomnia.
Error format
{
"error": "validation_error",
"message": "Mesaj boş olamaz",
"field": "content"
}| HTTP | error | Meaning |
|---|---|---|
| 400 | validation_error, bad_request | The request body or parameters are invalid. |
| 401 | unauthorized | The key is missing, invalid or revoked. |
| 402 | plan_upgrade_required, seat_limit, channel_limit, ai_quota_exceeded, voice_quota_exceeded, spend_cap_reached | A plan limit or quota was reached. |
| 403 | forbidden | You don't have permission for this action. |
| 404 | not_found | The record doesn't exist. |
| 409 | conflict, contact_exists, shortcut_taken | Conflict; for example, a contact with the same email already exists. |
| 429 | rate_limited | Too many requests; the message tells you how many seconds to wait. |
| 500 | server_error | Unexpected error. Send the code in the message to our support team. |
The message field is always a human-readable explanation you can show to users. It's in Turkish by default; send Accept-Language: en to get it in English.
Pagination
List endpoints return { items, nextCursor }. For the next page, send the nextCursor value as the cursor parameter; if nextCursor is empty, you're on the last page. Set the page size with limit (up to 100 for conversations, 200 for contacts).
Rate limits
AI copilot endpoints are limited to 60 requests per minute, and the AI test endpoint to 30 requests per minute. Request bodies can be up to 20 MB, and file uploads up to 25 MB. If you go over a limit, you get 429.
Next steps
Last updated: