List contact events (Preview)
Preview · Available to selected organizations. Returns custom and Samva lifecycle events, newest occurrence first, within the 90-day retention window. Pass nextCursor back as cursor for the next page.
Returns custom and Samva lifecycle events, newest occurrence first, within the 90-day retention window. Pass nextCursor back as cursor for the next page.
apiKeyx-api-key<token>id*string^contact_[0-9a-hjkmnp-tv-z]{16,24}$limit?|nullcursor?stringContactEventPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });const result = await samva.contacts.listEvents({ "id": "example"});{ "items": [ { "id": "string", "contactId": "string", "name": "string", "source": "api", "properties": { "property1": "string", "property2": "string" }, "occurredAt": "string", "recordedAt": "string" } ], "nextCursor": "string"}Related documentation
Record a contact event (Preview)
Preview · Available to selected organizations. Records a custom contact event. Identify the contact by exactly one ID, external ID, or email.
Archive a journey (Preview)
Preview · Available to selected organizations. Stops new enrollment for good and exits every live run with exit reason archived. An archived journey cannot be edited, published, or resumed.