SparkTG

User Password Documentation

User Password

v1.0Moving to v2

This API is moving to v2

All SparkTG APIs are moving to API v2, with signed API tokens instead of a username and password. This one will follow soon; until then, use it on v1 as documented here.

Moving to API v2

User Password

Update User Password Instantly

Userv1.01 Endpoint

Overview

The /user-password API lets an authenticated user change their password, returning true on success

Available Endpoints

POST/user-password

Key Parameters

new(String)

The new password to be set

Quick Example

Try this API with a simple cURL command

Basic API Call
curl -i -u "username:password" "https://telephonycloud.co.in/api/v1/user-password" -d"new=9abc7pass"
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
true
View complete response format in Response section