REST APIOverview

REST API

Base URL, authentication, response format and errors.

Base URLhttps://www.zieads.com/api
AuthAuthorization: Bearer zk_your_key
FormatJSON in, JSON out. Dates are ISO 8601 in UTC.
LimitShared with MCP, per day

Responses

Success responses wrap the result in data. Creating something returns 201.

Response 200
{
  "data": {
    "accounts": [
      {
        "id": "6b1f0c2e-...",
        "platform": "instagram",
        "handle": "@kopikita",
        "connected_at": "2026-10-02T09:12:00Z"
      }
    ]
  }
}

Errors

Response 403
{
  "error": {
    "code": "insufficient_scope",
    "message": "This key does not have the \"draft\" scope"
  }
}
StatuscodeMeaning
400invalid_requestA parameter is missing or wrong. The message says which.
401unauthorizedMissing, expired or revoked key.
403insufficient_scopeThe key cannot draft.
404not_foundNo such endpoint.
429rate_limitedDaily limit reached.
500server_errorSomething broke on our side. Retry with backoff.

Endpoints

MethodPathScope
GET/meread
GET/accountsread
GET/briefingread
GET/analyticsread
GET/ads/summaryread
GET/postsread
POST/postsdraft
GET/commentsread
POST/comments/:id/replydraft
GET/competitorsread
POST/competitorsdraft
GET/guardianread
GET/actionsread