Virtual Number

Virtual/ Longcode Number

What is a Virtual Number or Longcode? What is Keyword and Inbox balance?
Nov 12, 2024


Longcode is a Virtual Number hosted by the Telecom Operators and can be used to receive responses from the mobile subscribers (consumers / end-users).
Some common use cases includes, voting, gathering feedback, placing orders etc.

The message received from the subscriber is send to the required URL of the Company along with timestamp and other necessary details.

Every Country has their own rules for Longcode numbers where some Countries only allow incoming SMS only on Longcode number and some Countries allow 2-way communication from the same number. Additionally, the pricing also varies for each Country.

How to subscribe the Longcode number?

To activate Longcode number services:

  1. Go to Numbers on MSG91 Dashboard

  2. Click on Upgrade on left bottom corner

  3. Select plan and choose Longcode number based on your requirement

For the integration please click on the Edit button and the page will be open.

If you want to add any callback url please click on the Add Callback button.

Here you can add the Keywords, Webhook Url of your choice and click on save button

If you want to receive the Incoming SMS on Hello you can enable this toggle please be informed that incoming is not available for the Indian longcode number.

​To check the logs please go to the Logs section:

For checking the reports please go to the Reports section:


Note: 2-way communication is only available for international long code number.

Feel free to reach out to the MSG91 Support team at [email protected] or you can Call or WhatsApp at 8818888733 in case of any queries: 

How to activate a dedicated Long Code number in your account?
Mar 11, 2025


To add a new keyword, follow the below-mentioned steps:


1. Go to the Virtual Number option.

2. Select the option of Keyword. 


3. Click on the ADD button and enter the keyword of your choice.


4. Send it for approval and we'll let you know if this keyword is available.

NOTE: The maximum character limit for a keyword is 20.


Where I can add new keyword for longcode? What is it's maximum limit?
Nov 11, 2024