sendly-now · Schema
SegmentV1Create
Body for POST /api/v1/segments. `condition` is required when `type` is `DYNAMIC`.
EmailTransactional EmailMarketing CampaignsWorkflow AutomationAI IntegrationDeveloper Platform
Properties
| Name | Type | Description |
|---|---|---|
| condition | object | |
| description | string | |
| name | string | |
| track_membership | boolean | Emit segment entry/exit events as contacts move in and out. Off by default — it costs a membership write per transition. |
| type | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-segment-v1-create-schema.json",
"title": "SegmentV1Create",
"description": "Body for POST /api/v1/segments. `condition` is required when `type` is `DYNAMIC`.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sendly-now-segments-api-openapi.yml#/components/schemas/SegmentV1Create",
"properties": {
"condition": {
"$ref": "#/$defs/FilterConditionV1"
},
"description": {
"maxLength": 500,
"type": "string"
},
"name": {
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"track_membership": {
"default": false,
"description": "Emit segment entry/exit events as contacts move in and out. Off by default — it costs a membership write per transition.",
"type": "boolean"
},
"type": {
"default": "DYNAMIC",
"enum": [
"DYNAMIC",
"STATIC"
],
"type": "string"
}
},
"required": [
"name"
],
"type": "object",
"$defs": {
"FilterConditionV1": {
"description": "A filter condition: one or more groups combined with `logic`.",
"properties": {
"groups": {
"items": {
"$ref": "#/$defs/FilterGroupV1"
},
"minItems": 1,
"type": "array"
},
"logic": {
"enum": [
"AND",
"OR"
],
"type": "string"
}
},
"required": [
"logic",
"groups"
],
"type": "object"
},
"FilterGroupV1": {
"description": "A group of filters. The filters inside one group ALWAYS combine with AND; `conditions` nests a further condition under this group, which is how OR-of-ANDs (and deeper) is expressed.",
"properties": {
"conditions": {
"$ref": "#/$defs/FilterConditionV1"
},
"filters": {
"items": {
"$ref": "#/$defs/SegmentFilterV1"
},
"type": "array"
}
},
"required": [
"filters"
],
"type": "object"
},
"SegmentFilterV1": {
"description": "One comparison. `field` addresses a contact column (`email`, `subscribed`, `createdAt`, `updatedAt`), a `customFields.<key>` path, an `event.<name>`, an `email.<activity>` or `segment`; any other field is refused with 400. A list is not a field — a campaign targets one with `audience_type: \"LIST\"` and `list_id`. `value` is whatever the operator compares against — its JSON type follows the field, and it is omitted entirely for the presence operators (`exists`, `notExists`). `unit` applies only to the relative-time operators (`within`, `olderThan`, and the `triggered*` family).",
"properties": {
"field": {
"minLength": 1,
"type": "string"
},
"operator": {
"enum": [
"equals",
"notEquals",
"contains",
"notContains",
"greaterThan",
"lessThan",
"greaterThanOrEqual",
"lessThanOrEqual",
"exists",
"notExists",
"within",
"olderThan",
"triggered",
"triggeredWithin",
"triggeredOlderThan",
"notTriggered",
"notTriggeredWithin",
"isMemberOf"
],
"type": "string"
},
"unit": {
"enum": [
"days",
"hours",
"minutes"
],
"type": "string"
},
"value": {}
},
"required": [
"field",
"operator"
],
"type": "object"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/sendly-now-segment-v1-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.