PublishAnalyticsEvents
POST/v1/analytics/publish¶ Description
Publishes analytics events, optionally batched across users. Publishing is best-effort: only events that fail validation are reported back in the response.
¶ Request Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| context | ThirdPartyRequestContext | Context of this request | Y |
| analytics_events | array<AnalyticsEvent> | A list of analytics events. Multiple events can be batched together and can be batched across users also. | Y |
¶ Response Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| failed_events | array<FailedEvent> | This field will be returned when there are failures in publishing analytics events. | N |
¶ Errors
| HTTP status | Code | Message |
|---|---|---|
| 412 | ERROR_CODE_MISSING_HEADER | A required header is missing from the request |