Skip to main content

Create Cohort

POST 

/cohorts/external

Create External Cohort

This endpoint is used to create a new cohort.

Edit the Base URL in request schema for switching between regions.

Request Headers

  • apikey: Your private API key (required for authorization)

Request Body Fields

  • name (string): Name of the cohort (must be unique)
  • descr (string): Description of the cohort

Sample Request

{
"name": "Cohort 1",
"descr": "My nudge cohort"
}

Notes

  • Each cohort name must be unique.

Request

Responses

Cohort created successfully