curl --request GET \
--url https://api.getoneprofile.ai/outreach-tasks/effective-approval/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/outreach-tasks/effective-approval/"
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/outreach-tasks/effective-approval/', 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/outreach-tasks/effective-approval/",
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/outreach-tasks/effective-approval/"
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/outreach-tasks/effective-approval/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/outreach-tasks/effective-approval/")
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{
"assigned_sender_send_modes": [
{
"email_send_mode": "always_send",
"sender_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sender_profile_name": "<string>"
}
],
"cadence_email_send_mode": "always_send",
"email_level": "default",
"email_mode": "manual",
"email_send_mode": "always_send",
"linkedin_level": "default",
"linkedin_mode": "manual"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Resolve the approval mode that applies
What one sender’s channel actually does in one sequence, and which level said so. A page can then say ‘this is the sender’s own setting’ rather than showing a value with no provenance. Two levels: the sender decides, and a sequence may only ever tighten it. Also answers how much email sends without a person approving it: for the sender when you pass sender_profile_id, and for the sequence as a whole plus each sender assigned to it when you pass sequence_id. Both ids are optional; with neither, the channel modes are the product defaults. Reads only: a sender’s send mode is changed on the sender’s own settings.
curl --request GET \
--url https://api.getoneprofile.ai/outreach-tasks/effective-approval/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/outreach-tasks/effective-approval/"
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/outreach-tasks/effective-approval/', 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/outreach-tasks/effective-approval/",
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/outreach-tasks/effective-approval/"
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/outreach-tasks/effective-approval/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/outreach-tasks/effective-approval/")
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{
"assigned_sender_send_modes": [
{
"email_send_mode": "always_send",
"sender_profile_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sender_profile_name": "<string>"
}
],
"cadence_email_send_mode": "always_send",
"email_level": "default",
"email_mode": "manual",
"email_send_mode": "always_send",
"linkedin_level": "default",
"linkedin_mode": "manual"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Response
Successful Response
The mode that actually applies per channel, and which level set it.
The send mode every email the sequence itself sends runs under: the strictest of its assigned senders', because its emails go out from every assigned sender's mailboxes in turn. always_ask when the sequence asks for approval or has no senders assigned. Null unless sequence_id is given.
always_send, send_when_confident, always_ask The sender's own send mode, tightened to always_ask when the given sequence asks for approval. It decides the agent's replies from their mailboxes (in that sequence's conversations, when sequence_id is given); a sequence's own emails run under cadence_email_send_mode instead. always_send sends every email; send_when_confident sends an agent-written email when the agent rated its own message high and had enough data, and holds back the rest; always_ask has a person approve every email. Null unless sender_profile_id is given.
always_send, send_when_confident, always_ask Was this page helpful?