Create a new segment for the organization.
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"
}The ID of the org
Schema for creating a segment
Name of the segment
1 - 128Was this page helpful?
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"
}