Messages
Resend message
Sends the stored request of a FAILED or CANCELED message again, as a NEW message (new id and correlationId; the original row is left as it is). {id} is the internal id, the correlationId or the wamid. Takes no body fields. Counts against the plan quota like any send, and answers everything POST /v1/messages/send can answer.
Auth: a number-scoped key, or an account-wide key with the x-whatsapp-number-id header (else 403 TENANT_SCOPE_NOT_ALLOWED). OAuth/MCP tokens and account keys also need messages:resend (ADMIN or OWNER).
POST
/
v1
/
messages
/
{id}
/
resend
Resend message
curl --request POST \
--url https://pilotstatus.com.br/v1/messages/{id}/resend \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/messages/{id}/resend"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://pilotstatus.com.br/v1/messages/{id}/resend', 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://pilotstatus.com.br/v1/messages/{id}/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/v1/messages/{id}/resend"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pilotstatus.com.br/v1/messages/{id}/resend")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/messages/{id}/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "cmf9a4t1m0007",
"correlationId": "b3f1c8e2-77aa-4c19-9f41-2d0e5a6b8c31",
"status": "QUEUED",
"createdAt": "2026-09-17T18:42:11.204Z",
"origin": "minha-linha",
"sourceNumber": "5511999999999",
"originalMessageId": "cmf8x2p9k0001"
}Was this page helpful?
⌘I
Resend message
curl --request POST \
--url https://pilotstatus.com.br/v1/messages/{id}/resend \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/messages/{id}/resend"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://pilotstatus.com.br/v1/messages/{id}/resend', 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://pilotstatus.com.br/v1/messages/{id}/resend",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/v1/messages/{id}/resend"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pilotstatus.com.br/v1/messages/{id}/resend")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/messages/{id}/resend")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "cmf9a4t1m0007",
"correlationId": "b3f1c8e2-77aa-4c19-9f41-2d0e5a6b8c31",
"status": "QUEUED",
"createdAt": "2026-09-17T18:42:11.204Z",
"origin": "minha-linha",
"sourceNumber": "5511999999999",
"originalMessageId": "cmf8x2p9k0001"
}