Forward Reply
curl --request POST \
--url https://app.replyify.ai/api/replies/{id}/forward \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": [
{}
],
"message": "<string>",
"include_thread": true
}
'import requests
url = "https://app.replyify.ai/api/replies/{id}/forward"
payload = {
"to": [{}],
"message": "<string>",
"include_thread": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({to: [{}], message: '<string>', include_thread: true})
};
fetch('https://app.replyify.ai/api/replies/{id}/forward', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.replyify.ai/api/replies/{id}/forward",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'to' => [
[
]
],
'message' => '<string>',
'include_thread' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.replyify.ai/api/replies/{id}/forward"
payload := strings.NewReader("{\n \"to\": [\n {}\n ],\n \"message\": \"<string>\",\n \"include_thread\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.replyify.ai/api/replies/{id}/forward")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"to\": [\n {}\n ],\n \"message\": \"<string>\",\n \"include_thread\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.replyify.ai/api/replies/{id}/forward")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"to\": [\n {}\n ],\n \"message\": \"<string>\",\n \"include_thread\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"success": true,
"forwarded_to": [
{}
],
"forwarded_at": "<string>"
}
}Replies
Forward Reply
Forward a reply to another email address
POST
/
api
/
replies
/
{id}
/
forward
Forward Reply
curl --request POST \
--url https://app.replyify.ai/api/replies/{id}/forward \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"to": [
{}
],
"message": "<string>",
"include_thread": true
}
'import requests
url = "https://app.replyify.ai/api/replies/{id}/forward"
payload = {
"to": [{}],
"message": "<string>",
"include_thread": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({to: [{}], message: '<string>', include_thread: true})
};
fetch('https://app.replyify.ai/api/replies/{id}/forward', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.replyify.ai/api/replies/{id}/forward",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'to' => [
[
]
],
'message' => '<string>',
'include_thread' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.replyify.ai/api/replies/{id}/forward"
payload := strings.NewReader("{\n \"to\": [\n {}\n ],\n \"message\": \"<string>\",\n \"include_thread\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://app.replyify.ai/api/replies/{id}/forward")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"to\": [\n {}\n ],\n \"message\": \"<string>\",\n \"include_thread\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.replyify.ai/api/replies/{id}/forward")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"to\": [\n {}\n ],\n \"message\": \"<string>\",\n \"include_thread\": true\n}"
response = http.request(request)
puts response.read_body{
"data": {
"success": true,
"forwarded_to": [
{}
],
"forwarded_at": "<string>"
}
}Forward the reply content to one or more email addresses. Useful for escalating leads or sharing with team members outside of Replyify.
One or more email addresses in the
Path Parameters
Request Body
Response
Examples
Basic Forward
curl -X POST "https://app.replyify.ai/api/replies/abc123-def456-ghi789/forward" \
-H "Authorization: Bearer rpl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"to": ["sales@yourcompany.com"]
}'
const replyId = 'abc123-def456-ghi789';
const response = await fetch(
`https://app.replyify.ai/api/replies/${replyId}/forward`,
{
method: 'POST',
headers: {
'Authorization': 'Bearer rpl_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
to: ['sales@yourcompany.com']
})
}
);
const data = await response.json();
import requests
reply_id = 'abc123-def456-ghi789'
response = requests.post(
f'https://app.replyify.ai/api/replies/{reply_id}/forward',
headers={'Authorization': 'Bearer rpl_your_api_key'},
json={'to': ['sales@yourcompany.com']}
)
data = response.json()
Forward with Message
curl -X POST "https://app.replyify.ai/api/replies/abc123-def456-ghi789/forward" \
-H "Authorization: Bearer rpl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"to": ["sales@yourcompany.com", "manager@yourcompany.com"],
"message": "Hot lead - please follow up ASAP. They are interested in our enterprise plan.",
"include_thread": true
}'
const response = await fetch(
`https://app.replyify.ai/api/replies/${replyId}/forward`,
{
method: 'POST',
headers: {
'Authorization': 'Bearer rpl_your_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
to: ['sales@yourcompany.com', 'manager@yourcompany.com'],
message: 'Hot lead - please follow up ASAP. They are interested in our enterprise plan.',
include_thread: true
})
}
);
Response Example
{
"data": {
"success": true,
"forwarded_to": [
"sales@yourcompany.com",
"manager@yourcompany.com"
],
"forwarded_at": "2024-01-15T17:00:00Z"
}
}
Errors
{
"error": "Invalid email address: invalid-email"
}
to array are invalid.Notes
Forwarding a reply triggers the
reply.forwarded webhook event if you have webhooks configured.Forwarding does not change the reply’s status. You can still send a response to the original sender after forwarding.