Create Data Request
POST https://amplitude.com/api/2/dsar/requests
Create a request for user data.
Body Parameters
Name | Description |
---|---|
userId | Required if amplitudeID is not set. The User Id of the user to request data for. |
amplitudeId | Required if userID is not set. Integer. The Amplitude ID of the user to request data for. |
startDate | Required. Date. The start date for the data request. |
endDate | Required. Date. The end date for the data request. |
Response
When successful, the call returns a requestID
, which is used to poll the job status.
Request Body
{"userId"=>12345, "startDate"=>"2020-04-24", "endDate"=>"2022-02-20"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Authorization | null | ||
Content-Type | string |