Events
Send Customer event
With this endpoint you can send customer events to Omnisend. Customer events are used to track customer behavior and trigger automations based on that behavior. You can either format and send custom customer events or use predefined events.
Scopes: events.write
Rate Limiting: This endpoint is rate limited to 400 requests per minute.
<br><a href="https://www.postman.com/omnisend-api/workspace/omnisend/overview" target="_blank">Open Postman collection</a>
post/events
Request
- Base URLhttps://api.omnisend.com/api
- URLhttps://api.omnisend.com/api/events
- Auth
- OAuth 2Client credentialsToken URL: https://app.omnisend.com/oauth2/token scopes: events.write
- or API key in header Authorization
Headers
Omnisend-Versionstring required
API version that specifies the response format and behaviour
Request body
Example request
{
"contact": {
"address": "123 Main St.",
"birthdate": "1990-01-01",
"city": "New York",
"country": "United States",
"countryCode": "US",
"email": "john.smoth@example.com",
"firstName": "John",
"lastName": "Doe",
"phone": "+1234567890",
"postalCode": "10001",
"state": "NY",
"tags": [
"tag1",
"tag2"
]
},
"eventID": "9afca57b-d157-478b-adde-b9506322b16f",
"eventName": "my custom event",
"eventTime": "2021-07-01T00:00:00Z",
"origin": "api"
}Response
Accepted
Changes
No recorded changes to this operation across all 2 revisions of this API.