curl --request GET \
--url https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/', 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.getoneprofile.ai/sequences/{sequence_id}/reply-stats/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/"
req, _ := http.NewRequest("GET", 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.get("https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"drafts": 123,
"first_response_seconds": 123,
"labels": [
{
"by_agent": 123,
"by_person": 123,
"label": "<string>",
"replies": 123
}
],
"not_now": 123,
"questions_answered": 123,
"questions_asked": 123,
"replies": 123,
"reply_spend_tenths": 123,
"sent_as_written": 123,
"sent_edited": 123,
"sent_replaced": 123,
"waiting_now": 123,
"waiting_since": "2023-11-07T05:31:56Z"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Reply numbers
What the sequence’s replies came to, over all time: each label’s replies and who gave the label, the agent or a person; the not-now replies; the drafts the agent wrote and how each went out; the questions it asked and how many were answered; how many replies wait on a person now and since when; the median time from a contact’s first reply to your first answer; and what writing the replies cost, in tenths of a credit. Each reply counts in the sequence it came in on. Computed live.
curl --request GET \
--url https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/', 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.getoneprofile.ai/sequences/{sequence_id}/reply-stats/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
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://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/"
req, _ := http.NewRequest("GET", 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.get("https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sequences/{sequence_id}/reply-stats/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"drafts": 123,
"first_response_seconds": 123,
"labels": [
{
"by_agent": 123,
"by_person": 123,
"label": "<string>",
"replies": 123
}
],
"not_now": 123,
"questions_answered": 123,
"questions_asked": 123,
"replies": 123,
"reply_spend_tenths": 123,
"sent_as_written": 123,
"sent_edited": 123,
"sent_replaced": 123,
"waiting_now": 123,
"waiting_since": "2023-11-07T05:31:56Z"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Path Parameters
Response
Successful Response
What a sequence's replies came to, each reply counted in the sequence it came in on.
Drafts written for these replies.
The median time, in seconds, from a contact's first reply to your first answer after it; null before any is answered. An away notice or auto-reply never starts the clock.
Each label the replies carry, most replies first.
Show child attributes
Show child attributes
Replies that said not now and named a date to come back, without asking to stop.
Of those, the ones a person answered.
Replies the agent asked a person about before it could answer.
Replies the agent has read, one per reply.
What writing the replies cost, in tenths of a credit, net of the refunds for replies that needed no answer by the time they were written. Reading a reply is free.
Drafts sent as the agent wrote them.
Drafts a person changed before sending.
Drafts a person sent a reply of their own in place of.
Replies waiting on a person now: a draft to approve or questions to answer.
When the longest-waiting of those came in; null when none waits.
Was this page helpful?