Get SMS Configurations by Client
Endpoints
1. Get SMS Configurations by Client
Endpoint
POST /api/sms-config/get-all-by-client-id
Description
This endpoint retrieves all SMS configurations associated with a specific client.
Headers
Key | Value |
---|---|
Content-Type | application/json |
secretKey | Your secret key |
Response
Success Response
{
"status": 200,
"results": [
{
"smsConfigId": 1,
"providerName": "ExampleSMS",
"providerUrl": "https://portal.examplesms.com/",
"username": "[email protected]",
"senderId": "ExampleSenderID",
"smsType": "Transactional",
"smsApi": "https://api.examplesms.com/sendsms",
"balanceUrl": "https://api.examplesms.com/user/balance",
"balance": 100,
"perSmsCost": 0.5,
"isActive": true
},
{
"smsConfigId": 2,
"providerName": "AnotherSMS",
"providerUrl": "https://portal.anothersms.com/",
"username": "[email protected]",
"senderId": "AnotherSenderID",
"smsType": "Promotional",
"smsApi": "https://api.anothersms.com/sendsms",
"balanceUrl": "https://api.anothersms.com/user/balance",
"balance": 50,
"perSmsCost": 0.8,
"isActive": false
}
]
}