API for developers

Connect your own software to TickyTalk. Read and answer conversations, assign them, manage contacts and get notified instantly via webhooks when something happens.

Getting started

  1. Log in as an admin and go to Settings → API and webhooks. The API is included in Groei and Pro.
  2. Create a key. Choose "Can also write" if your integration sends replies or changes data. You see the key once: store it safely, for example in your server’s secrets.
  3. Make your first request:
curl https://tickytalk.com/api/v1/conversations?status=open&limit=10 \
  -H "Authorization: Bearer tt_…"

Base URL: https://tickytalk.com/api/v1 · Everything is JSON (UTF-8). Times are ISO 8601 in UTC. OpenAPI description (openapi.json)

Authentication

Send the key in the Authorization: Bearer tt_… header (or X-Api-Key: tt_…). A key belongs to one account and only sees that account’s data. Only call the API from your server, never from a browser or app: anyone could read the key there.

Lists and limits

Lists return the newest first, 25 per page (limit, max 100). If has_more is true, request the next page with after=<next_after>.

Limit: 120 requests per minute per key. Every response includes X-RateLimit-Limit and X-RateLimit-Remaining.

Endpoints

RequestWhat it does
GET /meAccount and key
GET /conversationsConversations, newest first. Filters: status (open, closed, spam, all), channel_id, assignee_id, team_id, contact_id, label_id, updated_since.
GET /conversations/{id}One conversation with channel, contact and labels
PATCH /conversations/{id}Change status, assignee, team and labels write key
GET /conversations/{id}/messagesMessages and notes of a conversation, newest first
POST /conversations/{id}/messagesSend a reply or add an internal note write key
GET /contactsContacts, newest first. Filters: email, phone, q (search).
POST /contactsCreate a contact write key
GET /contacts/{id}One contact
PATCH /contacts/{id}Update a contact write key
GET /usersUsers
GET /teamsTeams with their members
GET /labelsLabels
GET /channelsChannels

Send a reply and close the conversation

With type "reply" the message goes to the customer via the conversation’s channel (email, WhatsApp, chat …). With type "note" you add an internal note. With user_id you send on behalf of a colleague.

curl -X POST https://tickytalk.com/api/v1/conversations/123/messages \
  -H "Authorization: Bearer tt_…" -H "Content-Type: application/json" \
  -d '{"text":"Your order is on its way!","type":"reply","close":true}'

Assigning and labelling

add_labels accepts label ids or names; an unknown name becomes a new label.

curl -X PATCH https://tickytalk.com/api/v1/conversations/123 \
  -H "Authorization: Bearer tt_…" -H "Content-Type: application/json" \
  -d '{"assignee_id":7,"add_labels":["returns"],"status":"open"}'

Errors

On an error you get an HTTP status code and {"error":{"code":"…","message":"…"}}.

HTTPCodeMeaning
400invalid_jsonThe body is not valid JSON.
401unauthorizedKey missing, invalid or revoked.
403planThe API is not included in the account’s plan (Groei and Pro only).
403read_only_keyThe key is read-only.
404not_foundDoes not exist, or belongs to another account.
409duplicate_emailA contact with this email already exists; contact_id points to the existing contact.
422invalid_…A field is invalid; the message says which one.
429rate_limitedToo many requests. Wait the number of seconds in Retry-After.

Webhooks

A webhook sends a POST with JSON to your address (https) for each selected event. You set them up under Settings → API and webhooks, where you can also send a test and view the latest deliveries.

EventWhen
conversation.createdNew conversation
message.receivedMessage received from a customer
message.sentReply sent
note.createdInternal note added
conversation.assignedConversation assigned
conversation.closedConversation closed
conversation.reopenedConversation reopened
contact.createdNew contact

Example

Every event has a unique id, the event type and, in data, the conversation (with channel and contact) and, for messages, the message. Contact events contain data.contact.

{
    "id": "evt_3f9a1c2b7d4e6a80",
    "event": "message.received",
    "created_at": "2026-12-05T09:41:00+00:00",
    "account_id": 42,
    "data": {
        "conversation": {
            "id": 123,
            "subject": "Order #10482",
            "status": "open",
            "channel_id": 5,
            "contact_id": 88,
            "assignee_id": null,
            "team_id": 2,
            "unread": true,
            "created_at": "2026-12-05T09:41:00+00:00",
            "last_message_at": "2026-12-05T09:41:00+00:00",
            "closed_at": null,
            "url": "https://tickytalk.com/app/inbox?c=123",
            "labels": [],
            "channel": {
                "id": 5,
                "type": "whatsapp",
                "name": "WhatsApp",
                "address": "+31 6 1111 2222",
                "active": true
            },
            "contact": {
                "id": 88,
                "name": "Marieke de Vries",
                "email": null,
                "phone": "+31655550001",
                "custom": {},
                "created_at": "2026-12-05T09:41:00+00:00"
            }
        },
        "message": {
            "id": 9001,
            "conversation_id": 123,
            "type": "message",
            "direction": "inbound",
            "text": "Hi! My order arrived, but the jacket is too small.",
            "html": null,
            "author": {
                "type": "contact",
                "id": 88
            },
            "delivery_status": null,
            "attachments": [],
            "created_at": "2026-12-05T09:41:00+00:00"
        }
    }
}

Verifying the signature

The X-TickyTalk-Signature header contains t=<unix-time>,v1=<signature>. The signature is HMAC-SHA256 over "<t>.<raw body>" with the webhook secret. Compare in constant time and reject events older than 5 minutes.

// Node.js: verify a webhook signature
const [t, v1] = req.headers['x-tickytalk-signature'].split(',').map(p => p.split('=')[1]);
const ok = crypto.timingSafeEqual(
  Buffer.from(crypto.createHmac('sha256', SECRET).update(t + '.' + rawBody).digest('hex')),
  Buffer.from(v1));
// Also reject when t is more than 5 minutes off.
// PHP
[$t, $v1] = array_map(fn($p) => explode('=', $p, 2)[1], explode(',', $_SERVER['HTTP_X_TICKYTALK_SIGNATURE']));
$ok = hash_equals(hash_hmac('sha256', $t . '.' . file_get_contents('php://input'), $secret), $v1)
    && abs(time() - (int)$t) < 300;

Delivery and retries

Respond within 10 seconds with a 2xx status. Otherwise we retry after 1, 5, 30, 120 and 720 minutes. After 25 failed deliveries in a row we switch the webhook off and notify the admins. The same event can occasionally arrive twice: use the id to detect duplicates.

Want to try it yourself?

The API and webhooks are included in Groei and Pro. Try it free for 14 days.

Try for free