For information about how REST API works, see rest main page.
Read-only log of tracked events — the custom events and goal events your site reports to Personyze, one row per occurrence.
The endpoint URL is:
app.personyze.com/rest/events
GET only. Events are recorded by the tracker; to report one, use the client-side API rather than this object.
Columns
| Column | Description |
|---|---|
id |
Identifier of the event record. |
time |
When it happened, Unix timestamp. |
user_id |
The user who triggered it. |
visit_id |
The page view it happened on. |
first_visit_id |
The session it belongs to — join to sessions on this. |
container_id |
Which configured event this is. Event containers are defined in the panel. |
value |
The value carried by the event, when it has one. |
Select example
Everything a user did:
curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/events/where/user_id=123/order_by_desc/time'
One event type over a time range:
curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/events/where/container_id=17&time>=1769904000/limit/1000'
Performance
Constrain by user_id or by a time range and page with limit — this table grows quickly. See errors and limits.