curl --request POST \
--url https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"profile_url": "<string>",
"note": ""
}
'import requests
url = "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/"
payload = {
"profile_url": "<string>",
"note": ""
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({profile_url: '<string>', note: ''})
};
fetch('https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/', 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/sender-profiles/{profile_id}/linkedin/test-actions/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'profile_url' => '<string>',
'note' => ''
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/"
payload := strings.NewReader("{\n \"profile_url\": \"<string>\",\n \"note\": \"\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"profile_url\": \"<string>\",\n \"note\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"profile_url\": \"<string>\",\n \"note\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"claimed_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"error_code": "selector_missing",
"error_message": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "profile_view",
"outcome": {
"dispatched": true,
"dwell_ms": 0,
"first_degree_member_urns": [
"<string>"
],
"kind": "profile_view",
"missed_window": false,
"observed_member_urn": "<string>",
"open_profile": true,
"reason": "invitation_already_pending",
"scrolled_fraction": 0,
"scrolled_px": 0,
"vanity": ""
},
"params": {
"profile_url": "<string>",
"kind": "profile_view"
},
"priority": 123,
"queued_at": "2023-11-07T05:31:56Z",
"source_enrolment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by": "web"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"issues": [
{
"input": "<string>",
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Queue one LinkedIn step by hand
Queues a single step against a profile you name, so the channel can be tried end to end without building a sequence and waiting for it to reach a LinkedIn step.
It is a REAL action: same queue, same approval in manual mode, same daily ceilings, same credit. A test path that skipped those would prove nothing about whether the channel works.
Only profile_view and connection_request may be queued this way — the two the extension implements that act on one named profile.
curl --request POST \
--url https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"profile_url": "<string>",
"note": ""
}
'import requests
url = "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/"
payload = {
"profile_url": "<string>",
"note": ""
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({profile_url: '<string>', note: ''})
};
fetch('https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/', 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/sender-profiles/{profile_id}/linkedin/test-actions/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'profile_url' => '<string>',
'note' => ''
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/"
payload := strings.NewReader("{\n \"profile_url\": \"<string>\",\n \"note\": \"\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"profile_url\": \"<string>\",\n \"note\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getoneprofile.ai/sender-profiles/{profile_id}/linkedin/test-actions/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"profile_url\": \"<string>\",\n \"note\": \"\"\n}"
response = http.request(request)
puts response.read_body{
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"claimed_at": "2023-11-07T05:31:56Z",
"duration_ms": 123,
"error_code": "selector_missing",
"error_message": "<string>",
"expires_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"kind": "profile_view",
"outcome": {
"dispatched": true,
"dwell_ms": 0,
"first_degree_member_urns": [
"<string>"
],
"kind": "profile_view",
"missed_window": false,
"observed_member_urn": "<string>",
"open_profile": true,
"reason": "invitation_already_pending",
"scrolled_fraction": 0,
"scrolled_px": 0,
"vanity": ""
},
"params": {
"profile_url": "<string>",
"kind": "profile_view"
},
"priority": 123,
"queued_at": "2023-11-07T05:31:56Z",
"source_enrolment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source_step_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by": "web"
}{
"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
Body
Queue one step by hand, to watch the channel work.
The kind is a two-member literal rather than the full action enum: these are the ones the extension implements and that act on a single named profile. An InMail spends the sender's own premium credits and the housekeeping reads act on nobody, so neither is a useful thing to try on demand.
What to do: view the profile, or send a connection request.
profile_view, connection_request Whose profile, in any shape LinkedIn uses — a vanity URL, a bare slug, a Sales Navigator link.
1 - 512The invitation note, for a connection request. Ignored for a profile view.
300Response
Successful Response
Why one action did not succeed, as a closed vocabulary.
Two populations in one enum, on purpose. The first twelve are reported by the browser agent and were previously a free string that only the extension had written down — nothing stopped a typo storing and rendering exactly like a real code. The last three the backend writes itself when an action settles without the browser ever running it.
The list is the whole contract: a code outside it is rejected at the API boundary rather than persisted, so the extension and the dashboard can only ever speak about failures both sides can name.
selector_missing, blocked_checkpoint, not_authenticated, account_mismatch, navigation_failed, timed_out, linkedin_error, agent_restarted, tab_lost, not_applicable, not_connected, invalid_params, user_rejected, cancelled, missed_window What the browser agent is being asked to do.
The three CHECK_*/READ_* kinds are housekeeping — they read our own
outbound invitations and our own conversations to detect what the contact did
— so they are free and deliberately excluded from the priced kinds below.
CHECK_INBOX scans the conversation list for threads with new inbound
activity; READ_CONVERSATION opens one of them and reads it in full. The
split keeps LinkedIn activity proportional to real replies: the cheap scan
runs on every sweep, the expensive read only where the scan saw a change.
LIKE_LATEST_POST targets the contact's most recent post at the moment
the browser runs it. A contact with no posts is not a failure: the driver
reports the action SKIPPED, and the sequence advances either way.
A PROFILE_VIEW outcome MAY additionally carry open_profile: bool —
whether the member's Premium "Open Profile" toggle is on, read off the
page when the driver can see it. The open-profile condition resolves from
that observation and never from a guess, so a driver that cannot tell
simply omits the key.
profile_view, connection_request, send_message, inmail, withdraw_connection_request, follow_contact, like_latest_post, check_sent_invitations, check_inbox, read_conversation What a profile view saw.
open_profile is deliberately three-state. The Premium "Open Profile"
toggle is only sometimes legible on the page, and the sequence condition
resolves from a real observation or not at all — None means "could not
tell", which is not the same answer as False.
- ProfileViewOutcome
- ConnectionRequestOutcome
- SendMessageOutcome
- InMailOutcome
- WithdrawConnectionRequestOutcome
- FollowContactOutcome
- LikeLatestPostOutcome
- CheckSentInvitationsOutcome
- CheckInboxOutcome
- ReadConversationOutcome
Show child attributes
Show child attributes
Open a member's profile and read it like a person would.
- ProfileViewParams
- ConnectionRequestParams
- SendMessageParams
- InMailParams
- WithdrawConnectionRequestParams
- FollowContactParams
- LikeLatestPostParams
- CheckSentInvitationsParams
- CheckInboxParams
- ReadConversationParams
Show child attributes
Show child attributes
Where one queued action stands.
Governor-deferral is deliberately NOT a status: an action whose kind has hit
its daily cap stays QUEUED and is simply not handed out, with the reason
travelling on the hand-out response instead. A DEFERRED row would make
the queue lie about what is still waiting to happen.
SKIPPED is "not applicable" (no LinkedIn URL, already connected);
REJECTED is "a human refused it"; FAILED is "we tried and could not".
queued, claimed, succeeded, failed, rejected, skipped Which surface approved a manual step; the two are peers, never a hierarchy.
web, extension Was this page helpful?