Data Subject Request API Version 1 and 2
Data Subject Request API Version 3
Key Management
Platform API Overview
Accounts
Apps
Audiences
Calculated Attributes
Data Points
Feeds
Field Transformations
Services
Users
Workspaces
Warehouse Sync API Overview
Warehouse Sync API Tutorial
Warehouse Sync API Reference
Data Mapping
Warehouse Sync SQL Reference
Warehouse Sync Troubleshooting Guide
ComposeID
Warehouse Sync API v2 Migration
Audit Logs API
Bulk Profile Deletion API Reference
Calculated Attributes Seeding API
Custom Access Roles API
Data Planning API
Household Reach API Reference
Profile API
Pixel Service
Events API
mParticle JSON Schema Reference
IDSync
AMP SDK
Direct URL Routing FAQ
Web
Android
iOS
Initialization
Configuration
Network Security Configuration
Event Tracking
User Attributes
IDSync
Screen Events
Commerce Events
Location Tracking
Media
Kits
Application State and Session Management
Data Privacy Controls
Error Tracking
Opt Out
Push Notifications
WebView Integration
Logger
Preventing Blocked HTTP Traffic with CNAME
Workspace Switching
Linting Data Plans
Troubleshooting the Android SDK
API Reference
Upgrade to Version 5
Upgrade to Version 6
Workspace Switching
Initialization
Configuration
Event Tracking
User Attributes
IDSync
Screen Tracking
Commerce Events
Location Tracking
Media
Kits
Application State and Session Management
Data Privacy Controls
Error Tracking
Opt Out
Push Notifications
Webview Integration
Upload Frequency
Preventing Blocked HTTP Traffic with CNAME
Linting Data Plans
Troubleshooting iOS SDK
Social Networks
iOS 14 Guide
iOS 15 FAQ
iOS 16 FAQ
iOS 17 FAQ
iOS 18 FAQ
API Reference
Upgrade to Version 7
Upgrade to Version 9
Getting Started
Identity
Upgrade to Version 4
Getting Started
Identity
Upload Frequency
Getting Started
Opt Out
Initialize the SDK
Event Tracking
Commerce Tracking
Error Tracking
Screen Tracking
Identity
Location Tracking
Session Management
Initialization
Configuration
Content Security Policy
Event Tracking
User Attributes
IDSync
Page View Tracking
Commerce Events
Location Tracking
Media
Kits
Application State and Session Management
Data Privacy Controls
Error Tracking
Opt Out
Custom Logger
Persistence
Native Web Views
Self-Hosting
Multiple Instances
Web SDK via Google Tag Manager
Preventing Blocked HTTP Traffic with CNAME
Facebook Instant Articles
Troubleshooting the Web SDK
Browser Compatibility
Linting Data Plans
API Reference
Upgrade to Version 3 of the SDK
Alexa
Introduction
Outbound Integrations
Firehose Java SDK
Inbound Integrations
Compose ID
Migrate from Segment to mParticle
Migrate from Segment to Client-side mParticle
Migrate from Segment to Server-side mParticle
Segment-to-mParticle Migration Reference
Data Hosting Locations
Glossary
Rules Developer Guide
Overview
Step 1. Create an input
Step 2. Verify your input
Step 3. Set up your output
Step 4. Create a connection
Step 5. Verify your connection
Step 6. Track events
Step 7. Track user data
Step 8. Create a data plan
Step 9. Test your local app
Overview
Step 1. Create an input
Step 2. Verify your input
Step 3. Set up your output
Step 4. Create a connection
Step 5. Verify your connection
Step 6. Track events
Step 7. Track user data
Step 8. Create a data plan
Step 1. Create an input
Step 2. Create an output
Step 3. Verify output
Node SDK
Go SDK
Python SDK
Ruby SDK
Java SDK
API Credential Management
The Developer's Guided Journey to mParticle
Introduction
Navigating mParticle
The Overview Map
Create an Input
Start capturing data
Connect an Event Output
Create an Audience
Connect an Audience Output
Transform and Enhance Your Data
Overview
Explore Your Data
Build Audiences
Create Predictions
Data and Privacy
mParticle Agent FAQ
System Alerts
Trends
Connections
Feeds
Import Data with CSV Files
CSV File Reference
SFTP Credentials
Live Stream
Data Catalog
Rules
Plans
Filters
Event Forwarding
Event Match Quality
Data Retention
Tiered Events
Blocked Data Backfill Guide
Warehouse Setup Overview
Overview
Overview
User Profiles
Identity Dashboard
Identity Resolution Log
Household Reach
Calculated Attributes Overview
Using Calculated Attributes
Create with AI Assistance
Calculated Attributes Reference
Predictions Overview
What's Changed in the New Predictions UI
View and Manage Predictions
Future Behavior Predictions Overview
Create Future Behavior Prediction
Manage Future Behavior Predictions
Create an Audience with Future Behavior Predictions
IDSync Overview
Use Cases for IDSync
Components of IDSync
Store and Organize User Data
Identify Users
Default IDSync Configuration
Profile Conversion Strategy
Profile Link Strategy
Profile Isolation Strategy
Best Match Strategy
Aliasing
Overview
Real-Time Personalization
Audiences Overview
Create an Audience
Connect an Audience
Manage Audiences
Audience Insights
Audience Sharing
Match Boost
Inclusive & Exclusive Audiences Overview
Using Logic Blocks in Audiences
Combining Inclusive and Exclusive Audiences
Inclusive & Exclusive Audiences FAQ
Audience Expansion
Probabilistic Reach
Predictive Audiences Overview
Using Predictive Audiences
Composable Audiences Overview
User Guide Overview
Audience Setup
Frequently Asked Questions
Troubleshooting mParticle
Default Service Limits
Glossary
Event
Audience
Audience
Feed
Event
Audience
Cookie Sync
Platform SDK Events
Server-to-Server Events
Audience
Audience
Event
Audience
Feed
Event
Event
Event
Event
Data Warehouse
Event
Audience
Feed
Event
Event
Event
Audience
Event
Event
Event
Event
Feed
Event
Event
Event
Audience
Feed
Event
Event
Event
Custom Feed
Event
Data Warehouse
Event
Audience
Audience
Audience
Event
Audience
Event
Event
Event
Event
Event
Audience
Audience
Event
Event
Audience
Data Warehouse
Event
Event
Event
Audience
Cookie Sync
Event
Event
Event
Feed
Event
Feed
Event
Event
Event
Kit
Audience
Event
Audience
Event
Event
Event
Event
Feed
Audience
Event
Audience
Event
Event
Audience
Audience
Audience
Microsoft Ads Audience Integration
Audience
Event
Audience
Event
Event
Event
Event
Feed
Event
Event
Event
Event
Feed
Event
Audience
Event
Event
Event
Event
Event
Feed
Event
Event
Event
Event
Event
Audience
Event
Event
Event
Custom Pixel
Feed
Audience
Event
Event
Event
Audience
Data Warehouse
Event
Event
Event
Audience
Audience
Audience
Event
Loyalty Feed
Feed
Event
Audience
Audience
Audience
Feed
Cookie Sync
Audience
Event
Audience
Event
Audience
Event
Audience
Audience
Event
Event
Event
Event
Feed
Audience
Cookie Sync
Audience
Audience
Cookie Sync
The Webhook integration sends your event data to an HTTP endpoint that you control. After you enable it, mParticle sends HTTP POST requests to your endpoint with user events from your connected inputs, such as iOS and Android apps, websites, and server-to-server feeds.
mParticle will forward data to your http endpoint as fast as we receive it. In the event of a timeout or non-fatal error response, mParticle will attempt a limited number of retries in an exponential backoff pattern.
In order to enable mParticle’s integration with Webhook, you will need to have an endpoint that can capture the event data that will be sent to you, via POSTs from mParticle servers.
Optionally, as part of the Configuration Settings, you can provide an authorization header value for mParticle to use to access your Webhook endpoint. For example, for a simple basic auth header, provide:
Basic <base64 encoded string of "username:password">You can use any standard HTTP auth format you wish, as long as you provide the correct header value.
You can add one custom HTTP header to every POST request, such as an API key header that your endpoint requires. Enter the header’s name in Custom Header Name and its value in Custom Header Value. mParticle encrypts the value when you save the configuration and masks it after saving.
The custom header must meet these rules, or the configuration won’t save:
Allow, Authorization, Connection, Cookie, Expect, Expires, Forwarded, Host, If-Modified-Since, Keep-Alive, Last-Modified, Range, TE, Trailer, Transfer-Encoding, Upgrade, or User-Agent.Content-, Proxy-, X-Forwarded-, or X-Amz-.To set the Authorization or User-Agent header, use the Authorization Header or User Agent setting instead.
The JSON documentation describes the format data will be delivered to your endpoint.
| Setting Name | Data Type | Default Value | Description |
|---|---|---|---|
| POST URL | string |
The URL to POST your events to, including scheme (‘HTTP’ or ‘HTTPS’) | |
| Authorization Header | string |
The HTTP Authorization Header to include with the POST request | |
| User Agent | string |
The HTTP User-Agent header to include with the POST request. | |
| Custom Header Name | string |
The name of a custom HTTP header to include with every POST request, such as X-Api-Key. Requires Custom Header Value. See Custom Header for the rules this header must meet. |
|
| Custom Header Value | string |
The value of the custom HTTP header. mParticle encrypts it when you save the configuration and masks it after saving. Requires Custom Header Name. | |
| Include MP DeviceId | bool |
False | If enabled, MP DeviceId will be forwarded with event batches. |
| Setting Name | Data Type | Default Value | Platform | Description |
|---|---|---|---|---|
| Unique ID | string |
All | An optional string identifier for your app that will be forwarded with each event batch. Standard app identifiers (Apple OS Bundle ID, Android Package Name) will be forwarded regardless of this setting. | |
| Metadata Field Exclusion | Custom Field |
All | A way to exclude specific fields of metadata properties (Device Name or IP Address) in the output. | |
| Send as Batch | bool |
False | All | If enabled, this setting will cause your app’s events to be sent in (roughly) 10-minute batches per device. If disabled, mParticle will POST each event to you individually, as its received. This setting is ignored if “Wait for Complete Batch” is enabled. If both “Send as Batch” and “Wait for Completed Batch” are selected, the configuration cannot be saved and an error message displays until one of these options is de-selected. |
| Wait for Complete Batch | bool |
False | All | If enabled, mParticle will POST events to you in batches only after a user session has ended, so that each event batch you receive will represent a full session of user activity within your app. This setting is no longer supported since the release of the mParticle iOS SDK version 8.0. Enable Send as Batch if you are using version 8.0 or later of the mParticle iOS SDK. |
| Send Crash Events | bool |
True | All | If enabled, app crashes will be forwarded. |
| Send Custom Events | bool |
True | All | If enabled, custom app events will be forwarded. |
| Send Lifecycle Events | bool |
True | All | If enabled, lifecycle events (application start/stop, session start/end) will be forwarded. |
| Include Location Information | bool |
True | All | If enabled, location data will be forwarded with event data whenever possible. |
| Send Network Performance Events | bool |
True | All | If enabled, network performance events will be forwarded. |
| Send Push Registrations and Receipts | bool |
True | All | If enabled, push registration and receipt notifications will be forwarded. |
| Send Screen Views | bool |
True | All | If enabled, screen view events will be forwarded. |
| Send Commerce Events | bool |
True | All | If enabled, commerce events will be forwarded. |
| Include Metadata | bool |
True | All | If enabled, the following metadata - application_info, device_info and source_info will be forwarded. |
| Include User Attribute Change Events | bool |
False | All | If enabled, User Attribute Change Events will be forwarded. |
| Include User Identity Change Events | bool |
False | All | If enabled, User Identity Change Events will be forwarded. |
| Send Batches without Events | bool |
True | All | If enabled, an event batch that contains no events will be forwarded. |
| Include Event Batch Location | bool |
False | All | If enabled, event batch context.location data will be forwarded with event data. |
| Send Alias Requests | bool |
False | All | If enabled, alias request events will be forwarded. |
| Raw Data Feed | bool |
False | All | Identifies this input as a source of raw event data, such as a quarantine feed. Events will be output using the inbound DTO. |