SparkTG

User Documentation

User

v1.0

User

Retrieve a User in Telephony Cloud

Userv1.01 Endpoint

Overview

The /user API creates or retrieves a user by email or phone number, returning true on success.

Authentication

Basic Authentication

Methods

POST

Parameters

2 Parameters

Response

JSON Format

Available Endpoints

POST/user

Key Parameters

number(String)

User’s phone number

email(String)

User’s email address

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" -d"email=gaurav@sparktg.com
💡 Replace username:password with your actual credentials

Response Preview

Sample response from this API

Sample Response
true
View complete response format in Response section