{
"value": "Home Improvement Enthusiasts"
}
curl --location --request POST 'https://api.shorterloop.com/api/v2/segments' \
--header 'Authorization;' \
--header 'initiativeId;' \
--header 'Content-Type: application/json' \
--data-raw '{
"value": "Home Improvement Enthusiasts"
}'
{
"success": true,
"message": "Segment created successfully.",
"data": {
"id": 20,
"value": "Home Improvement Enthusiasts",
"createdAt": "2024-10-24T08:12:29.001Z"
}
}