Skip to content
Sign in

Developers

API Versions

Qwetty versions what the API answers and what webhooks carry by date. Routes and request bodies are the same in every version; only the shape of responses and webhook payloads changes.

Version Shape
2026-10-20 One shape per object, shared by REST answers and webhooks. Every object has object and id, references are nested (channel, contact, assignee), times are ISO 8601, and media comes as { url, expiresAt, … }.
2026-09-23 The first release: flat rows with ids only.

Send the Qwetty-Version header to choose one per request:

curl https://api.qwetty.com/api/v1/chats \
-H "Authorization: Bearer $QWETTY_API_KEY" \
-H 'Qwetty-Version: 2026-10-20'

Without the header, your key’s pinned version answers. New keys are pinned to the newest version; keys created before 2026-10-20 stay on 2026-09-23. The web app does not change a key’s pinned version, so to move an older key, send the header on every request or replace the key with a new one. Every authenticated response carries a Qwetty-Version header saying which version it is in. An unknown version returns 400 invalid_version.

Webhook endpoints have their own payload version. Endpoints on 2026-10-20 receive the same object REST answers with, under data.object — see webhooks.

  1. Send Qwetty-Version: 2026-10-20 on a few requests and update your parsing.
  2. Move your webhook endpoint to payload version 2026-10-20 with PATCH /webhooks/{id} and update your receiver.
  3. Keep sending the header, or create a new key (pinned to 2026-10-20) and drop the header.
  • Chats include lastMessage, unreadCount and the reply window, list by most recent activity, and filter by status, channelId, type, assignee, updatedSince, and name or number.
  • Messages include direction, author, resolved mentions, grouped reactions, signed media, replyTo, delivery status with the provider’s error, edited/deleted, and the clientReference they were sent with. after pages forward from a message you already have.
  • Lists add hasMore beside nextCursor.
  • New endpoints: group participants, the templates a chat can use now, and template render.
  • New webhook events: message.updated and chat.updated.

API reference · Pagination & filtering

QwettyQwetty

© 2026 PT. Desain Programmer Indonesia. All rights reserved.