Room Tags Webhook
The Room Tags Webhook sends an event to your system every time a tag is added to or removed from a conversation. Use it to keep tag data in sync with your CRM, ticketing system, or data warehouse without polling the room tags API.
There are two events, both sent to the same URL:
Event | When it is sent |
|---|---|
| A tag is added to a conversation. |
| A tag is removed from a conversation. |
Set up the webhook from the dashboard
Log in to the Qiscus Omnichannel dashboard as an Admin or Supervisor.
Open Settings and select Tags.
In the Tag Webhook card, enter your URL in Webhook URL and click Save. The URL must start with
https://.Turn on the toggle in the Tag Webhook card to start sending tag events.

To pause the events, turn the toggle off. Your URL stays saved.
Set up the webhook through the API
You can also register the webhook with the webhook config API, using the type ROOM_TAG_WEBHOOK.
Please follow this page to get your Qiscus App ID and Qiscus Secret Key. An Admin or Supervisor Authorization token also works.
Action | Endpoint |
|---|---|
List webhook configs |
|
Register a webhook |
|
Change the URL or turn it on/off |
|
Delete the webhook |
|
Payload
Qiscus sends a POST request with a JSON body. Here is a sample ROOM_TAG_ADDED event:
A ROOM_TAG_REMOVED event has the same shape, with "event": "ROOM_TAG_REMOVED", removed_at filled in, and is_new always false.
Field | Description |
|---|---|
|
|
| When the change was saved: the same as |
| Your App ID. |
| The tag. |
|
|
| When the tag was first created in your app. |
| When the tag was added to this conversation. For a removed tag, this is the original time it was added, so you can work out how long the tag stayed on. |
| When the tag was removed. |
| The conversation: room ID, customer name, channel source (for example |
| The customer: user ID, name, avatar, phone number, and email (when available). |
| The Admin, Supervisor, or Agent who added or removed the tag. |
Verify the signature
Every request carries a QISCUS-SIGNATURE-KEY header: a Base64 HMAC-SHA256 of the raw request body, signed with your Qiscus Secret Key. See Signature Key for how to verify it.
If your Admin regenerates the Qiscus Secret Key, the events are signed with the new key right away. Update the key in your signature check at the same time.
Delivery
Events are sent in the background, so tagging in the dashboard is never slowed down by your endpoint.
Your endpoint should answer with a
2xxstatus within 5 seconds.A failed or timed-out request is not retried. If you need a complete record, you can also read the tags of a conversation with
GET /api/v2/room_tags/{room_id}.One event is sent per tag action, even when one conversation has several rooms.
The URL must use HTTPS and must point to a public address.
Limits
Events are sent for tags added or removed in the Inbox (both the new and the legacy dashboard) and through
POST /api/v2/room_tags/{room_id}andDELETE /api/v2/room_tags/{room_id}/{tag_id}.Tags changed through the older v1 room tag API (
/api/v1/room_tag/...) don't send events.Deleting a tag from Settings > Tags removes it from every conversation but doesn't send a
ROOM_TAG_REMOVEDevent for each one.
Qiscus Technology