Access Codes let you activate a subscription plan in your membership bot without processing a payment through an automated payment gateway.
Access Code Use Cases
Offline payments. Accept a payment manually (P2P bank transfer, cash, etc.), then issue an access code and send it to the customer.
Gifts. Grant access to someone for free by sending an access code.
Promotions. Use access codes for limited special offers like "first 10 users that will activate a code will get 3 months for free" or "activate this code before X and get 1 month for free".
Access Code Features
A single code can grant access to multiple channels and groups for a period ranging from 1 day to lifetime access (by creating a subscription plan with these settings);
you can limit the maximum number of code activations;
you can set the code expiration date (use a pre-defined period or enter a custom date);
one day before the end of the period, the bot sends a renewal reminder;
you can bulk generate access codes, up to 500 at once (great for teamwork);
with access links, access codes can be activated in one click, no need to type or copy-paste them.
Creating Access Codes
There are two ways to create a new code:
In your web dashboard, navigate to Setting > Payment options > Access Codes.
Or, send the /newcode command to @InviteMemberBot and select a project.
The simplest way to share a code with your client is to forward that activation link to them.
Bulk generation
When using InviteMemberBot in Telegram you can generate multiple codes at once.
To do this, send /newcode to the bot, and at the final step of the set-up you'll be asked how many codes you want to generate, one or multiple (bulk generation).
The bot will deliver a CSV file including all your codes. You can open this CSV file in any spreadsheet editor like Excel/Numbers.
Access Code Activation
The best way to activate an access code is to click the access code activation link like this one:
Your client just clicks the link that will open your membership bot, START the bot, and the code will be activated automatically giving the client access to the included benefits.
Alternatively, your client can enter the code manually instead of using the link. They just have to choose Access Code as payment option, and enter the alphanumeric code. You, as the bot owner, will also receive a notification after the activation.
Access Code Rollback (Cancellation)
In Setting > Payment options > Access Codes there's Rollback a code button that allows you to delete all code activations and the code itself.
It's useful in case you issued a code by mistake or refunded a payment and now you need to remove all users who activated the code.



