capabilities.work

Create a cohort from a flag

One step with PostHog. We can help you get access.

Get something done

Create a cohort from a flag

Use PostHog: its PostHog Feature Flags API lets you create a cohort from a flag in a single step (POST /api/projects/{project_id}/feature_flags/{id}/create_static_cohort_for_flag/). capabilities.work can help you get signed up and connected.

  • How do I create a static cohort from a flag's filters?
  • Can I build a cohort based on a feature flag?
Say it to your AI assistant
  • Create a static cohort from feature flag {id} in project {project_id}.
  • Build a cohort using the filters of flag {id} in project {project_id}.
For your developer

POST /api/projects/{project_id}/feature_flags/{id}/create_static_cohort_for_flag/ in PostHog Feature Flags API. Full spec on APIs.io.