Upload events (HTTP V2)
Changed onSend events to Amplitude in real time. Requests are limited to 1 MB.
Retrying safely. Idempotency is per event, not per request, and is keyed on insert_id — Amplitude does not honour an Idempotency-Key header. Set a stable insert_id on every event before the first attempt and reuse it verbatim on retries; Amplitude discards an event whose insert_id matches one already seen for that device_id within the last 7 days. Without it, a retry after a network timeout double-counts every event in the payload, because a request that timed out may still have been ingested.
Request
- Base URLhttps://api2.amplitude.com
- Authnone required
Request body
Response
Events accepted.
Changes
- breaking
the response's body type changed from
objecttoobjectstringfor status - breaking
the response's body type changed from
objecttoobjectstringfor status - breaking
the response's body type changed from
objecttoobjectstringfor status - breaking
the response's body type changed from
objecttoobjectstringfor status - breaking
the response's body type changed from
objecttoobjectstringfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking