Skip to main content

Hi Amplitude Team,

I am currently on the Growth plan, and I would like to confirm whether the GET /api/2/useractivity endpoint from the Dashboard REST API is available in this plan.

Specifically, I am looking to programmatically retrieve the event history for a specific user, including event properties like device, platform, OS, and app version. However, when I attempt to use this endpoint, I receive an "unauthorized" error.

Could you please clarify:

  • Whether the /api/2/useractivity endpoint is included in the Growth plan.

  • If not, which plan tier is required to access this endpoint.

  • Whether there is an alternative approach (available on Growth) to retrieve per-event properties for a specific user via API.

Thank you in advance for your help — this is for an internal tool where we need to review user activity details, and understanding what’s possible with our current plan would help a lot.

Hi Luis,

Thanks for reaching out and happy to help!

The `GET /api/2/useractivity` endpoint from the Dashboard REST API is available for all customers under any plan type. So you should be able to have access to it. Only reason I can think of for the unauthorized error is perhaps the wrong API key and secret key combination. Could you check your config again?

If it is not mismatched keys, then I recommend reaching out to the Technical Support team directly. See docs on how to contact: https://gethelp.amplitude.com/hc/en-us/articles/13541763964571-Amplitude-Technical-Support-Ticket-Email-Policy

While DSAR API is mostly for CCPA use case, you could also leverage this API to get data of a specific user: https://amplitude.com/docs/apis/analytics/ccpa-dsar. You will need org-level keys though which you will have to request to the Technical Support team directly.

Hope this helps!


P.S. Checkout upcoming events and user meetups on our events page.

Hi ​@belinda.chiu  

Thank you so much for your previous help – I was able to access the data successfully!

I have a follow-up question specifically about the /api/2/useractivity endpoint:

  1. Can I use this endpoint to retrieve specific event types? For example, if I have an event named "Placed an Order", can I filter for this using an event_type parameter (e.g., event_type=Placed%20an%20Order)?
  2. Can I also limit the events retrieved from this endpoint by a specific date range (e.g., by using start and end date parameters)?

Essentially, I want to confirm if the /api/2/useractivity endpoint supports filtering by both event type and date.

If this endpoint is not the best one for these requirements, could you please advise on the recommended Amplitude API endpoint or method to achieve this?

Thanks for your time and guidance!

Best regards


Reply