Rizamo Events API
Everything that changed, and who changed it: the same events webhooks send.
Everything that changed, and who changed it: the same events webhooks send.
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/rizamo-com:rizamo-com-events-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: Rizamo Events API
version: '1'
description: Publish, schedule and measure social posts across connected accounts, answer comments and messages, and receive events.
contact:
name: Rizamo
email: hi@rizamo.com
url: https://docs.rizamo.com
servers:
- url: https://api.rizamo.com/v1
security:
- apiKey: []
tags:
- name: Events
description: 'Everything that changed, and who changed it: the same events webhooks send.'
paths:
/events:
get:
operationId: events.list
summary: List events
description: 'Every change on the team''s posts and accounts in the last 30 days, newest first, with who made it: a person, an API key, an agent, or Rizamo itself; and the inbox''s comments and messages as they arrive, the replies sent from Rizamo, and what comment automations do. The same events webhooks send, each as one item of this list. A page at a time: pass `nextCursor` as `cursor` for the next one. Someone limited to some profiles sees only those profiles'' events. The inbox''s and comment automations'' events carry what people wrote: a key or agent reads them only with `inbox:read` (`comment.received`, `message.received`, `message.sent`) or `automations:read` (`comment_automation.*`) too; asking for one of those types without it answers 403.'
tags:
- Events
parameters:
- name: type
in: query
schema:
$ref: '#/components/schemas/EventType'
description: Only events of this type.
allowEmptyValue: true
allowReserved: true
description: Only events of this type.
- name: resourceId
in: query
schema:
type: string
maxLength: 100
description: Only events about this post, account, inbox thread or comment automation. An account's include what happened on it to posts' targets (`post.target.*`), and its inbox's and automations' events.
allowEmptyValue: true
allowReserved: true
description: Only events about this post, account, inbox thread or comment automation. An account's include what happened on it to posts' targets (`post.target.*`), and its inbox's and automations' events.
example: post_01m47bjzm0edmtk7w6gp7br39v
- name: since
in: query
schema:
type: string
format: date-time
description: Only events at or after this moment, within the last 30 days.
allowEmptyValue: true
allowReserved: true
description: Only events at or after this moment, within the last 30 days.
- name: until
in: query
schema:
type: string
format: date-time
description: Only events before this moment.
allowEmptyValue: true
allowReserved: true
description: Only events before this moment.
- name: limit
in: query
schema:
type: integer
minimum: 1
maximum: 200
default: 50
description: 'How many to return, up to 200: 50 when left out.'
allowEmptyValue: true
allowReserved: true
description: 'How many to return, up to 200: 50 when left out.'
example: 20
- name: cursor
in: query
schema:
type: string
maxLength: 1000
description: '`nextCursor` from the page before.'
allowEmptyValue: true
allowReserved: true
description: '`nextCursor` from the page before.'
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/Event'
nextCursor:
anyOf:
- type: string
- type: 'null'
description: Null on the last page.
required:
- items
- nextCursor
example:
items:
- id: ev_01m4jm2m80fjwbwhe2nf0qbtsw
type: post.target.published
at: '2026-11-06T09:00:04.000Z'
actor: null
summary: '"Winter menu is here: spiced orange latte and o…" published on Instagram'
resource:
type: post
id: post_01m47bjzm0edmtk7w6gp7br39v
data:
accountId: acc_01m423bp00fz39kp5pc7m42tsw
network: instagram
format: feed
url: https://www.instagram.com/p/DQx8kLmCa1T/
networkPostId: npost_01m4fkyer0em9939e5rz4f89v7
nextCursor: null
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
schemas:
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
Event:
type: object
properties:
id:
type: string
type:
$ref: '#/components/schemas/EventType'
at:
type: string
format: date-time
actor:
anyOf:
- $ref: '#/components/schemas/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
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
Error:
type: object
properties:
error:
type: object
properties:
code:
enum:
- invalid_request
- unauthorized
- forbidden
- not_found
- method_not_allowed
- conflict
- queue_empty
- queue_full
- idempotency_key_in_use
- payload_too_large
- unsupported_media_type
- capability_missing
- idempotency_key_reused
- rate_limited
- internal
- not_implemented
- bad_gateway
- timeout
type: string
description: 'What went wrong, for your code to branch on; the Errors page lists each code with its status. Rizamo may add codes within v1: treat one you do not know by its HTTP status.'
message:
type: string
description: 'What went wrong and what to change, for a person: it names the field at fault, and quotes a network that refused. Show it, never parse it: its words can change.'
required:
- code
- message
requestId:
type: string
description: This request's id, also in the `Request-Id` header. Send it to support when something keeps failing.
required:
- error
- requestId
description: Every error the API answers, whatever its status.
responses:
TooManyRequests:
description: '`rate_limited`: Over one of Rizamo''s limits, or a network asked Rizamo to slow down: wait for `Retry-After` seconds, or as long as the message says.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
rate_limited:
summary: rate_limited
value:
error:
code: rate_limited
message: 'A team makes up to 120 writes a minute (calls that create, change or delete something) to the API and MCP server: try again in a minute.'
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
Forbidden:
description: '`forbidden`: The caller may not do this: the key or agent lacks the scope (the message names it), or the action needs another role or a fresh sign-in.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
forbidden:
summary: forbidden
value:
error:
code: forbidden
message: This API key does not have the posts:write scope.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
InternalServerError:
description: '`internal`: Our side failed: retry, and send the `requestId` if it keeps failing.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
internal:
summary: internal
value:
error:
code: internal
message: Something went wrong on our side.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
ServiceUnavailable:
description: '`timeout`: The request took too long to work out, most often a report: try again in a moment, or ask a report for a shorter period or one profile.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
timeout:
summary: timeout
value:
error:
code: timeout
message: This took too long to work out. Ask for a shorter period or one profile, or try again in a moment.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
Unauthorized:
description: '`unauthorized`: No API key or sign-in, or the key does not work: it was deleted, or it expired.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
WWW-Authenticate:
$ref: '#/components/headers/WWWAuthenticate'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
unauthorized:
summary: unauthorized
value:
error:
code: unauthorized
message: 'This API key does not work: it was deleted, or it expired.'
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
BadRequest:
description: '`invalid_request`: A field is missing or wrong, or the request cannot be done as asked: the message names the field or says what to change.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
invalid_request:
summary: invalid_request
value:
error:
code: invalid_request
message: 'targets.0.accountId: Invalid input: expected string, received undefined'
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
headers:
WWWAuthenticate:
description: 'How to authenticate: `Bearer realm="Rizamo"`, with `error="invalid_token"` for a key that does not work.'
schema:
type: string
RetryAfter:
description: Seconds to wait before trying again, when the limit reached is one of Rizamo's own per minute.
schema:
type: integer
example: 60
RequestId:
description: 'The request''s id, on every answer: send it to support when something keeps failing.'
schema:
type: string
example: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key from the web app, under Developers. It starts with `rz_live_`.
externalDocs:
description: Guides, errors, limits and the changelog
url: https://docs.rizamo.com