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

ROOM_TAG_ADDED

A tag is added to a conversation.

ROOM_TAG_REMOVED

A tag is removed from a conversation.

Set up the webhook from the dashboard

  1. Log in to the Qiscus Omnichannel dashboard as an Admin or Supervisor.

  2. Open Settings and select Tags.

  3. In the Tag Webhook card, enter your URL in Webhook URL and click Save. The URL must start with https://.

  4. 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.

curl --location --request POST '{{BaseUrl}}/api/v2/admin/webhook_config' \
--header 'Qiscus-App-Id: {{AppId}}' \
--header 'Qiscus-Secret-Key: {{SecretKey}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "ROOM_TAG_WEBHOOK",
"url": "https://your-system.com/hooks/tags",
"is_active": true
}'

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

GET /api/v2/admin/webhook_config

Register a webhook

POST /api/v2/admin/webhook_config with type, url, and optional is_active (default true)

Change the URL or turn it on/off

POST /api/v2/admin/webhook_config/{id}/update with url and is_active

Delete the webhook

DELETE /api/v2/admin/webhook_config/{id}

Payload

Qiscus sends a POST request with a JSON body. Here is a sample ROOM_TAG_ADDED event:

{
"event": "ROOM_TAG_ADDED",
"timestamp": "2026-08-28T03:15:42Z",
"app_code": "kovof-xxxxxx",
"tag": {
"id": 155897,
"name": "complaint",
"is_new": false,
"created_at": "2026-08-01T02:10:05Z",
"tagged_at": "2026-08-28T03:15:42Z",
"removed_at": null
},
"room": {
"room_id": "123456789",
"name": "Customer Name",
"source": "wa",
"channel_id": 123,
"channel_name": "Qiscus xxxx",
"is_waiting": false,
"resolved": false
},
"customer": {
"user_id": "6281xxxxxx132",
"name": "Customer Name",
"avatar": "https://latest-multichannel.qiscus.com/img/default_avatar.svg",
"phone_number": "6281xxxxxx132",

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

event

ROOM_TAG_ADDED or ROOM_TAG_REMOVED.

timestamp

When the change was saved: the same as tag.tagged_at for an added tag, and tag.removed_at for a removed tag. ISO 8601, UTC.

app_code

Your App ID.

tag.id, tag.name

The tag.

tag.is_new

true when the tag did not exist yet and was created by this action.

tag.created_at

When the tag was first created in your app.

tag.tagged_at

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.

tag.removed_at

When the tag was removed. null for an added tag.

room

The conversation: room ID, customer name, channel source (for example wa, ig, fb), channel ID and name, and whether it is waiting or resolved.

customer

The customer: user ID, name, avatar, phone number, and email (when available).

actor

The Admin, Supervisor, or Agent who added or removed the tag. type is admin, supervisor, or agent.

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.

Secret Key changes

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 2xx status 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} and DELETE /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_REMOVED event for each one.


  Last updated