SparkTG

Register For Events Documentation

Register For Events

v1.0

Register For Events

Subscribe to real-time events

Real-time Integrationv1.01 Endpoint

Overview

Register for Events API : POST : /subscriber

Authentication

Basic Authentication

Methods

POST

Parameters

10 Parameters

Response

JSON Format

Available Endpoints

POST/subscriber

Key Parameters

svc-id(Integer)

1

auth-key(String)

abc-0097vf-w32 ns

force(Boolean)

TRUE

channel-type(String)

mobile

url(String)

https://192.168.1.1:9000/data

is-registered(Boolean)

true

View all 10 parameters in Parameters section

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -X POST -u "username:password" "https://telephonycloud.co.in/api/v1/subscriber" -d "svc-id=1&auth-key=abc-1234-xyz&force=true&channel-type=mobile&url=https://localhost:9001/log&is-registered=true&device-id=abc"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
true
View complete response format in Response section