curl --request GET \
--url https://api.getoneprofile.ai/accounts/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/accounts/"
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/accounts/', 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/accounts/",
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/accounts/"
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/accounts/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/accounts/")
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{
"data": [
{
"bounced_count": 123,
"company_row_count": 123,
"domain": "<string>",
"employee_count": 123,
"employees": "<string>",
"has_activity": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"in_sequence_count": 123,
"industry": "<string>",
"key": "<string>",
"last_touch_at": "2023-11-07T05:31:56Z",
"linkedin_page": "<string>",
"name": "<string>",
"newest_row_at": "2023-11-07T05:31:56Z",
"people_count": 123,
"replied_count": 123,
"table_count": 123,
"logo_path": "<string>",
"owner_email": "<string>",
"owner_name": "<string>",
"owner_tool": "<string>",
"search_match": {
"kind": "person",
"value": "<string>"
}
}
],
"next_page_cursor": "<string>",
"previous_page_cursor": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}List accounts
List the workspace’s accounts: one per company, gathered from every table whose rows name a company by its website, its LinkedIn page or a work address. By default only accounts where somebody was enrolled in a sequence or has a conversation; activity=all lists every one. Last touched first unless order_by says otherwise; accounts nobody was reached at come last, by last_touch_at or by employee_count either way. Building the accounts the first time can take a few minutes; GET /accounts/length/ says while it does.
curl --request GET \
--url https://api.getoneprofile.ai/accounts/ \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getoneprofile.ai/accounts/"
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/accounts/', 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/accounts/",
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/accounts/"
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/accounts/")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/accounts/")
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{
"data": [
{
"bounced_count": 123,
"company_row_count": 123,
"domain": "<string>",
"employee_count": 123,
"employees": "<string>",
"has_activity": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"in_sequence_count": 123,
"industry": "<string>",
"key": "<string>",
"last_touch_at": "2023-11-07T05:31:56Z",
"linkedin_page": "<string>",
"name": "<string>",
"newest_row_at": "2023-11-07T05:31:56Z",
"people_count": 123,
"replied_count": 123,
"table_count": 123,
"logo_path": "<string>",
"owner_email": "<string>",
"owner_name": "<string>",
"owner_tool": "<string>",
"search_match": {
"kind": "person",
"value": "<string>"
}
}
],
"next_page_cursor": "<string>",
"previous_page_cursor": "<string>"
}{
"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 accounts where somebody was reached (the default), or every account.
with_activity, all Only accounts with at least one person on a table (true), or with none (false); omit for both.
Only accounts in these industries, as GET /accounts/industries/ names them (case and spaces aside); repeat for several.
100255Only accounts where somebody replied, bounced or is in a sequence now; repeat the parameter for any of several. Omit for every account.
3What reached somebody at an account, as the list's Outreach filter names it.
replied, bounced, in_sequence Only accounts whose CRM owner is one of these, as GET /accounts/owners/ names them (case and spaces aside), or none for the accounts no CRM record gives an owner; repeat for several.
100255Text found in the account's name or domain, a person's name on it, another row's name for the company, or the website or LinkedIn page of an account merged into it. A row found by one of the last three says which in search_match. Those three are read for a search of 3 characters or more, and only with search_rows.
255Whether search also reads the accounts' rows (a person's name, another name, a merged account), not only each account's own name and domain. Default true.
Only accounts whose headcount falls in these bands (a range by its low end), or unknown for none; repeat for several.
9A headcount band the list's Size filter offers, by the headcount's low end.
1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+, unknown Only accounts with a row on one of these tables; repeat for several.
100The number of items to return.
1 <= x <= 100last_touch_at, name, employee_count, people_count, newest_row_at asc, desc Set the cursor to the next or previous page. You can get the cursor from the previous page's response.
Response
Successful Response
Was this page helpful?