Skip to main content
GET
/
user
/
myInfo
Get My Info
curl --request GET \
  --url https://platform.chatsyncs.com/api/v1/user/myInfo
import requests

url = "https://platform.chatsyncs.com/api/v1/user/myInfo"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://platform.chatsyncs.com/api/v1/user/myInfo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.chatsyncs.com/api/v1/user/myInfo",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://platform.chatsyncs.com/api/v1/user/myInfo"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://platform.chatsyncs.com/api/v1/user/myInfo")
.asString();
require 'uri'
require 'net/http'

url = URI("https://platform.chatsyncs.com/api/v1/user/myInfo")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
{
  "status": "1",
  "message": {
    "user_id": 114,
    "user_type": "Member",
    "name": "Member",
    "email": "member@gmail.com",
    "mobile": "3555757",
    "package_name": "Premium1",
    "expired_date": "2025-07-02 00:00:00",
    "created_at": "2022-03-26 10:55:29",
    "status": "1",
    "last_login_at": "2024-07-24 11:59:58",
    "last_login_ip": "127.0.0.1",
    "agent_has_ppu": "0",
    "agent_ppu_remaining": -1,
    "bot_subscriber_data": {
      "limit": "5000",
      "count": "1"
    },
    "message_credit_data": {
      "limit": "unlimited",
      "used": 0
    },
    "whatsapp_bots_details": [
      {
        "display_phone_number": "+91 97031 XXXX",
        "phone_number_id": "11906XXXXX40020",
        "whatsapp_business_account_id": "10039XXXX785XX",
        "whatsapp_business_name": "ChatSyncs"
      }
    ]
  }
}
Returns your own ChatSyncs account’s profile — plan, usage against your subscriber and message credit limits, and the WhatsApp numbers connected to the account.

Query Parameters

apiToken
string
required

Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.

Example:

"API-KEY"

Response

200 - application/json

Standard ChatSyncs response. status is "1" on success and "0" on failure.

status
string

"1" = success, "0" = failure.

message
object

The account's profile, plan, usage, and connected bot details.