Rizamo · Schema

Event

Social Media APIAI AgentsMarketing AutomationWebhookMCP ServerSDKCLI

Properties

Name Type Description
id string
type object
at string
actor object Who did it: a person, an API key, an agent or an automation. Null when Rizamo did it on its own, such as publishing at the scheduled time or a network refusing an account's login.
summary string What happened, in one line for a person: a post is named by its caption.
resource object
data object The facts of the change, by type. `post.created`: `status`, `scheduledAt`, `targets` (`accountId`, `network`, `format`). `post.updated`: `changed` (`text`, `media`, `targets`, `scheduledAt`, `fields.<
View JSON Schema on GitHub

JSON Schema

rizamo-com-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rizamo-com/json-schema/rizamo-com-event-schema.json",
  "title": "Event",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rizamo-com-openapi.json#/components/schemas/Event",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "type": {
      "$ref": "#/$defs/EventType"
    },
    "at": {
      "type": "string",
      "format": "date-time"
    },
    "actor": {
      "anyOf": [
        {
          "$ref": "#/$defs/Actor"
        },
        {
          "type": "null"
        }
      ],
      "description": "Who did it: a person, an API key, an agent or an automation. Null when Rizamo did it on its own, such as publishing at the scheduled time or a network refusing an account's login."
    },
    "summary": {
      "type": "string",
      "description": "What happened, in one line for a person: a post is named by its caption."
    },
    "resource": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "post",
            "thread",
            "account",
            "comment_automation"
          ],
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "id"
      ]
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {},
      "description": "The facts of the change, by type. `post.created`: `status`, `scheduledAt`, `targets` (`accountId`, `network`, `format`). `post.updated`: `changed` (`text`, `media`, `targets`, `scheduledAt`, `fields.<key>`), with the new `scheduledAt` and `fields` values that changed. `post.scheduled`: `scheduledAt`, `queued` when it took its time from the profile's queue, and `now` when it was sent to publish at once. `post.updated` carries `queued` with a new `scheduledAt`, or when only that changed. `post.unscheduled`: `status`. `post.deleted`: `stillLive`, the targets Rizamo does not take off their network. `post.restored`: `status`. Removing an account (ADR 0048): a post that went to it alone gets `post.deleted` with `accountRemoved` (`accountId`, `network`), its live targets in `stillLive`; a post with other accounts that lost the account's part that never went out gets `post.updated` with `changed: [\"targets\"]`, `accountRemoved`, and `status` when that changed it (the old one in `previous`). `post.published` and `post.failed`: `status`, `published` targets (`accountId`, `network`, `format`, `url`) and the others (with `error`, and `status`: `failed`, or `unknown` when it may have gone out and a person must check the network before publishing again). `post.target.*`: `accountId`, `network`, `format`; `url` and `networkPostId` when published, `error` and `status` (`failed`, or `unknown` when a person must check the network) when failed. A chain's (posts after the first, as replies) carry `part` and `of`, the part counted after the first post and how many there are: `post.target.published` once its last part is live, `post.target.failed` for the part that stopped it, while the target stays published. `comment.received` and `message.received`: a comment, a reply under one, or a message to the account from someone else, once, when Rizamo first stores it (never the account's own, never one stored before, never one written more than 72 hours before Rizamo found it, such as the history read when an account connects): `threadId`, `messageId`, `kind` (`comment` or `dm`), `network`, `accountId`, `networkPostId` and `postId` (the post it is on, when Rizamo knows it), `author` (`name`, `handle`; LinkedIn gives no handle, and a LinkedIn commenter Rizamo could not name is \"LinkedIn member\"), `text`, and for comments `reply` (under another comment) and `hidden`. `message.sent`: a reply sent from Rizamo, by a person, an API key, an agent or a comment automation (`actor`), once it is on the network (a Threads, LinkedIn or YouTube reply when it went out, not when it was asked for): the same ids, `kind` and `network`, `to` (the thread's person, `name` and `handle`, named as `author` is, or null under the account's own comment) and `text`. `comment_automation.sent` and `comment_automation.failed`: a run, by its automation (`actor`): `automationId`, `runId`, `accountId`, `network`, `threadId` (the comment's), `conversationId` (the private conversation, once there is one), `commenter` (`name`, `handle`) and `comment` (its text); `followGate` (`followed`) when it went out after the person followed; `reason` (`refused`, `unclear`) and `error` when it failed. `comment_automation.paused`: `automationId`, `name`, `accountId`, `network`, and `pausedReason`, why Rizamo paused it (null when a person did). Removing an account deletes its inbox and automation events, as it deletes its comments and messages; connecting it again reads its recent ones again, so those of the last hours come again as new events. A comment removed on its network takes its events, and the automation events that quote it. Events stay in the profile they happened in when an account moves. A key or agent reads the inbox's and automations' events only with `inbox:read` or `automations:read` too. `account.*`: `network`, `handle`; `reconnected` or `healed` when connected again; `profileId` when moved. `account.disconnected`: the account is still in the team and lost its login; `reason` says why (`needs_login`, `facebook_action_needed`, `permission_missing`, `account_gone`), and a new login brings it back with its posts. `account.removed`: the account left the team; `reason` says how. `removed_by_team`: a person, API key or agent removed it (`actor`), with `posts`, what happened to the posts that used it (as `Remove an account` answers). `data_deletion`: its network asked Rizamo to delete its data (`dataDeletion`, no `handle`), and its other events are deleted. Events from before 5 November 2026 have no `reason` on `account.removed`."
    }
  },
  "required": [
    "id",
    "type",
    "at",
    "actor",
    "summary",
    "resource",
    "data"
  ],
  "$defs": {
    "Actor": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "const": "agent"
            },
            "agent": {
              "anyOf": [
                {
                  "enum": [
                    "claude",
                    "chatgpt",
                    "claudecode",
                    "cursor",
                    "codex",
                    "gemini",
                    "perplexity",
                    "openclaw",
                    "n8n",
                    "make",
                    "zapier"
                  ],
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "name": {
              "type": "string"
            },
            "agentId": {
              "type": "string"
            },
            "onBehalfOf": {
              "type": "object",
              "properties": {
                "userId": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                }
              },
              "required": [
                "userId",
                "name"
              ],
              "description": "The person whose agent it is, who connected it and whom it acts as, with their role: \"Ana via Claude Code\". Events from before 2026-11-02 have it too, with the person's name now. Left out of an agent with no person, and of other records from before. After the person's erasure, `name` is \"A former member\" and `userId` empty."
            }
          },
          "required": [
            "type",
            "agent",
            "name"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "const": "user"
            },
            "userId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "initials": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "userId",
            "name",
            "initials"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "const": "api_key"
            },
            "keyId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "keyId",
            "name"
          ]
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "const": "automation"
            },
            "automationId": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "type",
            "automationId",
            "name"
          ]
        }
      ]
    },
    "EventType": {
      "enum": [
        "post.created",
        "post.updated",
        "post.scheduled",
        "post.unscheduled",
        "post.published",
        "post.failed",
        "post.deleted",
        "post.restored",
        "post.target.published",
        "post.target.failed",
        "post.target.updated",
        "post.target.deleted",
        "comment.received",
        "message.received",
        "message.sent",
        "comment_automation.sent",
        "comment_automation.failed",
        "comment_automation.paused",
        "account.connected",
        "account.disconnected",
        "account.updated",
        "account.removed"
      ],
      "type": "string"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rizamo-com-event"
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. 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.