Account
Get account details
GET
https://api.smsedge.com/v1/user/details/Returns the account that owns the API key: ID, username, e-mail, balance and opt-out link.
The endpoint takes no parameters. It also accepts POST.
balance is your live spendable balance. login_url is a one-click sign-in link to the dashboard. Keep it secret.
This endpoint has no parameters besides your API key.
Responses
- 200Account details
- 401The API key is missing, wrong or the account is blocked
curl -X GET "https://api.smsedge.com/v1/user/details/" \
-H "X-API-KEY: YOUR_API_KEY"[
{
"success": true,
"data": {
"id": 736,
"username": "demo",
"email": "user@example.com",
"balance": 102.479247,
"registered": "2018-06-29 10:29:29",
"optout_link": "http://example.click/wR",
"login_url": "https://app.smsedge.com/v2/login?authkey=EXAMPLE_LOGIN_TOKEN"
},
"errors": [],
"response": {
"code": 200,
"description": "OK",
"date": "2026-11-16 13:58:18"
},
"api": {
"version": "v1",
"module": "user",
"function": "details"
},
"user": {
"id": 736
}
}
]All requests need your API key in the X-API-KEY header. See Authentication.