capabilities.work

Behavioral Cohort Export

A 3-step recipe with Amplitude. We can help you get access.

Recipe · 3 steps

Behavioral Cohort Export

Export a behavioral cohort's membership list by polling the async export job to completion.

  1. Request an asynchronous export of the cohort. This is the first step in the three-step export process and returns the request identifier.
  2. Poll the export status endpoint. While the job is queued or computing the step loops back on itself; once the status is complete it proceeds to the download step.
  3. Download the exported cohort membership data file once the export status has reported completion.
What you'll need to have ready
  • basicAuth: Base64-encoded api_key:secret_key credentials for HTTP Basic auth.
  • cohortId: The ID of the cohort to export.
  • includeProps: Set to 1 to include user properties in the export, 0 to omit them.
For your developer

Arazzo workflow amplitude:export-cohort-members, 3 operations: requestCohortExport → getCohortExportStatus → downloadCohortExport. Specs on APIs.io.