Fast2SMS expects API Key to be included in all API requests to the server in a header.
Get your API Authorization Key from Fast2SMS Dev API section for FREE, which you need to add in each API request as follows:
For GET requests:
Include the API Key in the request header.
GET https://www.fast2sms.com/dev/bulkV2?route=q&message=YOUR_MESSAGE&numbers=9999999999
Authorization: YOUR_API_KEYFor POST requests:
Include the API Key in the request header.
POST /dev/bulkV2
Authorization: YOUR_API_KEYYou must replace YOUR_API_KEY with your Fast2SMS account API Authorization Key.
Multiple API keys
Any API key from Settings > API Key works here: your Default API Key or any additional key you create (additional keys start with f2s_). Send it in the same authorization header. You can give each key its own product permissions, allowed IPs and expiry date. See API Keys & Permissions.
