sendly-now · Schema
CampaignV1Update
Body for PATCH /api/v1/campaigns/{id}. All fields optional.
EmailTransactional EmailMarketing CampaignsWorkflow AutomationAI IntegrationDeveloper Platform
Properties
| Name | Type | Description |
|---|---|---|
| audience_condition | object | |
| audience_type | string | |
| body | string | |
| description | string | |
| email_category | string | |
| from | string | Sender address. Its domain must be verified for this project. |
| from_name | stringnull | |
| list_id | string | Required when `audience_type` is `LIST`. Only that list's CONFIRMED members receive the campaign. |
| name | string | |
| reply_to | stringnull | |
| segment_id | string | |
| subject | string | |
| topic_id | stringnull | The subject this campaign is about. A contact who unsubscribed from the topic is excluded WHATEVER the audience type — a topic opt-out is a standing answer, not an audience filter, so it cannot be rou |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/sendly-now/json-schema/sendly-now-campaign-v1-update-schema.json",
"title": "CampaignV1Update",
"description": "Body for PATCH /api/v1/campaigns/{id}. All fields optional.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sendly-now-campaigns-api-openapi.yml#/components/schemas/CampaignV1Update",
"properties": {
"audience_condition": {
"$ref": "#/$defs/FilterConditionV1"
},
"audience_type": {
"enum": [
"ALL",
"FILTERED",
"SEGMENT",
"LIST"
],
"type": "string"
},
"body": {
"minLength": 1,
"type": "string"
},
"description": {
"maxLength": 500,
"type": "string"
},
"email_category": {
"enum": [
"TRANSACTIONAL",
"MARKETING",
"SELF_MANAGED_UNSUBSCRIBE"
],
"type": "string"
},
"from": {
"description": "Sender address. Its domain must be verified for this project.",
"format": "email",
"type": "string"
},
"from_name": {
"maxLength": 100,
"type": [
"string",
"null"
]
},
"list_id": {
"description": "Required when `audience_type` is `LIST`. Only that list's CONFIRMED members receive the campaign.",
"format": "uuid",
"type": "string"
},
"name": {
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"reply_to": {
"format": "email",
"type": [
"string",
"null"
]
},
"segment_id": {
"format": "uuid",
"type": "string"
},
"subject": {
"minLength": 1,
"type": "string"
},
"topic_id": {
"description": "The subject this campaign is about. A contact who unsubscribed from the topic is excluded WHATEVER the audience type — a topic opt-out is a standing answer, not an audience filter, so it cannot be routed around by selecting a different audience. Ignored for `TRANSACTIONAL` campaigns, which a marketing preference does not cancel.",
"format": "uuid",
"type": [
"string",
"null"
]
}
},
"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-campaign-v1-update"
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.