SparkTG

Update Agent's Number Documentation

Update Agent's Number

v1.0

Update Agent's Number

Change agent phone numbers

Agent Managementv1.01 Endpoint

Overview

Update Agent's Number API : PATCH : /agents

Authentication

Basic Authentication

Methods

PATCH

Parameters

2 Parameters

Response

JSON Format

Available Endpoints

PATCH/agents

Key Parameters

number(Integer)

9999999999

agent-number(Integer)

8888753557

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/agents?number=9999999999&agent-number=9999999999"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
{"number":"9999999999"}
View complete response format in Response section