cURL
curl --request POST \ --url https://api.pelanor.io/v2/dimensions/{dimensionId}/segments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "rules": { "filterGroups": [ { "operator": "OR", "filters": [ { "propertyId": "<string>", "values": [ "<string>" ], "operator": "EQUALS" } ], "children": [ {} ], "constraint": "USES" } ] }, "isCustom": true }'
{ "id": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A successful response.
The response is of type object.
object