Quick Help

The knowledgebase is a categorized collection of answers to frequently asked questions (FAQ) and articles. You can read articles in this category or select a subcategory that you are interested in.



 [NOTE] Block List Management With 2Factor.in

Solution

 

Block List Management

BlockList

Number blocking API is a great feature which would allow you to block outgoing messages / calls to a specific number OR group of numbers.

This feature would be useful in implementing
- Spam Protection
- Opt-Out filter ( to avoid sending messages to opted out numbers )

Method 1: Using 2Factor control panel

Login to 2Factor control panel at Here
Navigate to, Addon Services > Tools > Manage Block List
Click on 'Block A Number' button

You are required to provide below information while blocking a number
- Phone number: ISD formatted number
- Blocked Service: SMS or VOICE
- Blocking Reason: Reason for your reference

***

Liked 2Factor services? Share a word on Twitter / LinkedIn and get rewarded with FREE OTP Credits.

***

Method 2: Using 2Factor API Call

You can block and un-block SMS / VOICE services to user using 2Factor Number Block API

Adding number to block list
Syntax: (GET)
http://2factor.in/API/V1/{api_key}/BLOCK/{phone_number}/SMS/ADD
http://2factor.in/API/V1/{api_key}/BLOCK/{phone_number}/VOICE/ADD

Removing number from block list
Syntax: (GET)
http://2factor.in/API/V1/{api_key}/BLOCK/{phone_number}/SMS/REMOVE
http://2factor.in/API/V1/{api_key}/BLOCK/{phone_number}/VOICE/REMOVE

email facebook
1px
 
 
 

 

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid