Customer API

Get account profile

Returns account metadata including email, Telegram link status, lifetime stats, and active API key count.

get/api/v1/customer/profile

Request

  • Base URL: https://virtualsms.io
  • URL: https://virtualsms.io/api/v1/customer/profile
  • Auth: API key in header X-API-Key

Response

Profile returned

idstring uuid
emailstring email
telegram_linkedboolean
telegram_usernamestring
balance_usdnumber float
total_spent_usdnumber float
total_credits_usdnumber float
total_ordersinteger
active_api_keysinteger
created_atstring date-time

Example response

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "email": "user@example.com",
  "telegram_linked": true,
  "telegram_username": "myhandle",
  "balance_usd": 25.5,
  "total_spent_usd": 120,
  "total_credits_usd": 5,
  "total_orders": 47,
  "active_api_keys": 2,
  "created_at": "2024-01-15T10:00:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.