HTTP API Quickstart

Use this guide to get started with the Amplitude HTTP V2 API. For a more in-depth look at more considerations and error handling, refer to the complete HTTP V2 API Reference.

Send data

EU Residency

For EU data residency, configure the project inside Amplitude EU. Replace the standard endpoint https://api2.amplitude.com/2/httpapi with the EU residency endpoint https://api.eu.amplitude.com/2/httpapi in all examples to ensure proper data residency.

Choose your target platform to send a POST request to https://api2.amplitude.com/2/httpapi (or https://api.eu.amplitude.com/2/httpapi for EU residency). Replace YOUR_API_KEY with the API KEY for your Amplitude project.

curl -X POST https://api2.amplitude.com/2/httpapi \
-H "Content-Type: application/json" \
-H "Accept: */*" \
-d "{
'api_key': 'YOUR_API_KEY',
'events': [{
'user_id': '203201202',
'device_id': 'C8F9E604-F01A-4BD9-95C6-8E5357DF265D',
'event_type': 'watch_tutorial'
}]
}"

Check for success

After you send data to Amplitude, use one of the debugging tools to check your instrumentation and validate your events.

Was this page helpful?

August 23rd, 2024

Need help? Contact Support

Visit Amplitude.com

Have a look at the Amplitude Blog

Learn more at Amplitude Academy

© 2025 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.