Contacts
The CRM: contacts, the pipeline and activity.
- GET
/sites/{siteId}/contactsList contacts - POST
/sites/{siteId}/contactsAdd a contact - GET
/sites/{siteId}/contacts/{contactId}Get a contact - PATCH
/sites/{siteId}/contacts/{contactId}Change a contact - DEL
/sites/{siteId}/contacts/{contactId}Delete a contact - POST
/sites/{siteId}/contacts/{contactId}/notesAdd a note - GET
/sites/{siteId}/pipelineGet the pipeline - GET
/sites/{siteId}/activityRecent activity
List contacts
/sites/{siteId}/contactsContacts, most recently active first. Search name, email and company with q; filter by stage or tag.
Path parameters
siteIdstringrequiredThe site’s id.
Query parameters
limitintegerHow many to return (default 50).
min 1 · max 200
cursorstringThe cursor from the previous page.
qstringstagestringtagstring
Response 200
itemsarray of objectsrequired13 child fields
idstringrequiredemailstringrequirednamestringcompanystringphonestringstagestringrequiredtagsarray of stringsrequiredscorenumberrequiredsourcestringdataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
updatedAtstringrequiredAn ISO 8601 timestamp.
lastActivityAtstringAn ISO 8601 timestamp.
cursorstringnullablePass as ?cursor= to get the next page. Null when there are no more.
totalintegerHow many there are in all, when the list knows.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/contacts \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/contacts', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/contacts",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "con_123",
"email": "sam@example.com",
"name": "Ana",
"company": "Rivera & Co",
"phone": "+44 1326 555010",
"stage": "lead",
"tags": [],
"score": 10,
"source": "website",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z",
"updatedAt": "2026-11-20T08:00:00.000Z",
"lastActivityAt": "2026-11-20T08:00:00.000Z"
}
],
"cursor": null,
"total": 1
}Add a contact
/sites/{siteId}/contactsAdd a person to the CRM. The email must be new to this site.
Path parameters
siteIdstringrequiredThe site’s id.
Headers
Idempotency-KeystringSend the same key to repeat this request safely; the first answer is replayed for 24 hours.
up to 200 characters
Request body JSON
emailstringrequiredemail
namestringup to 200 characters
companystringup to 200 characters
phonestringup to 60 characters
stagestringA pipeline stage id from GET /sites/{siteId}/pipeline.
up to 40 characters
tagsarray of stringsup to 30 items
scoreintegersourcestringup to 100 characters
dataobjectExtra details. Merged into what is stored.
Response 201
idstringrequiredemailstringrequirednamestringcompanystringphonestringstagestringrequiredtagsarray of stringsrequiredscorenumberrequiredsourcestringdataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
updatedAtstringrequiredAn ISO 8601 timestamp.
lastActivityAtstringAn ISO 8601 timestamp.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/sites/site_123/contacts \
-H "Authorization: Bearer $UNVOP_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"email": "sam@example.com"
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/contacts', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': crypto.randomUUID(),
},
body: JSON.stringify({
email: "sam@example.com"
}),
});
const data = await res.json();import os, requests, uuid
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/contacts",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}", "Idempotency-Key": str(uuid.uuid4())},
json={
"email": "sam@example.com",
},
)
data = res.json(){
"id": "con_123",
"email": "sam@example.com",
"name": "Ana",
"company": "Rivera & Co",
"phone": "+44 1326 555010",
"stage": "lead",
"tags": [],
"score": 10,
"source": "website",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z",
"updatedAt": "2026-11-20T08:00:00.000Z",
"lastActivityAt": "2026-11-20T08:00:00.000Z"
}Get a contact
/sites/{siteId}/contacts/{contactId}A contact with their activity, form submissions and payments.
Path parameters
siteIdstringrequiredThe site’s id.
contactIdstringrequired
Response 200
contactobjectrequiredA person in the CRM.
13 child fields
idstringrequiredemailstringrequirednamestringcompanystringphonestringstagestringrequiredtagsarray of stringsrequiredscorenumberrequiredsourcestringdataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
updatedAtstringrequiredAn ISO 8601 timestamp.
lastActivityAtstringAn ISO 8601 timestamp.
activitiesarray of objectsrequired5 child fields
idstringrequiredcontactIdstringrequiredtypestringrequiredsummarystringrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
submissionsarray of objectsrequired6 child fields
idstringrequiredformIdstringrequiredformNamestringcontactIdstringnullabledataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
paymentsarray of objectsrequired7 child fields
idstringrequiredamountnumberrequiredIn minor units (cents).
currencystringrequiredstatusstringrequiredmodestringrequiredOne of
paymentsubscriptioncontactEmailstringcreatedAtstringrequiredAn ISO 8601 timestamp.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/contacts/con_123 \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/contacts/con_123', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/contacts/con_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"contact": {
"id": "con_123",
"email": "sam@example.com",
"name": "Ana",
"company": "Rivera & Co",
"phone": "+44 1326 555010",
"stage": "lead",
"tags": [],
"score": 10,
"source": "website",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z",
"updatedAt": "2026-11-20T08:00:00.000Z",
"lastActivityAt": "2026-11-20T08:00:00.000Z"
},
"activities": [
{
"id": "act_123",
"contactId": "con_123",
"type": "richText",
"summary": "…",
"createdAt": "2026-11-20T08:00:00.000Z"
}
],
"submissions": [
{
"id": "sub_123",
"formId": "frm_123",
"contactId": "con_123",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z"
}
],
"payments": [
{
"id": "pay_123",
"amount": 49900,
"currency": "nzd",
"status": "…",
"mode": "payment",
"contactEmail": "sam@example.com",
"createdAt": "2026-11-20T08:00:00.000Z"
}
]
}Change a contact
/sites/{siteId}/contacts/{contactId}Change a contact’s details, stage, tags or score. Moving stage is logged in their activity.
Path parameters
siteIdstringrequiredThe site’s id.
contactIdstringrequired
Request body JSON
emailstringemail
namestringup to 200 characters
companystringup to 200 characters
phonestringup to 60 characters
stagestringA pipeline stage id from GET /sites/{siteId}/pipeline.
up to 40 characters
tagsarray of stringsup to 30 items
scoreintegersourcestringup to 100 characters
dataobjectExtra details. Merged into what is stored.
Response 200
idstringrequiredemailstringrequirednamestringcompanystringphonestringstagestringrequiredtagsarray of stringsrequiredscorenumberrequiredsourcestringdataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
updatedAtstringrequiredAn ISO 8601 timestamp.
lastActivityAtstringAn ISO 8601 timestamp.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X PATCH https://api.unvop.com/v1/sites/site_123/contacts/con_123 \
-H "Authorization: Bearer $UNVOP_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "sam@example.com",
"name": "Ana"
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/contacts/con_123', {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
email: "sam@example.com",
name: "Ana"
}),
});
const data = await res.json();import os, requests
res = requests.patch(
"https://api.unvop.com/v1/sites/site_123/contacts/con_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
json={
"email": "sam@example.com",
"name": "Ana",
},
)
data = res.json(){
"id": "con_123",
"email": "sam@example.com",
"name": "Ana",
"company": "Rivera & Co",
"phone": "+44 1326 555010",
"stage": "lead",
"tags": [],
"score": 10,
"source": "website",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z",
"updatedAt": "2026-11-20T08:00:00.000Z",
"lastActivityAt": "2026-11-20T08:00:00.000Z"
}Delete a contact
/sites/{siteId}/contacts/{contactId}Delete a contact and their activity.
Path parameters
siteIdstringrequiredThe site’s id.
contactIdstringrequired
Response 200
oktruerequired
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl -X DELETE https://api.unvop.com/v1/sites/site_123/contacts/con_123 \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/contacts/con_123', {
method: 'DELETE',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.delete(
"https://api.unvop.com/v1/sites/site_123/contacts/con_123",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"ok": true
}Add a note
/sites/{siteId}/contacts/{contactId}/notesAdd a note to a contact’s activity.
Path parameters
siteIdstringrequiredThe site’s id.
contactIdstringrequired
Request body JSON
textstringrequiredat least 1 characters · up to 5,000 characters
Response 201
idstringrequiredcontactIdstringrequiredtypestringrequiredsummarystringrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itSends a real request. Asks before it changes anything.
curl https://api.unvop.com/v1/sites/site_123/contacts/con_123/notes \
-H "Authorization: Bearer $UNVOP_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Called back about the Open Water course."
}'const res = await fetch('https://api.unvop.com/v1/sites/site_123/contacts/con_123/notes', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
text: "Called back about the Open Water course."
}),
});
const data = await res.json();import os, requests
res = requests.post(
"https://api.unvop.com/v1/sites/site_123/contacts/con_123/notes",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
json={
"text": "Called back about the Open Water course.",
},
)
data = res.json(){
"id": "con_123",
"contactId": "con_123",
"type": "richText",
"summary": "…",
"createdAt": "2026-11-20T08:00:00.000Z"
}Get the pipeline
/sites/{siteId}/pipelineThe site’s pipeline stages (New lead, Qualified, Call booked…) and its contacts (up to 1000) to place in them.
Path parameters
siteIdstringrequiredThe site’s id.
Response 200
stagesarray of objectsrequired2 child fields
idstringrequiredlabelstringrequired
contactsarray of objectsrequired13 child fields
idstringrequiredemailstringrequirednamestringcompanystringphonestringstagestringrequiredtagsarray of stringsrequiredscorenumberrequiredsourcestringdataobjectrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
updatedAtstringrequiredAn ISO 8601 timestamp.
lastActivityAtstringAn ISO 8601 timestamp.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/pipeline \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/pipeline', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/pipeline",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"stages": [
{
"id": "id_123",
"label": "Role"
}
],
"contacts": [
{
"id": "con_123",
"email": "sam@example.com",
"name": "Ana",
"company": "Rivera & Co",
"phone": "+44 1326 555010",
"stage": "lead",
"tags": [],
"score": 10,
"source": "website",
"data": {
"title": "Ana",
"role": "Guide"
},
"createdAt": "2026-11-20T08:00:00.000Z",
"updatedAt": "2026-11-20T08:00:00.000Z",
"lastActivityAt": "2026-11-20T08:00:00.000Z"
}
]
}Recent activity
/sites/{siteId}/activityWhat happened across the CRM, newest first: form submissions, notes, emails, stage moves, payments.
Path parameters
siteIdstringrequiredThe site’s id.
Query parameters
limitintegermin 1 · max 200
Response 200
itemsarray of objectsrequired5 child fields
idstringrequiredcontactIdstringrequiredtypestringrequiredsummarystringrequiredcreatedAtstringrequiredAn ISO 8601 timestamp.
Errors
- 401No key, or the key isn’t valid.
- 403The key lacks the scope (insufficient_scope) or the role this needs, or the site’s plan lacks the feature (feature_not_in_plan).
- 404Not found, or not reachable with this key.
- 422The body is invalid; details say which values.
- 429Too many requests; wait for RateLimit-Reset seconds.
Try itRead-only. Sends a real request with your key.
curl https://api.unvop.com/v1/sites/site_123/activity \
-H "Authorization: Bearer $UNVOP_KEY"const res = await fetch('https://api.unvop.com/v1/sites/site_123/activity', {
headers: {
Authorization: `Bearer ${process.env.UNVOP_KEY}`,
},
});
const data = await res.json();import os, requests
res = requests.get(
"https://api.unvop.com/v1/sites/site_123/activity",
headers={"Authorization": f"Bearer {os.environ['UNVOP_KEY']}"},
)
data = res.json(){
"items": [
{
"id": "act_123",
"contactId": "con_123",
"type": "richText",
"summary": "…",
"createdAt": "2026-11-20T08:00:00.000Z"
}
]
}