curl --request POST \
--url https://apix.spotzee.com/api/client/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"name": "product_viewed",
"anonymous_id": "anon-2c8a3e",
"external_id": "cust-9f4b21",
"data": {
"product_id": "sku-1024",
"value": 49.95,
"currency": "AUD"
},
"user": {
"email": "jane@example.com",
"phone": "+61400123456",
"timezone": "Australia/Sydney",
"locale": "en-AU",
"data": {
"plan": "pro"
}
},
"created_at": "2026-04-28T05:14:00.000Z"
}
]
'{}Records one or more behavioural events against a contact. Events drive segmentation and journey triggers. Up to 100 events per request — supplying both anonymous_id and external_id on an event links the two identifiers. Optionally pass a user block to update the contact’s profile in the same call.
curl --request POST \
--url https://apix.spotzee.com/api/client/events \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"name": "product_viewed",
"anonymous_id": "anon-2c8a3e",
"external_id": "cust-9f4b21",
"data": {
"product_id": "sku-1024",
"value": 49.95,
"currency": "AUD"
},
"user": {
"email": "jane@example.com",
"phone": "+61400123456",
"timezone": "Australia/Sydney",
"locale": "en-AU",
"data": {
"plan": "pro"
}
},
"created_at": "2026-04-28T05:14:00.000Z"
}
]
'{}Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Project-scoped secret API key (sk_…). Pass in the Authorization: Bearer <key> header. Grants access to the project the key was issued for.
1 - 100 elementsA single event payload. At least one of anonymous_id or external_id must be present so the event can be attributed to a contact. Supplying both links the two identifiers.
Event name. Stable, machine-readable identifier — used in segments and journey triggers.
1"product_viewed"
Anonymous tracking identifier captured before the contact was identified.
"anon-2c8a3e"
Optional system-of-record identifier — links the event to an identified contact.
"cust-9f4b21"
Optional contact-profile fields applied alongside the event. Lets a single call both record a behaviour and update the contact, avoiding a separate identify request.
Hide child attributes
Email address to associate with the contact when the event is processed.
"jane@example.com"
Phone number to associate with the contact when the event is processed.
"+61400123456"
IANA timezone to set on the contact (for example Australia/Sydney).
50"Australia/Sydney"
BCP-47 locale tag (for example en-AU).
255"en-AU"
Time the event occurred. Defaults to the server-receive time when omitted. ISO 8601.
"2026-04-28T05:14:00.000Z"
The batch was accepted for asynchronous processing.
Empty response body. Returned with HTTP 204 when an operation is accepted for processing.
Was this page helpful?