Create Person
curl --request POST \
--url https://api.opennous.cloud/v2/people \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"linkedin_url": "<string>",
"linkedin_member_id": "<string>",
"hubspot_id": "<string>",
"pipedrive_id": "<string>",
"apollo_id": "<string>",
"attio_id": "<string>"
}
'import requests
url = "https://api.opennous.cloud/v2/people"
payload = {
"email": "<string>",
"linkedin_url": "<string>",
"linkedin_member_id": "<string>",
"hubspot_id": "<string>",
"pipedrive_id": "<string>",
"apollo_id": "<string>",
"attio_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
linkedin_url: '<string>',
linkedin_member_id: '<string>',
hubspot_id: '<string>',
pipedrive_id: '<string>',
apollo_id: '<string>',
attio_id: '<string>'
})
};
fetch('https://api.opennous.cloud/v2/people', 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.opennous.cloud/v2/people",
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([
'email' => '<string>',
'linkedin_url' => '<string>',
'linkedin_member_id' => '<string>',
'hubspot_id' => '<string>',
'pipedrive_id' => '<string>',
'apollo_id' => '<string>',
'attio_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.opennous.cloud/v2/people"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"linkedin_member_id\": \"<string>\",\n \"hubspot_id\": \"<string>\",\n \"pipedrive_id\": \"<string>\",\n \"apollo_id\": \"<string>\",\n \"attio_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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.opennous.cloud/v2/people")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"linkedin_member_id\": \"<string>\",\n \"hubspot_id\": \"<string>\",\n \"pipedrive_id\": \"<string>\",\n \"apollo_id\": \"<string>\",\n \"attio_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/people")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"linkedin_member_id\": \"<string>\",\n \"hubspot_id\": \"<string>\",\n \"pipedrive_id\": \"<string>\",\n \"apollo_id\": \"<string>\",\n \"attio_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyPeople
Create Person
Create or upsert a person by identifier. Idempotent — if an entity with one of the identifiers already exists, you get it back with any new claim values asserted onto it.
POST
/
v2
/
people
Create Person
curl --request POST \
--url https://api.opennous.cloud/v2/people \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"linkedin_url": "<string>",
"linkedin_member_id": "<string>",
"hubspot_id": "<string>",
"pipedrive_id": "<string>",
"apollo_id": "<string>",
"attio_id": "<string>"
}
'import requests
url = "https://api.opennous.cloud/v2/people"
payload = {
"email": "<string>",
"linkedin_url": "<string>",
"linkedin_member_id": "<string>",
"hubspot_id": "<string>",
"pipedrive_id": "<string>",
"apollo_id": "<string>",
"attio_id": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
linkedin_url: '<string>',
linkedin_member_id: '<string>',
hubspot_id: '<string>',
pipedrive_id: '<string>',
apollo_id: '<string>',
attio_id: '<string>'
})
};
fetch('https://api.opennous.cloud/v2/people', 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.opennous.cloud/v2/people",
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([
'email' => '<string>',
'linkedin_url' => '<string>',
'linkedin_member_id' => '<string>',
'hubspot_id' => '<string>',
'pipedrive_id' => '<string>',
'apollo_id' => '<string>',
'attio_id' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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.opennous.cloud/v2/people"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"linkedin_member_id\": \"<string>\",\n \"hubspot_id\": \"<string>\",\n \"pipedrive_id\": \"<string>\",\n \"apollo_id\": \"<string>\",\n \"attio_id\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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.opennous.cloud/v2/people")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"linkedin_member_id\": \"<string>\",\n \"hubspot_id\": \"<string>\",\n \"pipedrive_id\": \"<string>\",\n \"apollo_id\": \"<string>\",\n \"attio_id\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.opennous.cloud/v2/people")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"linkedin_url\": \"<string>\",\n \"linkedin_member_id\": \"<string>\",\n \"hubspot_id\": \"<string>\",\n \"pipedrive_id\": \"<string>\",\n \"apollo_id\": \"<string>\",\n \"attio_id\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyUse this from a form intake hook. Safe to call repeatedly for the same person.
Every other field on the body is asserted as a claim. Common ones include
Both
curl -X POST https://api.opennous.cloud/v2/people \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"email": "sarah@acme.com",
"linkedin_url": "https://linkedin.com/in/sarah-chen",
"first_name": "Sarah",
"last_name": "Chen",
"job_title": "VP Sales",
"company": "Acme"
}'
Body
At least one identifier is required.string
Adds an
email identifier to the entity.string
Adds a
linkedin_url identifier.string
Adds a
linkedin_member_id identifier.string
Adds a
hubspot identifier.string
Adds a
pipedrive identifier.string
Adds an
apollo identifier.string
Adds an
attio identifier.first_name, last_name, job_title, company, seniority, department, city, country, phone, pipeline_stage.
Response
{
"person": {
"id": "a1b2c3d4-...",
"entity_id": "a1b2c3d4-...",
"email": "sarah@acme.com",
"first_name": "Sarah",
"job_title": "VP Sales",
"...": "..."
}
}
id and entity_id are returned and always carry the same value (the entity UUID). GET /v2/people returns only id.⌘I