To use SMS Gateway API methods, you must authenticate using:
- HTTP Basic Authentication using credentials provided by the Namirial support.
All API requests require HTTP Basic Authentication using your SMS account credentials:
curl -X POST https://sms.namirialtsp.com/api/Services/send \
-u username:password \
-H "Content-Type: application/json" \
-d '{"destination": "+1234567890", "text": "Hello World"}'Common authentication errors and solutions:
- Invalid Credentials - Verify that you are using the correct credentials for the target environment
- Expired Credentials - Contact Namirial support to renew expired credentials
- Environment Mismatch - Ensure you are using test credentials with test endpoints and production credentials with production endpoints
For the full list of the environments, see API References.
Submit a request to the Namirial support portal.