SparkTG

Register/Unregister for Events Documentation

Register/Unregister for Events

v1.0

Register/Unregister for Events

Manage event subscriptions

Real-time Integrationv1.01 Endpoint

Overview

Register/Unregister for Events API : PATCH : /subscriber

Authentication

Basic Authentication

Methods

PATCH

Parameters

3 Parameters

Response

JSON Format

Available Endpoints

PATCH/subscriber

Key Parameters

svc-id(Integer)

15

agent-id(Integer)

342

is-registered(Boolean)

true

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -X PATCH -u "username:password" "https://telephonycloud.co.in/api/v1/subscriber" -d "svc-id=1&agent-id=1&is-registered=true"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
true
View complete response format in Response section