# HTTP API Quickstart

Source: https://amplitude.com/docs/apis/analytics/http-api-quickstart

---

On this page

- [Send data](#send-data)
- [Check for success](#check-for-success)

# HTTP API Quickstart

Use this guide to get started with the Amplitude HTTP V2 API. For a detailed look at additional considerations and error handling, refer to the complete [HTTP V2 API Reference](/docs/apis/analytics/http-v2).

## Send data

EU Residency

For EU data residency, configure the project inside Amplitude EU. In all examples, replace the standard endpoint `https://api2.amplitude.com/2/httpapi` with the EU residency endpoint `https://api.eu.amplitude.com/2/httpapi`.

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](/docs/apis/authentication) for your Amplitude project.

curl

```
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](/docs/sdks/sdk-debugging) to check your instrumentation and validate events.

Was this helpful?

<!--$-->

<!--/$-->
