MepMail Docs

/segments

POST
/segments

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/segments" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "object": "segment",  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "filter": {    "match": "all",    "conditions": [      {        "field": "string",        "op": "string",        "value": "string"      }    ]  },  "created_at": "string"}