Skip to content

Contacts & CRM ​

Contacts are the people in your CRM — the single source of truth every other pillar reads. Each contact has a name, a lifecycle stage, and a set of contact points (emails, phones, social handles) from which the primary email/phone is derived.

The same group covers everything built around those people: companies, deals, tasks, tickets, segments and tags.

Scope: contacts:read · contacts:write · Authentication · Pagination · Errors

Try it without a key

The five contact endpoints below run in Demo mode against an in-browser store, so you can click through a full CRUD cycle with no account at all. Everything else on this page sends a real request once you paste in a key — see the playground.

Contacts ​

List contacts ​

Return a page of contacts, newest first. Supports search (q), and filters by lifecycle stage and owner_id. Sortable on created_at, display_name, lead_score and lifecycle_stage.

GET/contacts

Return a page of contacts, newest first. Filter by search text, lifecycle stage, or owner.

Query

Demo mode answers from an in-browser store — no key, no data of yours. Switch to Live to call the real API.

curl -X GET "https://api.onivos.com/contacts?sort=created_at%3Adesc&limit=25&page=1" \
  -H "Authorization: Bearer onv_test_…"

Send the request to see the response.

Create a contact ​

Create a contact with an optional set of contact points. The primary_email and primary_phone on the returned object are derived from points — you never set them directly.

POST/contacts

Create a contact. Contact points (email/phone/social) are passed in points; the primary email/phone is derived from them.

Body

Demo mode answers from an in-browser store — no key, no data of yours. Switch to Live to call the real API.

curl -X POST "https://api.onivos.com/contacts" \
  -H "Authorization: Bearer onv_test_…" \
  -H "Content-Type: application/json" \
  -d '{
  "lifecycle_stage": "lead",
  "points": [
    {
      "kind": "email",
      "value": "[email protected]",
      "type": "work",
      "is_primary": true
    }
  ]
}'

Send the request to see the response.

Get a contact ​

Fetch one contact by id, including its contact points. A deleted or merged contact returns 404.

GET/contacts/{id}

Fetch one contact by id, including its contact points.

Path

Demo mode answers from an in-browser store — no key, no data of yours. Switch to Live to call the real API.

curl -X GET "https://api.onivos.com/contacts/175041000000000001" \
  -H "Authorization: Bearer onv_test_…"

Send the request to see the response.

Update a contact ​

Partially update a contact — send only the fields you want to change (at least one). To change stage, set lifecycle_stage.

PATCH/contacts/{id}

Partially update a contact. Send only the fields you want to change (at least one).

Path
Body

Demo mode answers from an in-browser store — no key, no data of yours. Switch to Live to call the real API.

curl -X PATCH "https://api.onivos.com/contacts/175041000000000001" \
  -H "Authorization: Bearer onv_test_…"

Send the request to see the response.

Delete a contact ​

Soft-delete a contact. It stops appearing in list reads and by-id lookups return 404.

DELETE/contacts/{id}

Soft-delete a contact. Merged/deleted contacts never surface in list reads.

Path

Demo mode answers from an in-browser store — no key, no data of yours. Switch to Live to call the real API.

curl -X DELETE "https://api.onivos.com/contacts/175041000000000001" \
  -H "Authorization: Bearer onv_test_…"

Send the request to see the response.

Contact points and identities ​

A contact point is an email, phone or social handle. Identities are the channel-level handles (a chat user id, a social profile) used to recognise the same person across channels.

POST/contacts/{id}/pointsAdd a contact point.Try it
PATCH/contacts/{id}/points/{pointId}Update a point, including promoting it to primary.Try it
DELETE/contacts/{id}/points/{pointId}Remove a point.Try it
GET/contacts/{id}/identitiesList the channel identities that resolve to this person.Try it
POST/contacts/{id}/identitiesAttach an identity.Try it
DELETE/contacts/{id}/identities/{identityId}Detach an identity.Try it

Activities, scoring and subscriptions ​

GET/contacts/{id}/activitiesThe contact's timeline.Try it
POST/contacts/{id}/activitiesLog an activity (call, note, meeting).Try it
PATCH/contacts/{id}/activities/{activityId}Edit a logged activity.Try it
DELETE/contacts/{id}/activities/{activityId}Remove a logged activity.Try it
GET/contacts/{id}/score/historyLead-score changes over time.Try it
POST/contacts/{id}/score/recomputeRe-run scoring rules for this contact.Try it
GET/contacts/{id}/subscriptionsMarketing subscription topics for this person.Try it
PATCH/contacts/{id}/subscriptionsSet subscription topics.Try it
GET/subscription-topicsThe topics available in this organization.Try it

Import, export and merge ​

POST/contacts/import/previewDry-run an import: column mapping and what would change.Try it
POST/contacts/importRun the import.Try it
GET/contacts/exportExport contacts.Try it
POST/contacts/mergeMerge duplicates into a surviving contact.Try it
GET/contacts/{id}/mergesMerge history for a contact.Try it
POST/contacts/merges/{logId}/undoUndo a merge.Try it
GET/contacts/merge-suggestionsCandidate duplicate pairs, best first.Try it
GET/contacts/merge-suggestions/countHow many suggestions are open.Try it
POST/contacts/merge-suggestions/scanRe-scan for duplicates now.Try it
POST/contacts/merge-suggestions/{id}/acceptMerge the pair.Try it
POST/contacts/merge-suggestions/{id}/dismissReject the suggestion.Try it

Lifecycle stages and settings ​

GET/lifecycle-stagesThe stage ladder.Try it
PATCH/lifecycle-stagesReconfigure the stage ladder.Try it
GET/contact-settingsModule-level settings.Try it
PATCH/contact-settingsUpdate module-level settings.Try it
GET/contacts/field-policiesField-level read/write policies per role.Try it
PUT/contacts/field-policiesReplace the policy set.Try it
DELETE/contacts/field-policies/{field}Drop a field policy.Try it
GET/scoring-rulesLead-scoring rules.Try it
POST/scoring-rulesCreate a scoring rule.Try it
PATCH/scoring-rules/{id}Update a scoring rule.Try it
DELETE/scoring-rules/{id}Delete a scoring rule.Try it

Companies ​

Companies are the B2B side of the same graph: a contact can belong to several, one of which is primary.

GET/companiesPaged list. Sortable on name, industry, created_at, contact_count; defaults to name:asc.Try it
POST/companiesCreate a company.Try it
GET/companies/{id}One company.Try it
PATCH/companies/{id}Update a company.Try it
DELETE/companies/{id}Soft-delete a company.Try it
GET/companies/{id}/contactsPeople at this company.Try it
GET/companies/{id}/rollupAggregated deal, ticket and activity figures.Try it
GET/contacts/{contactId}/companiesA person's companies.Try it
POST/contacts/{contactId}/companiesLink a person to a company.Try it
POST/contacts/{contactId}/companies/{companyId}/primaryMake that link the primary one.Try it
DELETE/contacts/{contactId}/companies/{companyId}Unlink.Try it

Deals and pipelines ​

Deals read as a board, not a page

GET /deals returns the whole pipeline: { pipeline, stages[] }, each stage carrying its deals. That is the kanban contract — it is not paged, and page/limit do not apply. Pass ?pipeline_id= to pick a pipeline; omit it for the default one.

GET/dealsThe board: pipeline, its stages, and the deals in each. Not paged.Try it
POST/dealsCreate a deal.Try it
GET/deals/{id}One deal.Try it
PATCH/deals/{id}Update a deal, including moving it to another stage.Try it
DELETE/deals/{id}Soft-delete a deal.Try it
GET/pipelinesList pipelines with their stages.Try it
POST/pipelinesCreate a pipeline.Try it
PATCH/pipelines/{id}Rename or reconfigure a pipeline.Try it
DELETE/pipelines/{id}Delete a pipeline.Try it
POST/pipelines/{id}/stagesAdd a stage.Try it
PATCH/pipelines/{id}/stages/{stageId}Rename or reorder a stage.Try it
DELETE/pipelines/{id}/stages/{stageId}Remove a stage.Try it

Tasks ​

The work layer over the CRM — a task hangs off a subject (a contact, deal, ticket or record).

GET/tasksPaged list.Try it
GET/tasks/summaryBucket counts (overdue, today, this week, later, no date, done) for the same filters.Try it
POST/tasksCreate a task.Try it
POST/tasks/bulkCreate or update several tasks in one call.Try it
GET/tasks/{id}One task.Try it
PATCH/tasks/{id}Update a task.Try it
DELETE/tasks/{id}Delete a task.Try it
GET/tasks/{id}/commentsTask discussion.Try it
POST/tasks/{id}/commentsComment on a task.Try it
PATCH/tasks/{id}/comments/{commentId}Edit your own comment.Try it
DELETE/tasks/{id}/comments/{commentId}Remove your own comment.Try it

Tickets ​

GET/ticketsPaged list. Sortable on subject, status, priority, created_at, updated_at.Try it
POST/ticketsOpen a ticket.Try it
GET/tickets/{id}One ticket.Try it
PATCH/tickets/{id}Update or close out a ticket.Try it
DELETE/tickets/{id}Delete a ticket.Try it
POST/tickets/{id}/reopenReopen a resolved ticket.Try it
POST/tickets/{id}/linksLink a conversation.Try it

Segments and tags ​

GET/segmentsPaged list. Sortable on name, member_count, updated_at, created_at.Try it
POST/segmentsCreate a segment (static list or filter-driven).Try it
GET/segments/{id}One segment.Try it
PATCH/segments/{id}Update a segment.Try it
DELETE/segments/{id}Delete a segment.Try it
POST/segments/{id}/rebuildRecompute membership now.Try it
GET/segments/{id}/membersList members.Try it
POST/segments/{id}/membersAdd members.Try it
DELETE/segments/{id}/members/{contactId}Remove a member.Try it
GET/tagsList tags.Try it
POST/tagsCreate a tag.Try it
DELETE/tags/{id}Delete a tag.Try it

Public, token-authenticated endpoints used by unsubscribe links in your outbound mail. They take a token, not an API key.

POST/consent/{token}/unsubscribeUnsubscribe.no keyTry it
POST/consent/{token}/confirmConfirm a double opt-in.no keyTry it