Amplitude Analytics APIs

Number of APIs: 75

The Amplitude Analytics API collection let you get started with Amplitude fast. To get started, fork this collection and start experimenting!

Before you begin

  • This collection is provided as-is, and isn't covered by any SLAs.
  • Although this is the official Amplitude collection, our Support team can't help troubleshoot any problems you have with Qodex.
  • Calls you make with the Qodex collection can make changes to data in your account. We recommend using Amplitude test project to experiment with this collection.
  • See our full API documentation at developers.amplitude.com

Report issues or request improvements

We encourage you to report any issues with this collection on GitHub.

Requirements

You must have an Amplitude account to use these APIs.

Authorization

Each API has different authorization methods. You can learn more in the documentation for the API you want to use.

Be sure to set your API key and secret key in the environment variables in the Amplitude API Environment.

Important note: Calls made with the Qodex collection can change data in your account. We recommend using Amplitude test project to experiment with this collection.

Endpoints

Most of the examples in this documentation uses the standard server endpoints, so if you are using EU residency servers, then adjust the endpoint URLs. You can find the correct URL in the documentation for each API.

  1. Taxonomy API-Event Property - Update Event Property PUT https://amplitude.com/api/2/taxonomy/event-property/:event-property

  2. Taxonomy API-Event Property - Create Event Property POST https://amplitude.com/api/2/taxonomy/event-property

  3. Behavioral Cohorts API - Get Cohort Status GET https://amplitude.com/api/5/cohorts/request-status/:request_id

  4. Attribution API - Android Attribution POST https://api2.amplitude.com/attribution?api_key={{api_key}}&event={"event_type":"[YOUR COMPANY] Install","adid": "AEBE52E7-03EE-455A-B3C4-E57283966239", "user_properties": {"[YOUR COMPANY] media source": "facebook", "[YOUR COMPANY] campaign": "refer-a-friend"}, "platform": "android"}

  5. SCIM API (Amplitude Users and Permissions)-Group Routes - Delete Group DELETE https://core.amplitude.com/scim/1/Groups/:id

  6. Batch Event Upload API - Batch Event Upload POST https://api2.amplitude.com/batch

  7. Behavioral Cohorts API - Get a single Cohort GET https://amplitude.com/api/5/cohorts/request/:id

  8. Chart Annotations API - Get all global chart annotations GET https://amplitude.com/api/2/annotations

  9. Dashboard REST API - Get Results from existing chart GET https://amplitude.com/api/3/chart/:chart_id/query

  10. Dashboard REST API-User Search - Get user GET https://amplitude.com/api/2/usersearch?user=