Forward text messages to a REST API in iOS
Forward SMS is a versatile iOS app that seamlessly forwards SMS to emails, Slack, Discord, URLs/APIs, or Telegram.
Prerequisites
- A REST API that can handle requests already exists.
- Forward SMS app has been installed and is ready to use.
Choose the method
Change the 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
Enter the URL and Body of the REST API endpoint you want to forward SMS to. You can use the available properties, which are replaced with real values when a message is forwarded. See the sample below.
Add headers
(Optional) You can also add Headers to the API request. This is useful if your API requires authentication or other custom headers.
Save the REST API config
Save the REST API config.
Test the rule
(Optional) Test the rule to make sure the SMS is forwarded.
Save the rule
Save the rule.
Body configured · JSON
{
"key": "{msg}",
"contact": "{sender-contact}"
}- Message received
- This is a sample message
- Sender
- Name: Tim, Number: 124-456-7890
Body parsed · JSON
{
"key": "This is a sample message",
"contact": "Tim (124-456-7890)"
}