Skip to content
sphericon
Search
Guide
API reference
Self-hosting
Roadmap
Menu
Return to top
POST /segments/preview
POST
/segments/preview
Count the contacts matching an unsaved rule definition
Authorizations
BearerAuth
Type
HTTP (Bearer)
Request Body
application/json
Schema
JSON
JSON
{
"definition"
:
"string"
}
Responses
200
400
401
422
429
The request has succeeded.
Content-Type
application/json
Schema
JSON
JSON
{
"count"
:
0
}
POST
/segments/preview
Playground
Server
Select a server...
Authorization
BearerAuth
Body
Try it out
Samples
Powered by
VitePress OpenAPI