➡️Custom Events API
For more detailed understanding of how users interact with your application, you can track custom events across your application by sending us Custom Events via our API at https://spindl.link/events/server.
To do this, you will need:
Spindl API Key
Properly Formatted events (you can send individual event or an array)
for each event, you can define an object:
Below are several examples for sending an array of events to our API:
Send Custom Events
POST
https://spindl.link/events/server
Sending Custom events via API
Headers
Name | Type | Description |
---|---|---|
X-API-Key* | String | The API token |
Request Body
Name | Type | Description |
---|---|---|
* | Array | array of events is required to be passed in. Please pass in a array of objects with the following keys: type (required): string use "CUSTOM" here name (required): string Min 3 & max 100 characters. Must be lower/uppercase alphanumeric. properties (optional): Object Must be a valid JSON object. Max size 16KB & object keys & values cannot exceed 1,000 characters identity: { address: string (required) customerUserId: string (required)
} : either
These identifiers are very important part of stitching identities and providing accurate attribution. |
Last updated