Rizamo Media API
Images and videos for posts: imported from a link, uploaded, or asked of a person.
Images and videos for posts: imported from a link, uploaded, or asked of a person.
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-media-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 Media 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: Media
description: 'Images and videos for posts: imported from a link, uploaded, or asked of a person.'
paths:
/media:
post:
operationId: media.create
summary: Add media
description: 'With `contentType` and `size` (up to 4 GB), the answer says where to send the file: PUT each part, then call `complete` if there is one, and the media is `ready`. With `url`, Rizamo downloads the file and the media is ready in the answer. Media is yours until a post uses it, and then belongs to that post''s profile (or to `profileId` at once): keys and people limited to some profiles reach their own media and their profiles''. Media not used by a post within 7 days is deleted.'
tags:
- Media
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
maxLength: 2048
format: uri
description: 'Import: a public http or https address. Rizamo downloads the file during this call; `contentType` and `size` are then ignored.'
contentType:
enum:
- image/jpeg
- image/png
- image/webp
- video/mp4
- video/quicktime
- application/pdf
type: string
description: 'Upload: the file''s type, such as image/jpeg or video/mp4, with `size`.'
size:
type: integer
minimum: -9007199254740991
maximum: 4294967296
exclusiveMinimum: 0
description: 'Upload: the file''s bytes, up to 4 GB. With `contentType`.'
alt:
type: string
maxLength: 1000
default: ''
description: Describes the image for people who cannot see it.
profileId:
type: string
maxLength: 100
description: 'Optional: a profile you reach, which the media joins at once. Left out, the media is yours (the person, key or agent that added it) until a post uses it, and then joins that post''s profile.'
example:
contentType: video/mp4
size: 48211334
alt: Pouring latte art in slow motion
profileId: prof_01m40k9k80fxd8cvng8derm7g9
responses:
'201':
description: OK
content:
application/json:
schema:
type: object
properties:
media:
$ref: '#/components/schemas/Media'
upload:
anyOf:
- type: object
properties:
parts:
type: array
minItems: 1
items:
type: object
properties:
url:
type: string
method:
const: PUT
headers:
type: object
propertyNames:
type: string
additionalProperties:
type: string
size:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
required:
- url
- method
- headers
- size
description: 'The file''s bytes in order: the first part takes the first `size` bytes, and so on. Files up to 64 MB are one part. Parts can go up at the same time.'
complete:
anyOf:
- type: object
properties:
url:
type: string
method:
const: POST
required:
- url
- method
- type: 'null'
description: 'For a file in several parts: call it once every part is up, and the media is ready. Null for one part, which finishes on its own.'
expiresAt:
type: string
format: date-time
required:
- parts
- complete
- expiresAt
- type: 'null'
required:
- media
- upload
example:
media:
id: med_01m49kp3r0ed9szw9jcadbjdp1
type: video
url: null
alt: Pouring latte art in slow motion
status: uploading
contentType: video/mp4
size: 48211334
width: null
height: null
duration: null
pages: null
profileId: prof_01m40k9k80fxd8cvng8derm7g9
upload:
parts:
- url: https://api.rizamo.com/api/media/upload/team_01m3z8q2e0f5w1bq6h0yvj0x2a/med_01m49kp3r0ed9szw9jcadbjdp1/1?exp=1762437600&sig=b3Jp1Wq0kz8fLx2mQe7Rt5uYc9NvH4aD6sGj3hKl0Po
method: PUT
headers:
content-type: video/mp4
size: 48211334
complete: null
expiresAt: '2026-11-04T16:12:31.000Z'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
Idempotent-Replayed:
$ref: '#/components/headers/IdempotentReplayed'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'413':
$ref: '#/components/responses/PayloadTooLarge'
'415':
$ref: '#/components/responses/UnsupportedMediaType'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
'501':
$ref: '#/components/responses/NotImplemented'
'503':
$ref: '#/components/responses/ServiceUnavailable'
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
/media/{id}:
get:
operationId: media.get
summary: Get media
description: 'One image or video: `ready` once its file arrived, with its size, dimensions and length, and a link to view it that works for a few hours.'
tags:
- Media
parameters:
- name: id
in: path
required: true
schema:
type: string
maxLength: 100
description: The media's id (`med_`).
description: The media's id (`med_`).
example: med_01m48vn2c0emgvm8bkwtj1hayp
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Media'
example:
id: med_01m48vn2c0emgvm8bkwtj1hayp
type: image
url: https://media.rizamo.com/media/med_01m48vn2c0emgvm8bkwtj1hayp.jpg?exp=1762437600&sig=b3Jp1Wq0kz8fLx2mQe7Rt5uYc9NvH4aD6sGj3hKl0Po
alt: A flat white and a pastel de nata on the counter by the window
status: ready
contentType: image/jpeg
size: 842113
width: 1080
height: 1350
duration: null
pages: null
profileId: prof_01m40k9k80fxd8cvng8derm7g9
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
'503':
$ref: '#/components/responses/ServiceUnavailable'
/uploads:
post:
operationId: uploads.create
summary: Ask a person for files
description: Returns a page to give a person. They add images or videos there, no sign-in needed, and send them. Follow `status` with Get an upload request; its `media` are ready to use on a post. The page works for 24 hours.
tags:
- Media
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
note:
type: string
maxLength: 500
default: ''
description: 'What you need, shown on the page: "The photos from Saturday''s tasting".'
maxFiles:
type: integer
minimum: 1
maximum: 20
default: 10
description: 'How many files the person may add, up to 20: 10 when left out.'
profileId:
type: string
maxLength: 100
description: 'Optional: a profile you reach, which the media joins at once. Left out, the media is yours (the person, key or agent that added it) until a post uses it, and then joins that post''s profile.'
example:
note: The photos from Saturday's tasting
maxFiles: 10
profileId: prof_01m40k9k80fxd8cvng8derm7g9
responses:
'201':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/UploadRequest'
example:
id: upr_01m4abq540fy78hvv8x8xs62tm
status: open
note: The photos from Saturday's tasting
maxFiles: 10
media: []
profileId: prof_01m40k9k80fxd8cvng8derm7g9
url: https://app.rizamo.com/upload/team_01m3z8q2e0f5w1bq6h0yvj0x2a/u7Kq2WmZp9Xr4TbL
expiresAt: '2026-11-05T10:12:31.000Z'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
Idempotent-Replayed:
$ref: '#/components/headers/IdempotentReplayed'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'413':
$ref: '#/components/responses/PayloadTooLarge'
'415':
$ref: '#/components/responses/UnsupportedMediaType'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
'503':
$ref: '#/components/responses/ServiceUnavailable'
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
/uploads/{id}:
get:
operationId: uploads.get
summary: Get an upload request
description: 'Whether the person sent their files: `done` once they did, with `media` ready to put on a post. Its page''s address is only in the answer that created it.'
tags:
- Media
parameters:
- name: id
in: path
required: true
schema:
type: string
maxLength: 100
description: The upload request's id (`upr_`).
description: The upload request's id (`upr_`).
example: upr_01m4abq540fy78hvv8x8xs62tm
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/UploadRequest'
example:
id: upr_01m4abq540fy78hvv8x8xs62tm
status: done
note: The photos from Saturday's tasting
maxFiles: 10
media:
- id: med_01m48vn2c0emgvm8bkwtj1hayp
type: image
url: https://media.rizamo.com/media/med_01m48vn2c0emgvm8bkwtj1hayp.jpg?exp=1762437600&sig=b3Jp1Wq0kz8fLx2mQe7Rt5uYc9NvH4aD6sGj3hKl0Po
alt: A flat white and a pastel de nata on the counter by the window
status: ready
contentType: image/jpeg
size: 842113
width: 1080
height: 1350
duration: null
pages: null
profileId: prof_01m40k9k80fxd8cvng8derm7g9
profileId: prof_01m40k9k80fxd8cvng8derm7g9
url: null
expiresAt: '2026-11-05T10:12:31.000Z'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
'503':
$ref: '#/components/responses/ServiceUnavailable'
components:
schemas:
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.
Media:
type: object
properties:
id:
type: string
type:
enum:
- image
- video
- document
type: string
description: 'document: a PDF, which LinkedIn publishes as a document post.'
url:
anyOf:
- type: string
- type: 'null'
description: 'A link that expires after a few hours: get the media again for a fresh one. Null until the file is uploaded.'
alt:
type: string
status:
enum:
- uploading
- ready
- failed
type: string
description: 'uploading: waiting for its file. Only ready media can go on a post.'
contentType:
type: string
size:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
description: Bytes, once uploaded.
width:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: 'Pixels, as shown: read from the file once it is uploaded.'
height:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
duration:
anyOf:
- type: number
- type: 'null'
description: Seconds, for video.
pages:
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
description: 'Pages, for a PDF: read from the file once it is uploaded. Null when they could not be read.'
profileId:
anyOf:
- type: string
- type: 'null'
description: 'The profile it belongs to: the one it was added for, or else the first post that used it. Null until then, when only whoever added it and people who reach every profile reach it. Keys and people limited to some profiles reach their own media and their profiles''.'
required:
- id
- type
- url
- alt
- status
- contentType
- size
- width
- height
- duration
- pages
- profileId
UploadRequest:
type: object
properties:
id:
type: string
status:
enum:
- open
- done
- expired
type: string
description: 'done: the person sent their files. expired: 24 hours went by.'
note:
type: string
maxFiles:
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
media:
type: array
items:
$ref: '#/components/schemas/Media'
description: The files the person added so far, ready to put on a post.
profileId:
anyOf:
- type: string
- type: 'null'
description: 'The profile the files join at once. Null when the request named none: the files are then the asker''s until a post uses them.'
url:
anyOf:
- type: string
- type: 'null'
description: The page to give the person. Only in the answer that creates the request.
expiresAt:
type: string
format: date-time
required:
- id
- status
- note
- maxFiles
- media
- profileId
- url
- expiresAt
responses:
PayloadTooLarge:
description: '`payload_too_large`: The body is over 1 MB: files go up through the upload links of `POST /v1/media`.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
payload_too_large:
summary: payload_too_large
value:
error:
code: payload_too_large
message: A request to the API may have a body of up to 1 MB. Files go up through the upload links of Add media.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
NotFound:
description: '`not_found`: No such object, or it is outside your team or the profiles your key reaches.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
not_found:
summary: not_found
value:
error:
code: not_found
message: Post post_01m47bjzm0edmtk7w6gp7br39v not found.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
Conflict:
description: '`conflict`: The object''s state does not allow it now, such as an account that needs a new login. `queue_empty`: A post with `queue: true` whose profile has no posting times: set them, or give a `scheduledAt`. `queue_full`: No posting time free for the post''s accounts in the next 90 days: add times, or give a `scheduledAt`. `idempotency_key_in_use`: A request with this `Idempotency-Key` is still running: try again in a moment.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
conflict:
summary: conflict
value:
error:
code: conflict
message: This post is deleted. Restore it first.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
queue_empty:
summary: queue_empty
value:
error:
code: queue_empty
message: 'Café Lumen has no posting times in its queue: set them first, or give the post a scheduledAt.'
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
queue_full:
summary: queue_full
value:
error:
code: queue_full
message: 'Café Lumen''s queue has no free posting time for these accounts in the next 90 days: add times, or give the post a scheduledAt.'
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
idempotency_key_in_use:
summary: idempotency_key_in_use
value:
error:
code: idempotency_key_in_use
message: A request with this Idempotency-Key is still running. Try again in a moment.
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
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
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
NotImplemented:
description: '`not_implemented`: The feature is not set up where the call went, such as a local copy of the API.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
not_implemented:
summary: not_implemented
value:
error:
code: not_implemented
message: Music is not set up here.
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
UnprocessableEntity:
description: '`capability_missing`: The account cannot do this: see its `capabilities`. `idempotency_key_reused`: This `Idempotency-Key` was used for a different request in the last 24 hours: send a new key.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
capability_missing:
summary: capability_missing
value:
error:
code: capability_missing
message: '@cafelumen on TikTok cannot publish posts.'
requestId: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
idempotency_key_reused:
summary: idempotency_key_reused
value:
error:
code: idempotency_key_reused
message: This Idempotency-Key was used for a different request in the last 24 hours. Send a new key with each new request.
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
UnsupportedMediaType:
description: '`unsupported_media_type`: The body is not JSON: send it with `Content-Type: application/json`.'
headers:
Request-Id:
$ref: '#/components/headers/RequestId'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
unsupported_media_type:
summary: unsupported_media_type
value:
error:
code: unsupported_media_type
message: 'The API takes JSON bodies only: send Content-Type: application/json.'
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
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
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: '1 to 255 printable characters, new for each request (a UUID); the body up to 1 MB. For 24 hours a repeat with the same key, path and body gets the first answer, with `Idempotent-Replayed: true`, instead of running again; 5xx, 409 and 429 answers are not kept. Errors, Retries, has the rest.'
schema:
type: string
minLength: 1
maxLength: 255
example: 4b9e7c1a-2f3d-4e8a-9c6b-1d2e3f4a5b6c
headers:
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
WWWAuthenticate:
description: 'How to authenticate: `Bearer realm="Rizamo"`, with `error="invalid_token"` for a key that does not work.'
schema:
type: string
RequestId:
description: 'The request''s id, on every answer: send it to support when something keeps failing.'
schema:
type: string
example: req_4f1c2b7e9a0d4c6b8e2f1a3d5c7b9e0f
IdempotentReplayed:
description: '`true` when this is the first answer to a request with the same `Idempotency-Key`, sent again within 24 hours instead of running it twice.'
schema:
type: string
enum:
- 'true'
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