API tokens
Create keys so your app can call the public SMS API.
Open API Integration, then API Token. Add Token, choose Live or Sandbox, name the key, optionally restrict scopes, expiry, IP allowlist, and rate limits. Confirm with your account password. Copy the secret immediately; it is shown once.
- Default scopes are SMS send and SMS OTP. Add
whatsapp:sendandwhatsapp:otpwhen you need WhatsApp routes. - Sandbox keys (
msnp_test_) use the same hosts. Messages are not delivered to a real phone. Open Sandbox inbox under API Integration to confirm SMS and WhatsApp test sends. Sandbox keys do not need KYC and work on Flex. - Live keys (
msnp_live_) need a Package or Enterprise plan (not Flex), approved dashboard KYC (individual nagarita or national ID, or company registration plus letterhead cover letter; PAN optional) or an active grace period, plus a separate live API approval. They use wallet credits for SMS and your plan for WhatsApp when sending to real numbers. - Creating a key does not revoke older keys.
- Revoke a key if it leaks. Traffic with that secret then fails with an invalid-key error.
- Full API guide: API docs.