SparkTG

Update Agent's Status Documentation

Update Agent's Status

v1.0

Update Agent's Status

Change agent availability status

Agent Managementv1.01 Endpoint

Overview

Update Agent's Status API : PATCH : /agents

Authentication

Basic Authentication

Methods

PATCH

Parameters

1 Parameters

Response

JSON Format

Available Endpoints

PATCH/agents

Key Parameters

status(Integer)

2

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?status=2"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
{"status":2, "break":7}
View complete response format in Response section