Skip to content

Connect anything to Omnixi CRM

Omnixi apps such as Schedule feed your CRM automatically. Anything else can do the same through the events API: two small JSON events, authenticated with a token and signed with a secret. There is no form builder or code inside the CRM to configure; your system posts an event and the person and timeline entry appear.

  1. In Omnixi CRM, open Settings → Connected apps. You need to be an admin of the workspace.
  2. Under Connect an app, choose Other (your own webhook sender) as the App and give it a short Slug, for example website or zapier. Up to 40 lower-case letters, digits, - and _, starting with a letter.
  3. Press Create link. Copy the Events URL, the Token (crml_…) and the Secret (crms_…). The token and secret are shown once; if you lose them, create the link again with the same slug. That replaces the old link, whose token stops working at once.

The slug becomes the source on everything this link sends. That is how the timeline shows where an entry came from. Start each activity type with it too (for example website.form_submitted), so entries from different senders never share a type.

Every event is one POST to the events URL with three headers and a JSON body.

Header Value
Authorization Bearer crml_… (the token)
X-Omnixi-Event-Id An id you choose for this event, stable across retries, up to 100 characters (a UUID is ideal).
X-Omnixi-Signature sha256= followed by HMAC-SHA256, hex, of the string "{event id}.{raw body}" using the secret.
Content-Type application/json

The signature covers the event id and the exact bytes of the body, joined by a dot. Sign the string you send; re-serialising the JSON afterwards will break it.

contact.upsert — “I met this person”

Section titled “contact.upsert — “I met this person””
{
"type": "contact.upsert",
"occurred_at": "2026-11-07T14:02:11Z",
"contact": {
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Doe",
"phone": null,
"job_title": "Operations lead",
"organisation_name": "Bramble Vets",
"consent": { "marketing": false, "source": "website:contact-form" }
}
}
  • email is required unless you send a crm_contact_id you were given earlier.
  • A person already in the workspace is matched by their CRM id, then by email (case does not matter).
  • A field sent as null or left out is not overwritten. The CRM never blanks a value it already holds.
  • For someone already in the workspace, an event only fills fields that are empty. It doesn’t change a name, email or phone you already hold, or their marketing consent: if the consent sent is different, the timeline shows what was sent and you decide. A person you deleted stays deleted. To overwrite details in bulk, use Import.
  • organisation_name matches or creates an organisation by name and attaches the person if they have none yet.
  • You may send one name instead of first_name and last_name. mobile can be sent alongside phone.

activity.create — “this happened to this person”

Section titled “activity.create — “this happened to this person””
{
"type": "activity.create",
"occurred_at": "2026-11-07T14:02:11Z",
"contact": { "email": "[email protected]" },
"activity": {
"type": "website.form_submitted",
"title": "Asked for a callback",
"body": "Interested in the Pro plan for 12 people.",
"source_ref": "form-submission-8812",
"link_url": "https://example.com/admin/submissions/8812",
"data": { "plan": "pro", "seats": 12 }
}
}
  • contact matches the same way and creates the person if they are not known yet. It does not update their name or phone; use contact.upsert for that.
  • activity.type is {your slug}.{something}, up to 60 characters: lower-case letters, digits and underscores, with a dot after the first part. If your slug has a -, use _ in its place here (my-site becomes my_site.form_submitted).
  • activity.title is required: it is the line the timeline shows. body is optional.
  • source_ref is your own id for the thing that happened. Sending the same source_ref and type again from the same link is a no-op, so a retry never creates a duplicate.
  • link_url must be http(s) and shows as an “open in app” link on the timeline. data is kept with the entry and never rendered raw.
  • occurred_at can be up to 60 days in the past and up to a day in the future.
Status Meaning
202 Applied. The body has event_id, contact_id (the person’s CRM id, keep it) and activity_id (null for contact.upsert).
409 This X-Omnixi-Event-Id was already applied, or the first attempt is still being applied. The body has status and, once applied, the same contact_id. Treat as success.
422 The event is malformed or the X-Omnixi-Event-Id header is missing; the body says which field. Nothing was recorded.
401 Missing, unknown or disconnected token.
403 The signature does not match. Check you signed "{event id}.{raw body}" with the secret, not the token.
429 More than 600 requests a minute on one link (events and reads count together). Back off and retry.

Send from a queue with retries if you can. A failed attempt can be retried with the same event id; a retry of an event that succeeded gets a 409 and nothing changes.

Terminal window
URL="https://crm-api.omnixi.app/api/v1/events"
TOKEN="crml_…"
SECRET="crms_…"
EVENT_ID="$(uuidgen | tr 'A-Z' 'a-z')"
BODY='{"type":"contact.upsert","occurred_at":"2026-11-07T14:02:11Z","contact":{"email":"[email protected]","first_name":"Jane","last_name":"Doe"}}'
SIG="$(printf '%s.%s' "$EVENT_ID" "$BODY" | openssl dgst -sha256 -hmac "$SECRET" | sed 's/^.* //')"
curl -s "$URL" \
-H "Authorization: Bearer $TOKEN" \
-H "X-Omnixi-Event-Id: $EVENT_ID" \
-H "X-Omnixi-Signature: sha256=$SIG" \
-H "Content-Type: application/json" \
--data-binary "$BODY"

A link can also read the workspace’s people, for a contact picker in your own tool. Links created from Connected apps carry both permissions.

Request Returns
GET /api/v1/people?q=jane Up to 20 people matching name, email or organisation.
GET /api/v1/people/{id} One person.
GET /api/v1/organisations?q=bramble and /organisations/{id} Up to 20 organisations matching name, email or website, or one organisation.

Reads need only the Authorization: Bearer header (there is no body to sign). Results come back inside data. Each person comes back as id, first_name, last_name, full_name, email, phone, mobile, job_title and organisation (id, name); each organisation as id, name, website, email and phone. Nothing from the timeline or the pipeline is readable this way.

In Settings → Connected apps, press the bin icon next to the link under Linked apps, then Disconnect app. That stops the link at once: its token gets 401 on the next request. Events it already sent stay on the timeline.