Skip to main content
POST
/
orgs
/
{org_id}
/
segments
Create a Segment
curl --request POST \
  --url https://api.dev.useinvent.com/orgs/{org_id}/segments \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "created_at": "2023-12-25",
  "updated_at": "2023-12-25"
}

Path Parameters

org_id
string
required

The ID of the org

Body

Schema for creating a segment

name
string
required

Name of the segment

Required string length: 1 - 128

Response

200 - application/json

Schema for the segment

id
string
required
name
string
required
created_at
string<date>
required
updated_at
string<date>
required