curl --request GET \
--url https://api.openworklabs.com/v1/admin/opportunities/outreach \
--header 'x-api-key: <api-key>'import requests
url = "https://api.openworklabs.com/v1/admin/opportunities/outreach"
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.openworklabs.com/v1/admin/opportunities/outreach', 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.openworklabs.com/v1/admin/opportunities/outreach",
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.openworklabs.com/v1/admin/opportunities/outreach"
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.openworklabs.com/v1/admin/opportunities/outreach")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openworklabs.com/v1/admin/opportunities/outreach")
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{
"generatedAt": "2023-11-07T05:31:56Z",
"windowDays": 4503599627370495,
"items": [
{
"organizationId": "<string>",
"organizationName": "<string>",
"play": "follow_up",
"reason": "<string>",
"also": [
"<string>"
],
"company": "<string>",
"contact": {
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<string>",
"activeDays": 4503599627370495
},
"others": [
{
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<string>",
"activeDays": 4503599627370495
}
],
"people": {
"members": 4503599627370495,
"active": 4503599627370495
},
"billing": {
"plan": "free",
"paying": true,
"modelsAddOn": true
},
"endsAt": "2023-11-07T05:31:56Z",
"lastActiveAt": "2023-11-07T05:31:56Z",
"followUp": {
"stage": "needs_review",
"ownerUserId": "<string>",
"ownerName": "<string>",
"nextAction": "<string>",
"nextFollowUpAt": "2023-11-07T05:31:56Z",
"lastContactedAt": "2023-11-07T05:31:56Z",
"lastActionKind": "reviewed",
"lastActionAt": "2023-11-07T05:31:56Z",
"confirmedOpportunity": "expansion",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"totals": {},
"waiting": [
{
"organizationId": "<string>",
"organizationName": "<string>",
"contactedAt": "2023-11-07T05:31:56Z",
"ownerName": "<string>",
"followUpAt": "2023-11-07T05:31:56Z",
"activeAgainAt": "2023-11-07T05:31:56Z"
}
],
"results": {
"days": 4503599627370495,
"contacted": 4503599627370495,
"replied": 4503599627370495,
"quietWhenContacted": 4503599627370495,
"cameBack": 4503599627370495
},
"hidden": 4503599627370495
}{
"error": "unauthorized"
}{
"error": "forbidden",
"reason": "<string>",
"message": "<string>"
}List the accounts worth writing to, with who and why
Platform-admin-only. One row per organization under its strongest reason: a follow-up that is due, a failed payment, a plan ending or canceled in the last 30 days, two or more people running tasks without a Team plan, every seat in use, colleagues at one verified company domain running tasks from separate workspaces, part of a team that stopped, a member reaching the free model limit in the last 7 days, a paid plan with no tasks seen in 14 days, or an account that ran tasks regularly in the last 60 days and then stopped (after failed tasks, after the free model limit, or without a recorded cause). Results count, for accounts contacted in the last 30 days, replies recorded and quiet accounts where someone ran a task afterwards; that is observed, not attributed to the contact. Each row names the person to write to with their name, email and role, and up to five other people. Accounts an admin dismissed or closed are left out; accounts contacted in the last 14 days are returned as waiting. At most 50 rows per reason; totals count every match. Missing telemetry is not inactivity and an email domain is not proof of employment. No content, credentials, Stripe calls or external enrichment, and nothing is sent.
curl --request GET \
--url https://api.openworklabs.com/v1/admin/opportunities/outreach \
--header 'x-api-key: <api-key>'import requests
url = "https://api.openworklabs.com/v1/admin/opportunities/outreach"
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.openworklabs.com/v1/admin/opportunities/outreach', 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.openworklabs.com/v1/admin/opportunities/outreach",
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.openworklabs.com/v1/admin/opportunities/outreach"
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.openworklabs.com/v1/admin/opportunities/outreach")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openworklabs.com/v1/admin/opportunities/outreach")
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{
"generatedAt": "2023-11-07T05:31:56Z",
"windowDays": 4503599627370495,
"items": [
{
"organizationId": "<string>",
"organizationName": "<string>",
"play": "follow_up",
"reason": "<string>",
"also": [
"<string>"
],
"company": "<string>",
"contact": {
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<string>",
"activeDays": 4503599627370495
},
"others": [
{
"userId": "<string>",
"name": "<string>",
"email": "<string>",
"role": "<string>",
"activeDays": 4503599627370495
}
],
"people": {
"members": 4503599627370495,
"active": 4503599627370495
},
"billing": {
"plan": "free",
"paying": true,
"modelsAddOn": true
},
"endsAt": "2023-11-07T05:31:56Z",
"lastActiveAt": "2023-11-07T05:31:56Z",
"followUp": {
"stage": "needs_review",
"ownerUserId": "<string>",
"ownerName": "<string>",
"nextAction": "<string>",
"nextFollowUpAt": "2023-11-07T05:31:56Z",
"lastContactedAt": "2023-11-07T05:31:56Z",
"lastActionKind": "reviewed",
"lastActionAt": "2023-11-07T05:31:56Z",
"confirmedOpportunity": "expansion",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
],
"totals": {},
"waiting": [
{
"organizationId": "<string>",
"organizationName": "<string>",
"contactedAt": "2023-11-07T05:31:56Z",
"ownerName": "<string>",
"followUpAt": "2023-11-07T05:31:56Z",
"activeAgainAt": "2023-11-07T05:31:56Z"
}
],
"results": {
"days": 4503599627370495,
"contacted": 4503599627370495,
"replied": 4503599627370495,
"quietWhenContacted": 4503599627370495,
"cameBack": 4503599627370495
},
"hidden": 4503599627370495
}{
"error": "unauthorized"
}{
"error": "forbidden",
"reason": "<string>",
"message": "<string>"
}Authorizations
Response
Outreach list returned.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$Was this page helpful?