Create a new segment for the organization.
curl --request POST \
--url https://api.useinvent.com/orgs/{org_id}/segments \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"color": "red"
}
'{
"id": "<string>",
"name": "<string>",
"color": "red",
"contacts_count": 123,
"boards": [
{
"board_id": "<string>",
"board_name": "<string>",
"column_id": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}The ID of the org
Schema for the segment
The name of the color to use in the UI
red, orange, amber, yellow, lime, green, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, rose, neutral Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.useinvent.com/orgs/{org_id}/segments \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"color": "red"
}
'{
"id": "<string>",
"name": "<string>",
"color": "red",
"contacts_count": 123,
"boards": [
{
"board_id": "<string>",
"board_name": "<string>",
"column_id": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}