Appearance
Checking Balance
You can check your SMS account balance using the Check Balance endpoint. This will return the current balance of your SMS account.
Endpoint
- URL:
/sms/check-balance
- Method: GET
Request Headers
Make sure to include the following headers in your request:
Authorization
: BearerYOUR_API_KEY
Content-Type
: application/json
Sample Request
bash
curl --location 'https://app.cecula.com/api/sms/check-balance' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
Successful Response
json
{
"balance": "118.00"
}
This will return your current SMS account balance in the response. Be sure to replace YOUR_API_KEY with your actual API key.