SparkTG

Events Documentation

Events

v1.0Moving to v2

This API is moving to v2

All SparkTG APIs are moving to API v2, with signed API tokens instead of a username and password. This one will follow soon; until then, use it on v1 as documented here.

Moving to API v2

Events

Real-time call events via WebSocket

Real-time Integrationv1.0

Overview

User have to connect to the socket to recieve the call events. In order to establish connection user have to send first message over the socket as the auth key(ServiceId:UniqueKey). Once the auth key is verified, success message will be sent over the socket as 'Success' and then the call events will be sent in the JSON format.

Real-time Events

Connect to real-time event streams for live call monitoring and status updates.

View event data in the Event Data section

WebSocket Connection

Server: telephonycloud.co.in:8989

Authentication: ServiceId:UniqueKey

Ping Test: Send 'ping' → Receive 'pong'