Create Custom Segment (Available in Pro/Business plan)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Your WATI workspace (tenant) ID. This required path segment identifies the WATI account for legacy v1 and v2 API requests.

Body Params
CreateSegmentRequest

RefreshType:

allowed values: 1 = Static, 2 = Dynamic

Data model with fields: name, refreshType, description, groups, contactIds....

string | null
int32
enum
Allowed:
string | null
groups
array of objects | null
groups
contactIds
array of strings | null
contactIds
boolean
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json