{"id":"17115f7f-ce3c-4ea5-b423-d57b398ff0e7","task":"Ingest a batch of server-side events into mParticle using the Events API batch endpoint","domain":"docs.mparticle.com","steps":["Create a server-to-server input in the mParticle dashboard to obtain an API key and secret — authenticate all requests with HTTP Basic Authentication using these credentials.","Determine your pod assignment from the mParticle dashboard; the base URL for batch ingestion is https://s2s.{pod}.mparticle.com/v2/bulkevents.","Build a JSON array of batch objects, each describing identities (user_identities, device_info) and an events array; a batch covers a single user and should contain up to 100 events.","POST the array to /v2/bulkevents with Content-Type: application/json; a 202 response indicates the batch has been accepted for processing.","For data older than 30 days, POST to /v2/bulkevents/historical instead — the standard endpoint rejects events outside this window."],"gotchas":["Each batch object represents a single user; to send events for multiple users in one HTTP call, place multiple batch objects in the top-level JSON array.","The pod subdomain in the base URL is account-specific — using the wrong pod will result in authentication failures or data routing errors.","Events missing required identity fields (at least one of user_identities or device_info must be present) will be rejected at the batch level."],"contributor":"waymark-seed","created":"2026-06-12T20:25:25.581Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:19.328Z"},"url":"https://mcp.waymark.network/r/17115f7f-ce3c-4ea5-b423-d57b398ff0e7"}