Reach: Segments
Create a profile segment
Changed onCreate a segment in a profile.
A segment is a saved set of conditions rather than a fixed list, so its membership changes as contacts change. Creating one does not modify any contact.
post/api/reach/v1/profiles/{profileUuid}/segmentation/segments
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/reach/v1/profiles/{profileUuid}/segmentation/segments
- Auth: HTTP bearer
Path parameters
profileUuidstring required
Example:550e8400-e09b-41d4-a716-400055000000
Profile uuid parameter
Request body
Example request
{
"name": "VIP Customers",
"conditions": [
{
"attribute": "email",
"operator": "equals",
"value": "example@example.com"
}
],
"logic": "AND"
}Response
Success response
Example response
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Segment name",
"created_at": "2025-02-27T11:54:22Z",
"updated_at": "2025-02-27T11:54:22Z"
}Changes
- info
endpoint added
- info