SparkTG

Update Agent's Name Documentation

Update Agent's Name

v1.0

Update Agent's Name

Change agent display names

Agent Managementv1.01 Endpoint

Overview

Update Agent's Name API : PATCH : /agents

Authentication

Basic Authentication

Methods

PATCH

Parameters

3 Parameters

Response

JSON Format

Available Endpoints

PATCH/agents

Key Parameters

name(String)

Gaurav

agent-number(Integer)

8888753557

agent-sip(String)

101015

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -X PATCH -u "9999999999:agentpass" "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
{"name": "Gaurav"}
View complete response format in Response section