Skip to main content
Solved

Create dynamic cohorts using Behavioral cohorts API

  • January 16, 2023
  • 5 replies
  • 403 views

Forum|alt.badge.img+2

Thereโ€™s a requirement for creating dynamic cohorts in my Amplitude project with the help of existing Rest API. I am able to create a static cohort but it needs to be dynamic. The documentation doesnโ€™t provide information about creating one. Is it possible to create one? If its possible, can someone point me in the right direction in regards to creating a dynamic cohort?

Best answer by Saish Redkar

Hey @Mridul Sharma 

Iโ€™m assuming that a dynamic cohort via API is the one wherein you can change the cohort parameters ( like event/properties/date since,etc ) on the fly using API parameters?

If yes, then the cohorts API has no such functionality as of now.

The major support is for downloading a static cohort, generating a new cohort and updating an existing cohort.

You can refer to this post for further reference

 

Hope this helps.

View original
Did this topic help you find an answer to your question?

Saish Redkar
Expert
Forum|alt.badge.img+10

Hey @Mridul Sharma 

Iโ€™m assuming that a dynamic cohort via API is the one wherein you can change the cohort parameters ( like event/properties/date since,etc ) on the fly using API parameters?

If yes, then the cohorts API has no such functionality as of now.

The major support is for downloading a static cohort, generating a new cohort and updating an existing cohort.

You can refer to this post for further reference

 

Hope this helps.


Forum|alt.badge.img+2

Hey @Saish Redkar

I appreciate the information. I wanted to specifically use the cohorts API to create a dynamic cohort, but I now realise that is not currently possible. I guess I'll have to create the dynamic cohorts manually.


Forum|alt.badge.img

Hi!  Is there a place where we can file an improvement request?  I would like this as well!


Saish Redkar
Expert
Forum|alt.badge.img+10

Forum|alt.badge.img
Saish Redkar wrote:

got it, thank you!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings