curl --request POST \
--url https://api.operate.so/v/alpha/people/create \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "john.doe@example.com",
"full_name": "<string>",
"cue": "<string>",
"timezone": "<string>",
"titles": [
{
"title": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_index": 500
}
],
"location": "<string>"
}
'import requests
url = "https://api.operate.so/v/alpha/people/create"
payload = {
"email": "john.doe@example.com",
"full_name": "<string>",
"cue": "<string>",
"timezone": "<string>",
"titles": [
{
"title": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_index": 500
}
],
"location": "<string>"
}
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({
email: 'john.doe@example.com',
full_name: '<string>',
cue: '<string>',
timezone: '<string>',
titles: [
{
title: '<string>',
company_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
order_index: 500
}
],
location: '<string>'
})
};
fetch('https://api.operate.so/v/alpha/people/create', 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.operate.so/v/alpha/people/create",
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' => 'john.doe@example.com',
'full_name' => '<string>',
'cue' => '<string>',
'timezone' => '<string>',
'titles' => [
[
'title' => '<string>',
'company_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'order_index' => 500
]
],
'location' => '<string>'
]),
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.operate.so/v/alpha/people/create"
payload := strings.NewReader("{\n \"email\": \"john.doe@example.com\",\n \"full_name\": \"<string>\",\n \"cue\": \"<string>\",\n \"timezone\": \"<string>\",\n \"titles\": [\n {\n \"title\": \"<string>\",\n \"company_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"order_index\": 500\n }\n ],\n \"location\": \"<string>\"\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.operate.so/v/alpha/people/create")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@example.com\",\n \"full_name\": \"<string>\",\n \"cue\": \"<string>\",\n \"timezone\": \"<string>\",\n \"titles\": [\n {\n \"title\": \"<string>\",\n \"company_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"order_index\": 500\n }\n ],\n \"location\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.operate.so/v/alpha/people/create")
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 \"email\": \"john.doe@example.com\",\n \"full_name\": \"<string>\",\n \"cue\": \"<string>\",\n \"timezone\": \"<string>\",\n \"titles\": [\n {\n \"title\": \"<string>\",\n \"company_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"order_index\": 500\n }\n ],\n \"location\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyCreate a person
Creates a new person/contact with the provided details. Email addresses, titles, and location are automatically processed.
curl --request POST \
--url https://api.operate.so/v/alpha/people/create \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"email": "john.doe@example.com",
"full_name": "<string>",
"cue": "<string>",
"timezone": "<string>",
"titles": [
{
"title": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_index": 500
}
],
"location": "<string>"
}
'import requests
url = "https://api.operate.so/v/alpha/people/create"
payload = {
"email": "john.doe@example.com",
"full_name": "<string>",
"cue": "<string>",
"timezone": "<string>",
"titles": [
{
"title": "<string>",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order_index": 500
}
],
"location": "<string>"
}
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({
email: 'john.doe@example.com',
full_name: '<string>',
cue: '<string>',
timezone: '<string>',
titles: [
{
title: '<string>',
company_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
order_index: 500
}
],
location: '<string>'
})
};
fetch('https://api.operate.so/v/alpha/people/create', 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.operate.so/v/alpha/people/create",
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' => 'john.doe@example.com',
'full_name' => '<string>',
'cue' => '<string>',
'timezone' => '<string>',
'titles' => [
[
'title' => '<string>',
'company_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'order_index' => 500
]
],
'location' => '<string>'
]),
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.operate.so/v/alpha/people/create"
payload := strings.NewReader("{\n \"email\": \"john.doe@example.com\",\n \"full_name\": \"<string>\",\n \"cue\": \"<string>\",\n \"timezone\": \"<string>\",\n \"titles\": [\n {\n \"title\": \"<string>\",\n \"company_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"order_index\": 500\n }\n ],\n \"location\": \"<string>\"\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.operate.so/v/alpha/people/create")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"john.doe@example.com\",\n \"full_name\": \"<string>\",\n \"cue\": \"<string>\",\n \"timezone\": \"<string>\",\n \"titles\": [\n {\n \"title\": \"<string>\",\n \"company_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"order_index\": 500\n }\n ],\n \"location\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.operate.so/v/alpha/people/create")
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 \"email\": \"john.doe@example.com\",\n \"full_name\": \"<string>\",\n \"cue\": \"<string>\",\n \"timezone\": \"<string>\",\n \"titles\": [\n {\n \"title\": \"<string>\",\n \"company_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"order_index\": 500\n }\n ],\n \"location\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
API key for authentication. Obtain from your Operate dashboard.
Body
Email address(es) for the person
"john.doe@example.com"
Full name of the person
1"John Doe"
"Jane Smith"
A brief note or reminder about the person (max 280 characters)
280"Follow up about project proposal"
"Met at conference last week"
IANA timezone name, alternative name, or abbreviation. Examples: 'America/New_York', 'Eastern Time', 'EST', 'UTC'. See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for full list.
"America/New_York"
"Eastern Time"
"EST"
"UTC"
"Pacific Time"
"PST"
Job titles and roles for this person
Show child attributes
Show child attributes
[
{
"title": "Software Engineer",
"company_id": "123e4567-e89b-12d3-a456-426614174000",
"order_index": 0
}
]
Location display string (e.g., 'Seattle, WA', 'New York, NY')
"Seattle, WA"
"New York, NY"
"San Francisco, CA"
Response
Successful response