Forward SMS to REST API

Table Of Contents:
Forward SMS is a versatile iOS app that seamlessly forwards SMS to emails, URLs/APIs, slack, discord, or Telegram.
Prerequisite
- An REST API already exists which can handle requests.
- Forward SMS app has been installed and is ready to use.
Forward SMS to REST API
- Open Forward SMS application and create a new Rule.
- Tap on Add Receiver button to add Telegram receiver.
- Select REST API option from the list of options.
- Tap on Add API Detail button to add REST API details.
- Change API Method. By default, it is set to POST. You can change it to GET or PUT depending on your API endpoint.
- Enter the URL and Body of the REST API endpoint you want to forward SMS to. You can use available properties which will be replaced when message is forwarded.
- (Optional) You can also add Headers to the API request. This is useful if your API requires authentication or other custom headers.
- Save REST API Config.
- (Optional) Test Rule to make sure SMS is forwarded.
- Save Rule.
Sample
Body configured:
{ "key": "{msg}", "contact": "{sender-contact}" }
Message Received:
This is a sample message
Sender:
Name: Tim, Number: 124-456-7890
Body parsed:
{ "key": "This is a sample message", "contact": "Tim (124-456-7890)" }