URL: https://api.stringee.com/v1/account/info
HTTP method: GET
Content-Type: application/json
Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see Account Authentication
Response:
{
"r": RESULT_CODE,
"account": {YOUR_DATA_ACCOUNT},
}
Field | Type | Require | Description |
---|---|---|---|
r | Int | Yes | Result code |
account | Array | Yes | Your account data |
Sample request
GET /v1/account/info HTTP/1.1
Host: https://api.stringee.com
X-STRINGEE-AUTH: json_web_token
Accept: application/json
Sample response
{
"r": 0,
"account": {
"id": 76,
"account_sid": "ACdedf2d11f882c2d333a1a429508fe4c8",
"account_key": "fc7f6af418a40a1f91be94ab481785dc",
"firstname": "Thang2",
"lastname": "Le2",
"email": "[email protected]",
"country_number": "+",
"phone_number": "2432424",
"amount": "21.98000"
}
}