Developers: You can integrate your system with ours!
Check Balance API
To check your account balance from the API a GET request is sent, and a JSON response is sent back with the appropriate HTTP respone code. The following parameters are required.
Parameter | Description | Possible Values |
---|---|---|
key | account authentication key | |
secret | account authentication secret |
You can find our API functions on the menu on the right-hand side of this page. If you need assistance with connecting using our SMS RESTful API we will be happy to assist and review your requirements. Please send your requests to info@smsjuice.com.
Request Examples
Curl
curl --include \ https://api.smsjuice.com/{key}/{secret}/balance
Response Examples
Successful Response Example [HTTP RESPONSE 200 (OK)]
{"balance":154.35}
Failed Response Example [HTTP RESPONSES : 400 (BAD_REQUEST), 401 (UNAUTHORIZED), 500 (INTERNAL_SERVER_ERROR)]
{"submit":"failed","error":"invalid_credentials"}