curl --request POST \
--url https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedInAccountId": 123,
"voiceAttachmentId": 123,
"sendAfter": "2023-11-07T05:31:56Z",
"scheduleId": 123,
"useContactTimeZone": true,
"retryWindowMinutes": 90
}
'import requests
url = "https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice"
payload = {
"linkedInAccountId": 123,
"voiceAttachmentId": 123,
"sendAfter": "2023-11-07T05:31:56Z",
"scheduleId": 123,
"useContactTimeZone": True,
"retryWindowMinutes": 90
}
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({
linkedInAccountId: 123,
voiceAttachmentId: 123,
sendAfter: '2023-11-07T05:31:56Z',
scheduleId: 123,
useContactTimeZone: true,
retryWindowMinutes: 90
})
};
fetch('https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice', 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://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice",
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([
'linkedInAccountId' => 123,
'voiceAttachmentId' => 123,
'sendAfter' => '2023-11-07T05:31:56Z',
'scheduleId' => 123,
'useContactTimeZone' => true,
'retryWindowMinutes' => 90
]),
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://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice"
payload := strings.NewReader("{\n \"linkedInAccountId\": 123,\n \"voiceAttachmentId\": 123,\n \"sendAfter\": \"2023-11-07T05:31:56Z\",\n \"scheduleId\": 123,\n \"useContactTimeZone\": true,\n \"retryWindowMinutes\": 90\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://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedInAccountId\": 123,\n \"voiceAttachmentId\": 123,\n \"sendAfter\": \"2023-11-07T05:31:56Z\",\n \"scheduleId\": 123,\n \"useContactTimeZone\": true,\n \"retryWindowMinutes\": 90\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice")
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 \"linkedInAccountId\": 123,\n \"voiceAttachmentId\": 123,\n \"sendAfter\": \"2023-11-07T05:31:56Z\",\n \"scheduleId\": 123,\n \"useContactTimeZone\": true,\n \"retryWindowMinutes\": 90\n}"
response = http.request(request)
puts response.read_body{
"actionType": "voice",
"linkedInActivityId": 1045,
"sentAtUtc": "2026-05-15T10:33:00Z",
"reference": "linkedin-1045",
"state": "sending",
"sendAfter": "2026-05-15T10:33:00Z",
"estimatedSendAt": null
}Send a LinkedIn voice message to a contact
contacts:operate scope (or a broader one that includes it).
Send a recorded voice message on LinkedIn. Upload the audio first and pass the id it returns as voiceAttachmentId.
Pass sendAfter to send it later, at most 30 days ahead; a moment already past sends now. Coming soon (mid November 2026). Pass scheduleId to send it at that schedule’s next opening, from sendAfter when given; without either, the send is made within the request. A send for later waits on Reply’s side and goes to the LinkedIn account’s queue only once it is due. It answers queued with sendAfter, or waitingForSchedule with estimatedSendAt, and a linkedin-scheduled-<id> reference that stays the send’s reference for its whole life.
Coming soon (mid November 2026). A send for later is not refused for the account’s limits when it is accepted. Once it is due, an attempt blocked by the account’s daily allowance for the action is retried, within the schedule’s open hours when it has one, until retryWindowMinutes (90 by default) after it was due; the send then fails with the code of what blocked it, as failureCode.
Read the send’s state with GET /v3/direct-sends/{reference}, or cancel it while it is queued or waitingForSchedule with POST /v3/direct-sends/{reference}/cancel. Coming soon (mid November 2026). A send for later can be cancelled until the LinkedIn account starts it, also once it waits in the account’s queue.
curl --request POST \
--url https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"linkedInAccountId": 123,
"voiceAttachmentId": 123,
"sendAfter": "2023-11-07T05:31:56Z",
"scheduleId": 123,
"useContactTimeZone": true,
"retryWindowMinutes": 90
}
'import requests
url = "https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice"
payload = {
"linkedInAccountId": 123,
"voiceAttachmentId": 123,
"sendAfter": "2023-11-07T05:31:56Z",
"scheduleId": 123,
"useContactTimeZone": True,
"retryWindowMinutes": 90
}
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({
linkedInAccountId: 123,
voiceAttachmentId: 123,
sendAfter: '2023-11-07T05:31:56Z',
scheduleId: 123,
useContactTimeZone: true,
retryWindowMinutes: 90
})
};
fetch('https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice', 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://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice",
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([
'linkedInAccountId' => 123,
'voiceAttachmentId' => 123,
'sendAfter' => '2023-11-07T05:31:56Z',
'scheduleId' => 123,
'useContactTimeZone' => true,
'retryWindowMinutes' => 90
]),
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://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice"
payload := strings.NewReader("{\n \"linkedInAccountId\": 123,\n \"voiceAttachmentId\": 123,\n \"sendAfter\": \"2023-11-07T05:31:56Z\",\n \"scheduleId\": 123,\n \"useContactTimeZone\": true,\n \"retryWindowMinutes\": 90\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://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"linkedInAccountId\": 123,\n \"voiceAttachmentId\": 123,\n \"sendAfter\": \"2023-11-07T05:31:56Z\",\n \"scheduleId\": 123,\n \"useContactTimeZone\": true,\n \"retryWindowMinutes\": 90\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reply.io/v3/contacts/{id}/send-direct-linkedin-voice")
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 \"linkedInAccountId\": 123,\n \"voiceAttachmentId\": 123,\n \"sendAfter\": \"2023-11-07T05:31:56Z\",\n \"scheduleId\": 123,\n \"useContactTimeZone\": true,\n \"retryWindowMinutes\": 90\n}"
response = http.request(request)
puts response.read_body{
"actionType": "voice",
"linkedInActivityId": 1045,
"sentAtUtc": "2026-05-15T10:33:00Z",
"reference": "linkedin-1045",
"state": "sending",
"sendAfter": "2026-05-15T10:33:00Z",
"estimatedSendAt": null
}Authorizations
Authenticate every request with a Bearer token. Pass your Reply API key in the
Authorization header:
Authorization: Bearer <your-api-key>
Get your API key from the Reply dashboard: Settings → API Key.
Headers
Makes the send safe to retry. A repeat of a completed send with the same key and the same request answers the first answer again, with the same reference, and sends nothing. Any repeat while the first is still running answers 409 directLinkedIn.idempotencyKeyInUse; once it has completed, the same key with a different request answers 409 directLinkedIn.idempotencyKeyReused, naming the send the key was first used for. A request that failed, including one that ended with an unexpected error, releases its key, so a repeat is a new attempt; after an unexpected error the first attempt may have sent, so check the contact's activity before repeating. sendAfter is compared as a UTC moment, so the same moment written with an offset or with Z is the same request. Keys are kept for 24 hours, per user, so the same key used by two users makes two sends; 1 to 255 printable ASCII characters, and a malformed key answers 400 with the pointer /Idempotency-Key. Coming soon (mid November 2026). A header whose bytes are not valid UTF-8 is rejected by the server with an empty 400. In the rare event that stored keys are lost within those 24 hours, a repeat is treated as a new request and sends again.
1 - 255Path Parameters
Contact ID
x >= 1Body
ID of the LinkedIn account to send from. Must be greater than 0.
ID of the uploaded voice attachment. Must be greater than 0.
Do not send before this UTC moment, at most 30 days ahead. A moment already past sends now. Coming soon (mid November 2026). With scheduleId, the first opening of the schedule from this moment.
Coming soon (mid November 2026). Send at this schedule's next opening - queued for it at once when the schedule is open now or opens within the next ten minutes, otherwise waiting for it (waitingForSchedule) and handed to the LinkedIn account's queue within about 10 minutes of it. Holidays are skipped as the schedule says. A schedule you cannot read answers 404 directLinkedIn.scheduleNotFound; one with no active day that has a time range answers 409 directLinkedIn.scheduleHasNoSlot. A schedule emptied that way while the send waits fails it with failureCode directLinkedIn.scheduleHasNoSlot; a send due while its schedule is closed waits for the next opening.
Coming soon (mid November 2026). Read the schedule in the contact's time zone (true) or in the schedule's own (false); absent, as the schedule is set. Only with scheduleId. true for a contact with no time zone answers 409 directLinkedIn.contactTimeZoneMissing; absent, a schedule set to the contact's time zone reads its own for such a contact, as in a sequence.
Coming soon (mid November 2026). How long, in minutes, after a send for later is due it may still go out; 90 when absent, at most 3 days. An attempt blocked by the account's daily allowance, or for a connection request by LinkedIn's limit on the account, is retried when the block ends, or every 15 minutes when its end is unknown; with scheduleId, only within the schedule's open hours, while the window keeps running. A send handed to the account's queue waits there for the rest of the window. When the window ends the send fails with the code of what blocked it last, or directLinkedIn.missedWindow when nothing blocked it. Only with sendAfter or scheduleId; ignored for a send made now (a sendAfter already past).
1 <= x <= 4320Response
Voice message accepted. Every field is always present, null when it does not apply; read state first. A send made now carries its linkedInActivityId and a linkedin-<id> reference, and sentAtUtc is when it went out if it ran within the request, otherwise when it was accepted. Coming soon (mid November 2026). A send for later answers queued or waitingForSchedule with a linkedin-scheduled-<id> reference, which never changes, and linkedInActivityId and sentAtUtc null.
Response returned after a direct LinkedIn action is accepted. Every field is always present, null when it does not apply.
The type of LinkedIn action performed.
connect, inMail, message, voice, aiVoice ID of the LinkedIn activity record created for this action. Coming soon (mid November 2026). Null for a send for later (a sendAfter still ahead, or a scheduleId), which has none until it is due; read it by its reference.
UTC timestamp when the action was accepted, or when it went out if it ran within the request. Coming soon (mid November 2026). Null for a send for later. Read state first; the moment a send goes out comes from GET /v3/direct-sends/{reference}.
The send's reference, linkedin-<id>, for GET /v3/direct-sends/{reference} and its cancel. Coming soon (mid November 2026). A send for later answers linkedin-scheduled-<id>. A send keeps its reference for its whole life. Treat it as opaque.
Where the send stands - queued when sendAfter lies ahead, otherwise sending, or already sent or failed. Coming soon (mid November 2026). waitingForSchedule while it waits for its schedule.
queued, waitingForSchedule, sending, sent, failed, cancelled UTC moment after which the send is attempted - the requested sendAfter, or when the send was accepted. Coming soon (mid November 2026). With scheduleId, the opening it was queued for when the schedule is open now or opens within the next ten minutes; null while the send waits for its schedule, and estimatedSendAt is set then.
Coming soon (mid November 2026). When the schedule next opens, as read at acceptance, for a send left waiting for it (waitingForSchedule); the send is handed to the LinkedIn account's queue within about 10 minutes of it. Null for any other send, and when the schedule does not open within 30 days of the moment the send waits from (the requested sendAfter, or the acceptance).