Cohorts

Request a cohort export

Changed on

Start an asynchronous cohort export and return a request ID. Poll /api/5/cohorts/request-status/{requestId}, then download from /api/5/cohorts/request/{requestId}/file.

get/api/5/cohorts/request/{cohortId}

Request

  • Base URL
    https://amplitude.com
  • Auth
    HTTP basic

Path parameters

cohortIdstring required

Query parameters

props0 | 1

Set to 1 to include user properties in the export.

propKeysstring

Specific user property to include. Repeat for multiple properties.

Response

Export request accepted, with a request ID.

request_idstring required
cohort_idstring required

Changes

    • breaking

      removed the success response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the success response with the status