Knowledge Base > Comnica Contact Center > Developer and general information > Webhook
Comnica Contact Center
Comnica SmartSMS
Mass SmartSMS

Comnica Contact Center can react to certain events by calling a remote URL.

At that address, some HTTP server must listen and receive POST requests with a JSON body.

Comnica’s system only sends one request for each event and does not monitor the response received from the set endpoint, and accordingly does not retry the warning related to the given event.


1 single webhook URL can be ordered separately for each CC (telephone) and identification (video, NRTI) project, e.g.

No other configuration options are available at this time.


The body of the webhook call is a UTF-8 encoded JSON string. It has three keys.

  • event: the event that caused the call, such as, is always populated
  • event_reason: a kind of discriminator within that event, such as operator.termination, can be null
  • payload: object, with all the data that seems necessary and sufficient. The value is at least {}.
  "payload": {
    "record_id": 42,

Saving CC record

  • event:
  • event_reason:
    • site.edit — edited on the admin interface
    • — the record was saved in the Client
    • operator.termination — the record was saved and terminated using the Client
  • payload:
    • record_id — id of the record
    • termination_id — id of the termination null
    • terminating_code — terminating code or null