curl --request POST \
--url https://api.parallellabs.app/api/v0/people/{personId}/activities \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"activityType": "<string>",
"text": "<string>",
"companyId": "<string>",
"url": "<string>",
"externalId": "<string>",
"source": "<string>",
"data": {},
"occurredAt": "<string>"
}
'import requests
url = "https://api.parallellabs.app/api/v0/people/{personId}/activities"
payload = {
"activityType": "<string>",
"text": "<string>",
"companyId": "<string>",
"url": "<string>",
"externalId": "<string>",
"source": "<string>",
"data": {},
"occurredAt": "<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({
activityType: '<string>',
text: '<string>',
companyId: '<string>',
url: '<string>',
externalId: '<string>',
source: '<string>',
data: {},
occurredAt: '<string>'
})
};
fetch('https://api.parallellabs.app/api/v0/people/{personId}/activities', 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.parallellabs.app/api/v0/people/{personId}/activities",
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([
'activityType' => '<string>',
'text' => '<string>',
'companyId' => '<string>',
'url' => '<string>',
'externalId' => '<string>',
'source' => '<string>',
'data' => [
],
'occurredAt' => '<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.parallellabs.app/api/v0/people/{personId}/activities"
payload := strings.NewReader("{\n \"activityType\": \"<string>\",\n \"text\": \"<string>\",\n \"companyId\": \"<string>\",\n \"url\": \"<string>\",\n \"externalId\": \"<string>\",\n \"source\": \"<string>\",\n \"data\": {},\n \"occurredAt\": \"<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.parallellabs.app/api/v0/people/{personId}/activities")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"activityType\": \"<string>\",\n \"text\": \"<string>\",\n \"companyId\": \"<string>\",\n \"url\": \"<string>\",\n \"externalId\": \"<string>\",\n \"source\": \"<string>\",\n \"data\": {},\n \"occurredAt\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/people/{personId}/activities")
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 \"activityType\": \"<string>\",\n \"text\": \"<string>\",\n \"companyId\": \"<string>\",\n \"url\": \"<string>\",\n \"externalId\": \"<string>\",\n \"source\": \"<string>\",\n \"data\": {},\n \"occurredAt\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"personId": "<string>",
"activityType": "<string>",
"text": "<string>",
"url": "<string>",
"externalId": "<string>",
"source": "<string>",
"data": {},
"occurredAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Append a text activity to a resolved person.
When both source and externalId are supplied, repeated requests are
idempotent and return the original activity instead of adding a duplicate.
curl --request POST \
--url https://api.parallellabs.app/api/v0/people/{personId}/activities \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"activityType": "<string>",
"text": "<string>",
"companyId": "<string>",
"url": "<string>",
"externalId": "<string>",
"source": "<string>",
"data": {},
"occurredAt": "<string>"
}
'import requests
url = "https://api.parallellabs.app/api/v0/people/{personId}/activities"
payload = {
"activityType": "<string>",
"text": "<string>",
"companyId": "<string>",
"url": "<string>",
"externalId": "<string>",
"source": "<string>",
"data": {},
"occurredAt": "<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({
activityType: '<string>',
text: '<string>',
companyId: '<string>',
url: '<string>',
externalId: '<string>',
source: '<string>',
data: {},
occurredAt: '<string>'
})
};
fetch('https://api.parallellabs.app/api/v0/people/{personId}/activities', 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.parallellabs.app/api/v0/people/{personId}/activities",
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([
'activityType' => '<string>',
'text' => '<string>',
'companyId' => '<string>',
'url' => '<string>',
'externalId' => '<string>',
'source' => '<string>',
'data' => [
],
'occurredAt' => '<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.parallellabs.app/api/v0/people/{personId}/activities"
payload := strings.NewReader("{\n \"activityType\": \"<string>\",\n \"text\": \"<string>\",\n \"companyId\": \"<string>\",\n \"url\": \"<string>\",\n \"externalId\": \"<string>\",\n \"source\": \"<string>\",\n \"data\": {},\n \"occurredAt\": \"<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.parallellabs.app/api/v0/people/{personId}/activities")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"activityType\": \"<string>\",\n \"text\": \"<string>\",\n \"companyId\": \"<string>\",\n \"url\": \"<string>\",\n \"externalId\": \"<string>\",\n \"source\": \"<string>\",\n \"data\": {},\n \"occurredAt\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/people/{personId}/activities")
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 \"activityType\": \"<string>\",\n \"text\": \"<string>\",\n \"companyId\": \"<string>\",\n \"url\": \"<string>\",\n \"externalId\": \"<string>\",\n \"source\": \"<string>\",\n \"data\": {},\n \"occurredAt\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"personId": "<string>",
"activityType": "<string>",
"text": "<string>",
"url": "<string>",
"externalId": "<string>",
"source": "<string>",
"data": {},
"occurredAt": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.
Path Parameters
Body
A custom person activity
Activity category used for display. Recommended values: note, call, meeting, email, message, task, event, research; custom values are allowed.
Human-readable activity text
Company ID. Required for PAK/API key auth; optional for JWT auth.
Optional related URL
Optional source-system activity ID. Deduplicates when source is also supplied.
Optional source-system name. Used with externalId as an idempotency key.
Optional source-specific JSON object, such as accountId or provider metadata
Optional ISO-8601 timestamp for when the activity occurred. Must include a UTC offset; defaults to the creation time when omitted.
Response
Custom activity added to the person
A custom activity attached to a resolved person
Activity ID
Resolved person ID
Activity category; can be a recommended or custom value
Human-readable activity text
Related URL, when supplied
Source-system activity ID, when supplied
Source-system name, when supplied
Source-specific JSON object
UTC ISO-8601 occurrence timestamp; falls back to createdAt for legacy or authored activities
UTC ISO-8601 creation timestamp
UTC ISO-8601 update timestamp

