Zevari Content API
The content API from Zevari, for content.
The content API from Zevari, for content.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/zevari-ai:zevari-ai-content-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Zevari Public Content API
version: v1
summary: REST API over Zevari's MCP-backed LinkedIn, campaign, lead, content, and agent capabilities.
description: 'Zevari exposes an HTTPS JSON REST API described by an OpenAPI 3.1 contract. The production base URL is `https://api.zevari.ai`. The API is built from the same public method contract used by Zevari''s MCP-backed execution layer. Use the MCP reference when an AI assistant needs tool behavior, approval boundaries, or workflow semantics. Use this API reference when you need direct HTTP endpoints, schemas, request examples, and response shapes for a scheduled runner, CRM integration, internal tool, or agent bridge. Transport model: Zevari''s public API uses endpoint-specific HTTP methods. Read operations use `GET` with query parameters. Create, action, approval, and generation operations use `POST` with a JSON body. Updates use `PATCH` with a JSON body. Deletes use `DELETE` with a JSON body when parameters are required. To use the public API, you need a Zevari account, an active workspace subscription, and permission to the workspace and LinkedIn sender or workspace resource that backs the workflow. LinkedIn-backed actions depend on the connected sender account and Zevari''s documented approval and safety behavior. Approval workflow for automated runners: create or update the workspace policy with `approvalPolicy.update` when an owner/admin wants hands-off execution. `mode: "autopilot"` with `autopilot_campaigns_enabled: true` (the legacy value `autopilot_expanded` still works and means the same) approves eligible low/medium-risk actions on its own, plus eligible campaign launches and enrollments of any size and action bundles of up to 20; the Safety Center still paces what reaches LinkedIn. It does not bypass safety, warm-up, high-risk/manual boundaries, InMail, standalone public posts, paid work, tainted data, deletes, exports, or account controls. For a confirmation-gated REST write, call `confirmations.requestAction` with the exact executable payload first. If the response includes `data.autopilot.approved: true`, immediately call the write endpoint with the returned `confirmation_id`. If Autopilot is absent, false, or a policy or duplicate-withhold denial is returned, show or store `data.approval_url`, wait for the user to approve in Zevari, then retry the write endpoint with the same `confirmation_id`. REST clients should not call MCP-only chat approval tools. Personalized campaign enrollment is the convenience exception: call `campaigns.addTargets` directly with each target''s complete `personalized_steps` and a stable idempotency key. That call stages `campaign_enroll_personalized_targets` itself and either applies immediately under eligible Autopilot policy or returns the confirmation and exact retry guidance. After manual approval, repeat the exact request with `confirmation_id`. Campaign creation is a two-phase workflow. `campaigns.create` saves a draft. To launch it, stage `confirmations.requestAction` with `action_type: "campaign_activate"` and `payload: { "campaign_id": "..." }`, then call `campaigns.updateStatus` with `status: "active"` and the approved `confirmation_id`. Under Autopilot with campaign launches on (`autopilot` + `autopilot_campaigns_enabled: true`, legacy `autopilot_expanded`), eligible campaign activations of any size can come back already approved. Campaign enrollment is discoverable from runtime responses. `campaigns.create` returns `status`, effective `enrollment_mode`, `targets_editable`, `add_targets_method`, and `next_action`. Enrollment defaults to `fixed`; choose `continuous` when shared-copy additions should remain open. Active fixed and continuous campaigns both accept approval-bound per-target personalized sequences without pausing. Draft or paused additions remain unscheduled. Terminal campaigns are immutable, so create a new campaign instead. Create API keys in the Zevari app at Dashboard Settings - API Keys. API keys start with `zvr_api_` and authenticate public API requests with `Authorization: Bearer `.'
servers:
- url: https://api.zevari.ai
tags:
- name: Content
paths:
/v1/content/save:
post:
tags:
- Content
operationId: content_save
summary: Save content draft
description: 'Transport: call this endpoint with HTTP POST and a JSON request body. Save a content draft (post, comment, message, sequence). For LinkedIn posts the user wants scheduled, save the draft here, then **stop and give the user the `dashboard_url` from the result** (https://zevari.ai/dashboard/content/{contentId}) — that page is where they review the post, upload an image or PDF, and pick a publish time. Media can also be attached through MCP: if the user uploaded a file in Settings > Media and gives you its ma_ id, call media_assets_attach; if they give a public HTTPS URL, call media_assets_attach_from_url. Do NOT call content_schedule yourself unless the user explicitly says they don''t want to add media.'
x-zevari-http-method: POST
x-zevari-tool: content_save
x-zevari-method:
method: content.save
http_method: POST
namespace: content
operation: save
path: /v1/content/save
api_version: v1
tool_name: content_save
docs_url: https://docs.zevari.ai/api/reference#content-save
sensitive: false
x-sensitive: false
x-agent-guidance: Validate arguments against this schema before calling. If the API returns a docs_url, read that endpoint section before retrying.
externalDocs:
url: https://docs.zevari.ai/api/reference#content-save
security:
- bearerAuth: []
responses:
'200':
description: Successful Zevari API response.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariResponseEnvelope'
examples:
default:
value:
ok: true
method: content.save
data: {}
request_id: req_example
'400':
description: Invalid arguments or method execution error.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: invalid_arguments
message: Invalid arguments for content.save.
docs_url: https://docs.zevari.ai/api/reference#content-save
suggested_action: Compare the request body to this endpoint's OpenAPI schema and retry with only documented parameters.
details:
- code: invalid_type
path:
- example_field
message: Required
request_id: req_example
'401':
description: Missing, invalid, expired, revoked, or unauthorized API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: invalid_api_key
message: The supplied Zevari API key is invalid, expired, revoked, or not authorized for this organization.
docs_url: https://docs.zevari.ai/api/reference#content-save
suggested_action: Create a fresh Zevari API key for the target organization and LinkedIn sender, then retry.
request_id: req_example
'404':
description: Unknown or non-public Zevari API method.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: unknown_method
message: 'Unknown Zevari API method: requested.method'
docs_url: https://docs.zevari.ai/api/reference#content-save
suggested_action: Fetch /v1/methods or /v1/openapi.json and retry with a documented endpoint.
request_id: req_example
'429':
description: API key rate limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: rate_limited
message: API key rate limit exceeded.
docs_url: https://docs.zevari.ai/api/reference#content-save
suggested_action: Wait for the current hourly API-key rate-limit window to reset, then retry.
request_id: req_example
'500':
description: Unhandled server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: api_handler_error
message: Zevari API request failed while executing the method.
docs_url: https://docs.zevari.ai/api/reference#content-save
suggested_action: Read the endpoint docs_url, verify the request body and active Zevari context, then retry.
request_id: req_example
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
content_type:
type: string
enum:
- post
- comment
- connection_note
- message_sequence
- lead_magnet
- article
- report
description: Type of content
title:
type: string
description: Content title (for lead magnets, articles)
body:
type: string
description: The content text
skill_id:
type: string
description: Skill that generated this content
campaign_id:
type: string
description: Associated campaign ID
voice_dna_used:
type: boolean
default: false
description: Whether Voice DNA was applied
variants:
type: array
items:
type: object
properties:
label:
type: string
body:
type: string
required:
- label
- body
additionalProperties: false
description: Alternative versions
metadata:
type: object
additionalProperties: {}
description: 'Additional metadata. To tag people in the post, set mentions: [{ name, profile_id }] and write each one in body as @ plus the name exactly as in mentions, e.g. @Jane Doe (profile_id is the LinkedIn profile ID starting ACo or ADo).'
required:
- content_type
- body
additionalProperties: false
examples:
default:
value:
content_type: post
body: string
/v1/content/list:
get:
tags:
- Content
operationId: content_list
summary: List content drafts
description: 'Transport: call this endpoint with HTTP GET and query parameters. List saved content drafts by type and status.'
x-zevari-http-method: GET
x-zevari-tool: content_list
x-zevari-method:
method: content.list
http_method: GET
namespace: content
operation: list
path: /v1/content/list
api_version: v1
tool_name: content_list
docs_url: https://docs.zevari.ai/api/reference#content-list
sensitive: false
x-sensitive: false
x-agent-guidance: Validate arguments against this schema before calling. If the API returns a docs_url, read that endpoint section before retrying.
externalDocs:
url: https://docs.zevari.ai/api/reference#content-list
security:
- bearerAuth: []
responses:
'200':
description: Successful Zevari API response.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariResponseEnvelope'
examples:
default:
value:
ok: true
method: content.list
data: {}
request_id: req_example
'400':
description: Invalid arguments or method execution error.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: invalid_arguments
message: Invalid arguments for content.list.
docs_url: https://docs.zevari.ai/api/reference#content-list
suggested_action: Compare the request body to this endpoint's OpenAPI schema and retry with only documented parameters.
details:
- code: invalid_type
path:
- example_field
message: Required
request_id: req_example
'401':
description: Missing, invalid, expired, revoked, or unauthorized API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: invalid_api_key
message: The supplied Zevari API key is invalid, expired, revoked, or not authorized for this organization.
docs_url: https://docs.zevari.ai/api/reference#content-list
suggested_action: Create a fresh Zevari API key for the target organization and LinkedIn sender, then retry.
request_id: req_example
'404':
description: Unknown or non-public Zevari API method.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: unknown_method
message: 'Unknown Zevari API method: requested.method'
docs_url: https://docs.zevari.ai/api/reference#content-list
suggested_action: Fetch /v1/methods or /v1/openapi.json and retry with a documented endpoint.
request_id: req_example
'429':
description: API key rate limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: rate_limited
message: API key rate limit exceeded.
docs_url: https://docs.zevari.ai/api/reference#content-list
suggested_action: Wait for the current hourly API-key rate-limit window to reset, then retry.
request_id: req_example
'500':
description: Unhandled server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: api_handler_error
message: Zevari API request failed while executing the method.
docs_url: https://docs.zevari.ai/api/reference#content-list
suggested_action: Read the endpoint docs_url, verify the request body and active Zevari context, then retry.
request_id: req_example
parameters:
- name: content_type
in: query
required: false
schema:
type: string
enum:
- post
- comment
- connection_note
- message_sequence
- lead_magnet
- article
- report
- name: status
in: query
required: false
schema:
type: string
enum:
- draft
- scheduled
- publishing
- published
- failed
- unknown
- cancelled
- archived
- name: limit
in: query
required: false
schema:
type: number
minimum: 1
maximum: 50
default: 20
/v1/content/update:
patch:
tags:
- Content
operationId: content_update
summary: Update content draft
description: 'Transport: call this endpoint with HTTP PATCH and a JSON request body. Update a content draft''s status, body, or metadata.'
x-zevari-http-method: PATCH
x-zevari-tool: content_update
x-zevari-method:
method: content.update
http_method: PATCH
namespace: content
operation: update
path: /v1/content/update
api_version: v1
tool_name: content_update
docs_url: https://docs.zevari.ai/api/reference#content-update
sensitive: false
x-sensitive: false
x-agent-guidance: Validate arguments against this schema before calling. If the API returns a docs_url, read that endpoint section before retrying.
externalDocs:
url: https://docs.zevari.ai/api/reference#content-update
security:
- bearerAuth: []
responses:
'200':
description: Successful Zevari API response.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariResponseEnvelope'
examples:
default:
value:
ok: true
method: content.update
data: {}
request_id: req_example
'400':
description: Invalid arguments or method execution error.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: invalid_arguments
message: Invalid arguments for content.update.
docs_url: https://docs.zevari.ai/api/reference#content-update
suggested_action: Compare the request body to this endpoint's OpenAPI schema and retry with only documented parameters.
details:
- code: invalid_type
path:
- example_field
message: Required
request_id: req_example
'401':
description: Missing, invalid, expired, revoked, or unauthorized API key.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: invalid_api_key
message: The supplied Zevari API key is invalid, expired, revoked, or not authorized for this organization.
docs_url: https://docs.zevari.ai/api/reference#content-update
suggested_action: Create a fresh Zevari API key for the target organization and LinkedIn sender, then retry.
request_id: req_example
'404':
description: Unknown or non-public Zevari API method.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: unknown_method
message: 'Unknown Zevari API method: requested.method'
docs_url: https://docs.zevari.ai/api/reference#content-update
suggested_action: Fetch /v1/methods or /v1/openapi.json and retry with a documented endpoint.
request_id: req_example
'429':
description: API key rate limit exceeded.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: rate_limited
message: API key rate limit exceeded.
docs_url: https://docs.zevari.ai/api/reference#content-update
suggested_action: Wait for the current hourly API-key rate-limit window to reset, then retry.
request_id: req_example
'500':
description: Unhandled server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ZevariErrorEnvelope'
examples:
default:
value:
error:
code: api_handler_error
message: Zevari API request failed while executing the method.
docs_url: https://docs.zevari.ai/api/reference#content-update
suggested_action: Read the endpoint docs_url, verify the request body and active Zevari context, then retry.
request_id: req_example
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
content_id:
type: string
description: Content ID to update
status:
type: string
enum:
- draft
- scheduled
- published
- archived
body:
type: string
description: Updated content text
title:
type: string
description: Updated title
linkedin_post_id:
type: string
description: LinkedIn post ID after publishing
performance:
type: object
additionalProperties: {}
description: Performance metrics
required:
- content_id
additionalProperties: false
examples:
default:
value:
content_id: example_id
components:
schemas:
ZevariErrorEnvelope:
type: object
required:
- error
- request_id
properties:
error:
$ref: '#/components/schemas/ZevariError'
request_id:
type: string
description: Request correlation ID. Also returned in X-Zevari-Request-Id.
additionalProperties: false
ZevariResponseEnvelope:
type: object
required:
- ok
- method
- data
- request_id
properties:
ok:
type: boolean
description: False when the underlying tool reports an error or a partial failure.
method:
type: string
description: Public API method name.
examples:
- campaigns.delete
data:
description: Parsed tool result. Shape is endpoint-specific.
request_id:
type: string
description: Request correlation ID. Also returned in X-Zevari-Request-Id.
additionalProperties: false
ZevariError:
type: object
required:
- code
- message
- docs_url
- suggested_action
properties:
code:
type: string
description: Stable machine-readable error code.
examples:
- invalid_arguments
message:
type: string
description: Human-readable error message.
docs_url:
type: string
format: uri
description: Endpoint-specific documentation URL to review before retrying.
suggested_action:
type: string
description: Concrete recovery action for clients or agents.
details:
description: Optional structured validation or execution details.
additionalProperties: false
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: Zevari API key
description: Use a Zevari API key created in dashboard settings. API keys start with zvr_api_.