The EaziSMSPro API uses API key authentication. You pass your key as a query parameter in every GET request — simple and straightforward.
How authentication works
Every API request must include your api_key as a query parameter:
https://dashboard.eazismspro.com/sms/api\
?action=send-sms\
&api_key=YOUR_API_KEY\
&to=0244000000\
&from=MyBrand\
&sms=Hello+from+EaziSMSPro%21
If the key is missing or wrong, the API will return an error response.
Finding your API key
- Log in to dashboard.eazismspro.com.
- Go to SMS API in the sidebar.
- Your API key is displayed on that page — copy it from there.
Keeping your key secure
Never commit your API key to Git. Store it in an environment variable instead:
# .env file (add this to .gitignore)
EAZI_SMS_API_KEY=your_key_here
// Node.js
const apiKey = process.env.EAZI_SMS_API_KEY;
// PHP
$apiKey = getenv('EAZI_SMS_API_KEY');
Rotating your key
If your key is compromised (e.g., accidentally committed to a public repo), go to the SMS API page and regenerate it yourself. Your old key is immediately invalidated. Update any services using the old key right away.
Questions? See the full API reference or chat with us on WhatsApp.