curl --request GET \
--url https://api.getoneprofile.ai/outreach-tasks/activity/count/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/outreach-tasks/activity/count/"
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/activity/count/', 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/activity/count/",
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/activity/count/"
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/activity/count/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/outreach-tasks/activity/count/")
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{
"total": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Count what went out as a sender
How many Activity rows the same filters as the list select, for the page’s total.
curl --request GET \
--url https://api.getoneprofile.ai/outreach-tasks/activity/count/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/outreach-tasks/activity/count/"
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/activity/count/', 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/activity/count/",
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/activity/count/"
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/activity/count/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/outreach-tasks/activity/count/")
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{
"total": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Query Parameters
Only what went out as these senders; omit for every sender.
Only these channels (email, linkedin); omit for both.
Which channel performs the task once it is allowed to run.
linkedin, email Only what was decided this way: approved (a person or an API key approved it before it went), automatic (no person decided: the rules let it go), rejected (a person refused it, so it never went), sent_by_person (a person wrote and sent it from the inbox), not_recorded (a LinkedIn step from before Activity whose approval was not kept).
Who let one unit of outreach go, or refused it.
APPROVED: a person (or an API key) approved it before it went.
AUTOMATIC: nobody was asked; the sender's or the sequence's rules let
it go. REJECTED: a person refused it, so it never went.
SENT_BY_PERSON: a person wrote it and sent it themselves, from the inbox.
NOT_RECORDED: a LinkedIn step that ran before Activity existed whose
approval a later step of the same contact has since overwritten; saying so
is truer than guessing.
approved, automatic, rejected, sent_by_person, not_recorded Only what ended this way: sent (an email the provider accepted), done (a LinkedIn step that did its job), failed, skipped, already_pending (a connection request somebody had already sent), stopped, not_sent (refused).
How one unit of outreach ended.
SENT is an email the provider accepted; DONE a LinkedIn step that
did its job, the word both LinkedIn surfaces use. SKIPPED is a step that
did not apply or was passed over in the extension; ALREADY_PENDING the
one skip every LinkedIn surface names apart, a connection request somebody
had already sent; STOPPED one stopped while a browser ran it.
NOT_SENT is a task a person refused, which never reached its channel.
sent, done, failed, skipped, already_pending, stopped, not_sent Only these kinds: a LinkedIn action slug (connection_request, send_message, …), email for a sequence's email, or reply for a reply from the inbox.
1 - 32Only what these sequences sent; omit for all of them.
Only what happened at or after this instant, with its timezone offset.
Only what happened before this instant, with its timezone offset.
Words that must each appear in the contact's name, address or LinkedIn profile, or in the subject.
200Response
Successful Response
How many Activity rows the same filters select, for the page's total.
How many rows match the filters.
Was this page helpful?