Send the sender key in a header or request body.
{
"to": "0540519119",
"message": "Payment received successfully.",
"sender_id": "TESTSMS",
"sender_api_key": "sx_your_sender_key"
}
curl -X POST https://sms.brillsinnovation.com/send_sms.php \
-H "Content-Type: application/json" \
-H "X-Sender-Key: sx_your_sender_key" \
-d '{"to":"0540519119","message":"Payment received successfully.","sender_id":"TESTSMS"}'
{
"phone": "0540519119",
"pin_length": 6,
"expiry_amount": 10,
"expiry_duration": "minutes",
"sender_id": "TESTSMS",
"sender_api_key": "sx_your_sender_key"
}
{
"phone": "0540519119",
"code": "243714",
"sender_api_key": "sx_your_sender_key"
}