Create segment
POST/v1/public/segments
Creates a user segment with an arbitrary set of conditions. The input condition id is not used to identify or update an existing condition: every condition is created as a new row after normal field and operator validation.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Created segment.
The request is invalid.
A valid Public API token is required.
The endpoint requires a scope that is not granted to the token.
The requested resource was not found.
The request is syntactically correct but cannot be processed.
The current API key exceeded the configured rate limit.
Response Headers
Retry-After
Number of seconds after which the request may be retried safely.
Internal server error.