Forward SMS

Forward SMS to REST API

By Forward SMS Team ·
8 min read
Forward text to url or api endpoint

Table Of Contents:

Forward SMS is a versatile iOS app that seamlessly forwards SMS to emails, URLs/APIs, slack, discord, or Telegram.


Prerequisite


Forward SMS to REST API

  1. Open Forward SMS application and create a new Rule.
    Create new rule in app
  2. Tap on Add Receiver button to add Telegram receiver.
    add new reciever
  3. Select REST API option from the list of options.
    Select REST API Option
  4. Tap on Add API Detail button to add REST API details.
    Add API Detail
  5. Change API Method. By default, it is set to POST. You can change it to GET or PUT depending on your API endpoint.
    Change API Method
  6. 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.
    Enter URL and Body
  7. (Optional) You can also add Headers to the API request. This is useful if your API requires authentication or other custom headers.
    Add URL HEaders
  8. Save REST API Config.
  9. (Optional) Test Rule to make sure SMS is forwarded.
  10. 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)" }