Gebruik Marky MCP met Sokko.
Verbind Marky MCP en vertel Sokko wat je wilt. Het voert de acties uit die je vraagt en reageert op wat er gebeurt. Geen workflows, geen code.
Werkt met 1.000+ tools · Geen code nodig
Acties
Alles wat Sokko kan doen in Marky MCP
Elke Marky MCP-actie die Sokko kan uitvoeren. Vraag erom in één zin en het is gebeurd.
Append base64 media chunk
Append a base64 media chunk
Send one base64-encoded chunk of a file started with `start_base64_media_upload`.
Chunks may arrive in any order. Resending an index replaces that chunk, so retrying
after a timeout is safe. When every chunk is sent, call `finish_base64_media_upload`.
Errors:
400 INVALID_BASE64: data_base64 is not valid base64, or is empty.
401 authentication_required: API key or token is missing, invalid, or revoked.
404 resource_not_found: No upload with this upload_id for your org.
409 UPLOAD_ALREADY_FINISHED: This upload is finished; its file is already in the library.
410 UPLOAD_EXPIRED: The upload was started over 6 hours ago. Start a new one.
413 FILE_TOO_LARGE: The chunk is over 4 MiB decoded, or the index is past the last one allowed.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"upload_id": "Upload Id",
"index": 1,
"bytes": 1,
"chunks_received": 1
}
```
Create media upload
Create media upload URL
Create a short-lived URL to upload a local file into a workspace's MEDIA library.
USE THIS when the file is on a device or sandbox disk and has no public URL
(media already on the web goes through `upload_media_from_url` instead).
PUT the raw bytes to the returned `upload_url` (see `instructions` for the exact
curl command); the PUT response is the created media asset, whose `original_url`
feeds `create_post` and the rest of the API. From a hosted Claude client, run the
curl in the code-execution sandbox — the user's chat attachment is on its disk.
PREFER letting Marky FETCH the image over pushing it: if the image has any URL
(a generated-image output URL, a web image, a host-provided download URL), skip
this tool and use `upload_media_from_url` or pass the URL to `create_post` in
`media_urls` — Marky downloads it server-side, so it works even when your sandbox
blocks outbound network. Only use this PUT flow when the image is local-only AND
your runtime can make outbound web requests. On ChatGPT, prefer
`upload_media_from_reference` (ChatGPT fills the file automatically and Marky fetches
it server-side, so the sandbox never makes the outbound upload). If the PUT fails
with a connection error, or a 403 from your sandbox's proxy, your sandbox is
blocking egress: don't retry. This holds for video too. FALLBACK: send the file
through the MCP itself with `start_base64_media_upload` →
`append_base64_media_chunk` → `finish_base64_media_upload` (base64 in chunks, up to
50 MB), or put it at a public URL and call `upload_media_from_url`. If neither
works, tell the user it couldn't be attached (don't post `media_urls: null`).
The URL expires after 1 hour and is bound to this workspace. Re-PUTting the same
bytes safely returns the original asset; different bytes on the same URL are
rejected.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
422 IDEMPOTENCY_KEY_CONFLICT: The Idempotency-Key was reused with a different body.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"upload_id": "Upload Id",
"upload_url": "Upload Url",
"expires_in": 1,
"max_bytes": 1,
"instructions": "Instructions"
}
```
Create post
Create post
Create a post directly without using the generation pipeline.
Use this when you generate content externally (e.g. with your own AI agent)
and want to push it in for scheduling and publishing.
To make a retry safe, send a unique `idempotency_key` (or `Idempotency-Key`
header): a resend with the same key and body returns the original post
instead of a duplicate.
Errors:
400 missing_field: status is SCHEDULED but scheduled_publish_time was not given.
400 PLATFORM_RULE_VIOLATION: status is SCHEDULED and a platform in publish_to would refuse the post. Nothing is created; `violations` lists each broken rule.
400 invalid_request: scheduled_publish_time is not in the future.
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
409 NO_CONNECTED_SOCIALS: status is SCHEDULED but no connected, working account can publish the post (none on its platforms, or each one needs reconnecting). Nothing is created; `missing_platforms` lists what to connect.
422 IDEMPOTENCY_KEY_CONFLICT: The Idempotency-Key was reused with a different body.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"publish_results": [
{
"platform": "Platform",
"status": "Status"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"url": "Url"
}
```
Create topic
Create topic
Create a new topic for a workspace.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"title": "Title",
"enabled": true,
"created_at": "Created At"
}
```
Create workspace
Create workspace
Create a new workspace in your organization.
Use one workspace per brand or client. Only `name` is required; `industry`,
`website` and `language` help Marky write for the brand from the first post.
Call list_workspaces first: a workspace with that name may already exist.
Send an `Idempotency-Key` header to make a retry safe (a resend with the same
key returns the original workspace instead of creating a duplicate).
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access.
403 WORKSPACE_LIMIT_EXCEEDED: You hit your plan's workspace limit. Carries an
`upgrade_url` (one-click "add a workspace" screen) and `workspace_limit`.
422 IDEMPOTENCY_KEY_CONFLICT: The Idempotency-Key was reused with a different body.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"language": "Language",
"events": [
{
"name": "Name",
"date": "2023-01-01",
"kind": "Kind"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"field_budgets": [
{
"field": "Field",
"limit": 1,
"used": 1,
"remaining": 1
}
]
}
```
Delete post
Delete post
Delete a post (moves it to Trash).
Moves the post to Trash, the same as Delete in the app. It stays there for 30
days and is then deleted for good. To bring it back before then, call
update_post with status DRAFT. Use this to discard a draft you no longer want
or to clear a scheduled/queued post so it does not publish. Deleting a post
that is already in Trash changes nothing. This does NOT delete anything
already posted to a social platform — to keep that history intact, a post
that has already been published cannot be deleted.
Errors:
400 invalid_request: The post is already published, so it can't be deleted.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"status": "Status"
}
```
Disconnect social account
Disconnect a connected social account
Disconnect one connected social account from this workspace, the same as Disconnect in the Marky app.
Pass an `id` from list_connected_social_accounts. Marky stops publishing to
that account: posts already scheduled or queued skip it from then on. Nothing
is deleted on the social platform, and the user can connect the account again
in the app.
Disconnecting an Instagram connection also disconnects the Instagram Story
connection for the same account, as the app does; `disconnected_ids` lists
both. An Instagram Story connection whose `parent_integration_id` is null has
lost its Instagram connection and is not shown anywhere in the app; this is
the way to remove it.
This cannot be undone through the API. Confirm the account (platform and
username) with the user before calling it.
Errors:
400 invalid_value: The integration_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No connection with that ID is connected to this workspace (it may already be disconnected).
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"disconnected_ids": [
"string"
]
}
```
Finish base64 media upload
Finish a base64 media upload
Join the chunks and add the file to the workspace's MEDIA library.
Returns the media asset, the same as the other upload tools: its `original_url`
feeds `create_post`. Calling this again for the same upload returns the same asset,
so a retry never makes a duplicate.
Errors:
400 UPLOAD_INCOMPLETE: Chunks are missing; `missing_chunks` lists the indexes to resend.
400 CHECKSUM_MISMATCH: The joined file does not match `sha256`. Resend the chunks.
400 INVALID_FILE_TYPE: The bytes are not a photo or video we store (a PDF, for example).
401 authentication_required: API key or token is missing, invalid, or revoked.
404 resource_not_found: No upload with this upload_id for your org.
410 UPLOAD_EXPIRED: The upload was started over 6 hours ago. Start a new one.
413 FILE_TOO_LARGE: The file is over 50 MB (or an image over 20 MB).
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"created_at": "Created At",
"hidden": true,
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
]
}
```
Get integration stats
Get integration account stats
Fetch account/page analytics for a single connected integration.
Returns the normalized `AccountStats` model (followers, impressions,
reach, profile_views, plus a timeseries `metrics` array) for the
integration's platform — Facebook, Instagram, LinkedIn, Twitter/X,
TikTok, Pinterest, or YouTube. The integration_id is an `id` from
list_connected_social_accounts.
Some accounts have no account-level analytics to give — a LinkedIn personal
profile, or a platform whose reads we have turned off on cost grounds.
Those return 200 with a populated `unavailable_reason` and null metrics,
NOT an error. Null there means "not available", not zero.
Errors:
400 invalid_value: The integration_id is not a valid UUID.
400 invalid_request: A date, period, or metric value was rejected, or the date range is longer than the platform allows (Instagram: 30 days).
401 authentication_required: API key or token is missing, invalid, or revoked.
401 SOCIAL_TOKEN_EXPIRED: The connected account's token expired and could not be refreshed — the response's reconnect_url points to where to reconnect.
403 permission_denied: Your plan does not include API access.
404 resource_not_found: No integration with that ID exists, or it is not in your org.
429 rate_limit_exceeded: You sent too many requests this minute.
502 UPSTREAM_PROVIDER_ERROR: The social platform returned an error while fetching stats.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"fetched_at": "2023-01-01T00:00:00Z",
"metrics": [
{
"name": "Name",
"values": [
{}
]
}
],
"raw_metrics": {},
"post_stats_hint": "Post Stats Hint"
}
```
Get platform rules
Get platform rules
Get what each platform accepts in a post: caption and title limits, media, buttons, link and first comment.
`post_settings_schema` is the shape of that platform's `platform_overrides`
entry. Scheduling refuses a post only where a rule's outcome is `rejected`
or required media is missing (400 PLATFORM_RULE_VIOLATION); anything else
comes back as a warning, because the post still publishes.
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"platforms": [
{
"rules": {
"platform": "Platform",
"caption": {
"supported": true,
"required": true
},
"title": {
"supported": true,
"required": true
},
"media": {
"required": true,
"accepts": [
"string"
],
"mixes_images_and_video": true
},
"cta": {
"supported": true,
"allowed_values": [
"string"
]
},
"link_supported": true,
"first_comment_supported": true,
"thread_supported": true,
"requires_selected_page": true,
"mentions_stay_plain_text": true,
"notes": [
"string"
]
},
"post_settings_schema": {}
}
]
}
```
Get post
Get post
Get a single post by ID, including per-platform publish results.
The post's workspace must belong to your org. `publish_results` is a list
of outcomes — one per platform this post was sent to — with the external
`publish_id` you'll need to fetch live stats. Poll this endpoint until
every entry has a terminal status (`success` or `failed`) to know
publishing finished.
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"publish_results": [
{
"platform": "Platform",
"status": "Status"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"url": "Url"
}
```
Get posting schedule
Get posting schedule
Get a workspace's recurring posting schedule.
Returns the weekly timeslots (e.g. `["MON 15:00", "FRI 09:30"]`) that drive
the daily auto-publish queue. A post added to the queue (`queue_post`)
publishes at the next upcoming slot. If the workspace has no schedule yet, a
default daily schedule is created and returned.
`free_slots_local` lists the next slots no post holds yet (up to 90 days
out, so a fully booked month still gets answers), and `taken_slots_local`
every time a scheduled post holds in the next 14 days. When you pick a time
yourself, never pick a taken one or a day that already has a post: use a
free slot, and if there are not enough, a day in `open_days_local` (days
with no post). A time the owner gave is still used. Queued posts skip days
whose slots fixed-time posts already fill.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"queue_id": "Queue Id",
"business_id": "Business Id",
"timeslots": [
"string"
],
"jitter_minutes": 1,
"timeslots_local": [
"string"
],
"free_slots_local": [
"string"
],
"taken_slots_local": [
"string"
],
"open_days_local": [
"string"
],
"paused": true
}
```
Get post analytics
Get post stats
Fetch per-platform analytics for a post published through Marky.
Returns one entry per platform the post was successfully published to,
with metrics fetched live from each provider. Stats are normalized into a
consistent shape (`likes`, `comment_count`, `reach`, `views`, etc.) across
Facebook, Instagram, LinkedIn, Twitter, TikTok, Pinterest, and YouTube.
Platforms we can't fetch (no success result, disconnected integration,
expired token) appear in `skipped`.
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"post_id": "Post Id",
"platforms": [
{
"platform": "Platform",
"external_post_id": "External Post Id",
"stats": {
"fetched_at": "2023-01-01T00:00:00Z"
}
}
],
"skipped": [
{
"platform": "Platform",
"error": "Error"
}
]
}
```
Get queue summary
Get queue summary
Report how full the daily queue is and when it runs dry.
One cheap call for "do I need to top up my queue?" checks: the number of
queued posts plus the estimated publish times of the next and LAST posts in
the queue. `last_estimated_publish_time` is the projected run-out moment —
after it, nothing more publishes until new posts are queued. Times are
estimates from the queue's recurring timeslots (see the queue listing).
`covered_until` includes exact-time posts.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"queued_count": 1,
"scheduled_count": 1
}
```
Get workspace
Get workspace
Get the FULL profile of a single workspace. Must belong to your org.
This is the detail read: it returns everything list_workspaces leaves out —
the strategy doc, the design style, the per-platform writing instructions,
events and timezone on top of the summary fields. Use list_workspaces to find a workspace id; use this to read the
workspace itself.
Errors:
400 invalid_value: The workspace id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"language": "Language",
"events": [
{
"name": "Name",
"date": "2023-01-01",
"kind": "Kind"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"field_budgets": [
{
"field": "Field",
"limit": 1,
"used": 1,
"remaining": 1
}
]
}
```
List categories
List categories
List all categories for a workspace. Categories group topics.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"id": "Id",
"business_id": "Business Id",
"name": "Name",
"created_at": "Created At"
}
],
"has_more": true
}
```
List connected social accounts
List connected social accounts
List the SOCIAL ACCOUNTS connected to this workspace (Facebook, Instagram, LinkedIn, TikTok, etc.) — NOT the workspace's posts or other workspaces.
Returns one entry per connected account, newest first. Use cursor for
pagination. Pass an entry's `id` to list_integration_posts for that
account's posts, or to disconnect_social_account to remove it.
An Instagram Story connection (`instagramStory`) has `parent_integration_id`,
its Instagram connection; null means that was removed and the app no longer
shows this Story connection.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"id": "Id",
"business_id": "Business Id",
"platform": "Platform",
"status": "Status",
"is_reconnect_fixable": true
}
],
"has_more": true
}
```
List google reviews
List Google Business reviews
List the Google Business reviews for a workspace.
Reads reviews from the workspace's connected Google Business (Google My
Business) account: reviewer, star rating, text, timestamps, and the
workspace's public reply if it has one. Use this to surface or summarize
customer feedback (e.g. pull recent 5-star reviews). Paginate with the
returned `next_cursor` until it is null. When present, `needs_reply` marks
the reviews still waiting on the owner (3 stars or less, no reply).
READ ONLY — this endpoint never writes or replies to reviews.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
401 SOCIAL_TOKEN_EXPIRED: The Google Business connection auth failed; reconnect the account.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 NO_CONNECTED_SOCIALS: No Google Business account is connected to this workspace.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
502 UPSTREAM_PROVIDER_ERROR: Google returned an error while fetching reviews.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"reviews": [
{
"review_id": "Review Id",
"reviewer_name": "Reviewer Name",
"rating": 1,
"created_at": "Created At",
"updated_at": "Updated At",
"has_reply": true
}
],
"has_more": true
}
```
List integration posts
List posts on a platform
List posts published to a connected platform account, with stats.
Live-fetches the most recent posts on the connected account (Marky-posted
or otherwise) plus each post's metrics. Works across Facebook, Instagram,
LinkedIn, Twitter/X, TikTok, Pinterest, and YouTube. Pagination via the
returned `next_cursor` for platforms that support it.
Some accounts cannot be listed at all — a LinkedIn personal profile, or a
platform whose reads we have turned off on cost grounds. Those return 200
with `posts: []` and a populated `unavailable_reason`, NOT an error. Read
that field before concluding the account has no posts.
Google Business posts are listed, but Google reports no metrics for them:
every stat is null (unknown, not zero) and `unavailable_reason` says so.
A date-filtered page can hold fewer than `limit` posts while `next_cursor` is
present; keep paging until `next_cursor` is null.
`unavailable_reason` is also set when the posts ARE returned but their stats
could not be: an Instagram account holding media from before it became a
workspace account gets its posts with every metric null. Null means UNKNOWN,
never zero — do not report it as no engagement.
Errors:
400 invalid_value: The integration_id is not a valid UUID.
400 invalid_request: The date range or pagination cursor was rejected.
401 authentication_required: API key or token is missing, invalid, or revoked.
401 SOCIAL_TOKEN_EXPIRED: The connected account's token expired and could not be refreshed — the response's reconnect_url points to where to reconnect.
403 permission_denied: Your plan does not include API access.
404 resource_not_found: No integration with that ID exists, or it is not in your org.
429 rate_limit_exceeded: You sent too many requests this minute.
502 UPSTREAM_PROVIDER_ERROR: The social platform returned an error while fetching posts.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"posts": [
{
"publish_id": "Publish Id",
"created_time": "Created Time",
"caption": "Caption",
"stats": {
"fetched_at": "2023-01-01T00:00:00Z"
},
"type": "PostType"
}
],
"has_more": true
}
```
List posts
List posts
List posts for a workspace, newest first. Use cursor for pagination.
Pass `view=summary` for a lightweight payload when auditing or de-duping a big
history: a full-view page of 100 posts can be too large for an agent's tool budget.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
List post comments
List post comments
List your team's INTERNAL review notes on a post, newest first.
These are notes between your own team members, NOT the Facebook or Instagram
comments your audience left under the published post, and nothing here is
visible outside your team. They are the same thread the web app's review page
shows. Use them to read back WHY a
reviewer approved (DRAFT) or declined (REJECTED) a post. Use cursor for
pagination.
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"id": "Id",
"body": "Body",
"resolved": true,
"created_at": "Created At"
}
],
"has_more": true
}
```
List queued posts
List queued posts
List the POSTS currently queued into this workspace's upcoming publish slots (what's lined up to go out). Distinct from get_posting_schedule (the recurring slot template) and get_queue_summary (aggregate fullness).
Each entry shows the post's position in the queue and the estimated time it
will publish (projected from the queue's recurring timeslots — approximate,
since it ignores jitter and skipped slots). Posts scheduled for an exact time
via `schedule` (adhoc) are NOT in this list; only daily-queue posts are.
For just "how full is the queue / when does it run dry", use
get_queue_summary instead of paging this list.
Errors:
400 invalid_value: The business_id is not a valid UUID.
400 invalid_request: The cursor is malformed.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"post_id": "Post Id",
"queue_id": "Queue Id",
"position": 1,
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
]
}
],
"has_more": true,
"summary": {
"queued_count": 1,
"scheduled_count": 1
}
}
```
List topics
List topics
List all topics for a workspace.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"id": "Id",
"business_id": "Business Id",
"title": "Title",
"enabled": true,
"created_at": "Created At"
}
],
"has_more": true
}
```
List workspaces
List workspaces
List the workspaces you can access.
An API key sees its organization's workspaces. A signed-in user sees every
workspace in an org they own or administer, plus only the specific workspaces
they were added to in an org where they are a guest.
START HERE: every other endpoint takes a workspace id (the `business_id`
parameter), and this is the tool that returns them. An agent with no workspace
id in context begins with this call. Returns SUMMARY rows only (id, name,
description, industry, website, language, timestamps), newest first. To read a
workspace's full profile (strategy doc, design style, writing instructions),
call get_workspace with the id from this list. Optional `name` narrows the list
by case-insensitive substring match. If `next` is set, keep paging with it
before concluding a workspace doesn't exist.
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"id": "Id",
"language": "Language",
"created_at": "Created At"
}
],
"has_more": true
}
```
Publish post now
Publish post now
Publish a post immediately to its connected platforms.
Fires the publish flow in the background and returns the post right away.
get_post shows the final `status` (`PUBLISHED` once every targeted platform
is done).
Errors:
400 invalid_request: restrict_publish_to_integration_ids names only accounts outside the post's own restrict_publish_to_integration_ids. A publish can narrow the post's accounts, never add to them; change the post with update_post first.
400 invalid_request: A media link has no file behind it; the message names it. Not published.
401 authentication_required: API key or token is missing, invalid, or revoked.
402 PAYMENT_REQUIRED: The workspace's plan doesn't include publishing. The post is NOT published and is unchanged. Tell the user publishing needs a paid plan; it can still be scheduled.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
409 CAPTION_HAS_PLACEHOLDER: The caption still has an unfilled [[placeholder]] (a fact only the owner knows). The post is NOT published and is unchanged. Fill it in with update_post, then publish it again.
409 NO_CONNECTED_SOCIALS: No connected account can publish this post (none connected, all need a reconnect, or none can take this content). The post is NOT published and is unchanged. Follow `recovery_hint` (usually: call connect_social), then publish it again.
429 rate_limit_exceeded: You sent too many requests this minute.
A post created with `restrict_publish_to_integration_ids` publishes to those
accounts only. The response's `publish_readiness` lists the platforms the post will
publish to and any connected account that won't get it, with the reason.
`delivery` on a later read says what actually landed.
### Responses:
**202**: Publish accepted; firing in background (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"publish_results": [
{
"platform": "Platform",
"status": "Status"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"url": "Url"
}
```
Queue post
Add post to queue
Add a post to the workspace's posting Queue.
Use this instead of `schedule` when you want the post to go out at the next
open slot in the workspace's posting schedule, rather than at a fixed time you
pick. The post is appended to the end of the queue and publishes
automatically when its turn comes up — the same behavior as the "Add to
queue" button in the app. If the workspace has no queue yet, a default daily
schedule is created for it. To queue several posts, use `schedule_posts`
with the ids in order: separate calls sent at once can't keep an order.
A post that already carries a future date (created with
`scheduled_publish_time` while NEW) keeps it: it is scheduled AT that date,
comes back with `scheduled_publish_time` set and `queue` null.
A post whose caption names a day (`copy_date`, e.g. National Day) never goes
into a slot after that day: it is scheduled ON the day instead (warning
SCHEDULED_ON_COPY_DATE, quote its time), or, when that day's time has passed,
refused with 409 COPY_DATE_BEFORE_NEXT_SLOT.
The post must not already be published. Otherwise, on success the post comes
back with `status` = SCHEDULED, `scheduled_publish_time` = null, and a populated `queue`
object showing its position in line and estimated publish time.
Errors:
400 POST_ALREADY_PUBLISHED: The post is already live, so it can't be queued. Duplicate it and queue the copy. Carries `published_at`.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
400 PLATFORM_RULE_VIOLATION: A platform in publish_to would refuse the post. It is NOT queued and is unchanged; `violations` lists each broken rule.
400 invalid_request: A media link has no file behind it; the message names it. Not queued.
409 CAPTION_HAS_PLACEHOLDER: The caption still has an unfilled [[placeholder]] (a fact only the owner knows). The post is NOT queued and is unchanged. Fill it in with update_post, then queue it again.
409 NO_CONNECTED_SOCIALS: No connected account can publish this post (none connected, all need a reconnect, or none can take this content). The post is NOT queued and is unchanged, and no queue is created. Follow `recovery_hint` (usually: call connect_social), then queue it again.
409 COPY_DATE_BEFORE_NEXT_SLOT: The caption names a day (`copy_date`), the next queue slot (`next_slot_local`) is after it, and that day's posting time has passed. The post is NOT queued and is unchanged. Ask the user: publish_post_now, schedule_post at a time on or before the day, or queue again with ignore_copy_date=true.
429 rate_limit_exceeded: You sent too many requests this minute.
On success, `publish_readiness` lists the platforms the post will publish to
and any connected account that won't get it, with the reason.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"publish_results": [
{
"platform": "Platform",
"status": "Status"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"url": "Url"
}
```
Schedule post
Schedule post
Schedule a post for publishing at a specific time.
The post must be in NEW, DRAFT, or SCHEDULED status. Set `scheduled_publish_time` to a
future datetime (ISO 8601). The post will be published automatically at that
time to all connected platforms, or to specific platforms if
`restrict_publish_to` is set.
For a RECURRING / evergreen post, also set `repeating_cron` (a 5-field cron
string): `scheduled_publish_time` is the first run and Marky auto-creates the
next occurrence after each publish. This is the ONLY place recurrence is set —
re-schedule with `repeating_cron: null` to stop it. Scheduling also clears any
queue placement (a post is either queued OR fixed-time, never both).
Errors:
400 POST_ALREADY_PUBLISHED: The post is already live, so it can't be scheduled. Duplicate it and schedule the copy. Carries `published_at`.
400 invalid_request: The post status is not NEW, DRAFT, or SCHEDULED, or scheduled_publish_time is not in the future.
400 PLATFORM_RULE_VIOLATION: A targeted platform would refuse the post. It is NOT scheduled and is unchanged; `violations` lists each broken rule.
400 invalid_request: A media link has no file behind it; the message names it. Not scheduled.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
409 NO_CONNECTED_SOCIALS: No connected account can publish this post (none connected, all need a reconnect, or none can take this content). The post is NOT scheduled and is unchanged. Follow `recovery_hint` (usually: call connect_social), then schedule it again.
429 rate_limit_exceeded: You sent too many requests this minute.
On success, `publish_readiness` lists the platforms the post will publish to
and any connected account that won't get it, with the reason.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"publish_results": [
{
"platform": "Platform",
"status": "Status"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"url": "Url"
}
```
Search media library
Search media library
Search a workspace's MEDIA library by meaning, returning the best matches first.
Semantic (vector) search over each image's alt-text. For a plain
reverse-chronological list use `list_library`.
By default it returns the workspace's own, unused, full-size photos (not posted
recently, not AI-generated, 600px or more on the long side). If none pass, it
returns the best matches without the recency and size filters, and each item's
`last_used_at` shows it was posted before. `unused_count` is how many unused
photos the library holds.
Results are a single ranked page (most relevant first), so `next` is always
null — raise `limit` to get more.
The owner's flyers and other pictures with their own words on them are left out. Pass
`include_flyers=true` only when the post is a plain photo with no template or headline
on top: then the ones that match the query come after the photos.
`include_hidden=true` also finds uploads search skips (see `hidden_reason`); they still
work in `media_ids`.
If meaning-based search is temporarily down, it still answers: the results
are keyword matches on alt text and file names, and `notice` says so.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"items": [
{
"id": "Id",
"business_id": "Business Id",
"created_at": "Created At",
"low_res": true,
"hidden": true
}
],
"has_more": true,
"unused_count": 1
}
```
Start base64 media upload
Start a base64 media upload
Start sending a local image or video to a workspace's MEDIA library through MCP calls.
USE THIS when the file is only on your disk AND your sandbox cannot reach
api.mymarky.ai (the `create_media_upload` PUT fails with a connection error or a
403 from your proxy). The bytes travel inside these tool calls, so it works wherever
the MCP works. If the file has a public URL, use `upload_media_from_url` instead;
if your sandbox can reach api.mymarky.ai, `create_media_upload` is faster.
Steps:
1. Call this; keep the `upload_id`.
2. Split the file into chunks of at most `chunk_max_bytes` (4 MiB) and send each,
base64-encoded, with `append_base64_media_chunk` (index 0, 1, 2, ...). A small
file is one chunk.
3. Call `finish_base64_media_upload` with `chunk_count`. It returns the media asset;
its `original_url` feeds `create_post`.
Chunk size: if your runtime calls tools from code, send up to 4 MiB per chunk. If
you write the base64 into each call yourself, keep chunks near 48 KB (64K base64
characters), so a large file takes many calls; for big videos prefer a public URL.
Limits: 50 MB per file (images 20 MB), 4 MiB per chunk, 6 hours to finish. JPEG, PNG,
WebP, GIF, MP4 and MOV; the bytes decide the type, not the name.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
413 FILE_TOO_LARGE: total_bytes is over the 50 MB limit.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"upload_id": "Upload Id",
"chunk_max_bytes": 1,
"max_bytes": 1,
"max_chunks": 1,
"expires_in": 1,
"instructions": "Instructions"
}
```
Submit feedback
Submit feedback
Submit a bug report, feature request, or general feedback.
Works from agents, scripts, or any API consumer. Feedback is stored
and routed to the support team.
Send an `Idempotency-Key` header to make a retry safe (a resend with the same
key returns the original submission instead of filing a duplicate).
Errors:
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access.
422 IDEMPOTENCY_KEY_CONFLICT: The Idempotency-Key was reused with a different body.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"status": "Status"
}
```
Update post
Update post
Update a post's caption, review status, target platforms, media, or platform overrides.
`status` moves the post through YOUR TEAM's review workflow: set NEW to tell
your team the post is ready for their review (it appears on the app's review
page), DRAFT to record a reviewer's approval, REJECTED to record a decline.
Marky does not gate publishing on these — they are your team's workflow
state. Status can only change on posts currently in NEW, DRAFT, or REJECTED:
scheduling has its own endpoint, and published posts are immutable.
`platform_overrides` replaces the post's whole override set: send the full
list to keep, `[]` to clear, or omit the field to leave overrides untouched.
Errors:
400 invalid_request: The post is already published, no fields were given to update, or status was sent for a post that is SCHEDULED, PUBLISHED, GENERATING, or FAILED.
400 PLATFORM_RULE_VIOLATION: The post is SCHEDULED and this edit would make a platform in publish_to refuse it. Nothing is changed; `violations` lists each broken rule.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No post with that ID exists, or it is not in this workspace.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"publish_results": [
{
"platform": "Platform",
"status": "Status"
}
],
"created_at": "Created At",
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"url": "Url"
}
```
Update posting schedule
Update posting schedule
Replace a workspace's recurring posting schedule, or pause it.
Send the full set of weekly timeslots in `DAY HH:MM` 24-hour form, either on
the workspace's own clock with `timeslots_local` (e.g. 1 PM local is
`{"timeslots_local": ["MON 13:00", "WED 13:00"]}`) or in UTC with
`timeslots` (`{"timeslots": ["MON 18:00", "WED 18:00"]}`). Send exactly one.
When the owner names a time, use `timeslots_local`: it is the hour they said.
This replaces the whole schedule (it is not a merge). The next publish time is
recomputed automatically from the new slots. Check `timeslots_local` in the
response before telling the owner what was saved. `existing_posts` says what
the change did to posts already scheduled, so they need no re-listing.
**To stop posting without losing anything, send `paused: true`** alongside the
current timeslots. Nothing publishes while a schedule is paused; the slots and
every queued post are kept, and `paused: false` resumes from the next upcoming
slot. Sending an empty `timeslots` is NOT a pause — it is a request to delete
the schedule, and it is refused.
Errors:
400 invalid_value: The business_id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
422 invalid_request: A timeslot is not in 'DAY HH:MM' 24-hour form, or both `timeslots` and `timeslots_local` were sent.
422 SCHEDULE_HAS_NO_TIMESLOTS: No timeslots were sent. Send `paused: true` to stop posting instead.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"queue_id": "Queue Id",
"business_id": "Business Id",
"timeslots": [
"string"
],
"jitter_minutes": 1,
"timeslots_local": [
"string"
],
"free_slots_local": [
"string"
],
"taken_slots_local": [
"string"
],
"open_days_local": [
"string"
],
"paused": true
}
```
Update workspace
Update workspace
Update a workspace. Only provided fields are changed.
Changing the website does not rewrite posts that are already made.
`propagation` says how many unpublished posts still carry the old value and
gives the update_posts call that fixes them.
Errors:
400 invalid_request: No fields were given to update.
400 invalid_value: The workspace id is not a valid UUID.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
409 NAME_MATCHES_OTHER_WORKSPACE: Another workspace in your org already has that name. Nothing was saved. Send allow_duplicate_name=true to rename anyway.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**200**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"language": "Language",
"events": [
{
"name": "Name",
"date": "2023-01-01",
"kind": "Kind"
}
],
"created_at": "Created At",
"propagation": [
{
"field": "Field",
"old": "Old",
"affected_unpublished": 1,
"requires": "Requires"
}
],
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
],
"field_budgets": [
{
"field": "Field",
"limit": 1,
"used": 1,
"remaining": 1
}
]
}
```
Upload media from reference
Upload media from a host file reference
Add a file to a workspace's MEDIA library from a host-issued file reference. The `file` argument must carry a real host-issued `download_url` (for example, one an MCP host such as ChatGPT fills from a user attachment or generated image); Marky downloads the bytes server-side and stores a durable copy. The returned `original_url` is the Marky-hosted link to use with `create_post`. Without such a reference, use `upload_media_from_url` for media that has an http(s) URL, or `create_media_upload` / the base64 upload tools for local files.
Upload media from url
Upload media (from URL)
Add an image or video to a workspace's MEDIA library by giving Marky a URL to fetch.
PREFER THIS whenever the media has any http(s) URL (a generated-image output URL,
a web image, a CDN or file-host link). It is the simplest, most reliable path: Marky
downloads it server-side, so it works even when your runtime can't make outbound
requests. Only reach for `create_media_upload` (a local file AND your runtime has
outbound network) or `upload_media_from_reference` (ChatGPT only, auto-filled) when
you do NOT have a URL. Pass the http(s) URL; we store a durable copy. Private and
internal addresses (and redirects to them) are rejected.
Send an `Idempotency-Key` header to make a retry safe (a resend that fetches
the same bytes returns the original media asset instead of a duplicate).
Supported formats: JPEG, PNG, WebP, GIF, MP4, MOV. Images are automatically
optimized. Max size: 20 MB for images, 500 MB for video.
Errors:
400 invalid_value: The business_id is not a valid UUID, the URL is not fetchable (bad scheme, private address, HTTP error), or the content is not a supported image or video.
401 authentication_required: API key or token is missing, invalid, or revoked.
403 permission_denied: Your plan does not include API access, or this workspace is not in your org.
404 resource_not_found: No workspace with that ID exists.
413 FILE_TOO_LARGE: The fetched media is larger than the size limit.
422 IDEMPOTENCY_KEY_CONFLICT: The Idempotency-Key was reused with a different body.
429 rate_limit_exceeded: You sent too many requests this minute.
### Responses:
**201**: Successful Response (Success Response)
Content-Type: application/json
**Example Response:**
```json
{
"id": "Id",
"business_id": "Business Id",
"created_at": "Created At",
"hidden": true,
"warnings": [
{
"field": "Field",
"level": "Level",
"message": "Message"
}
]
}
```
Maak verbinding
Voeg Marky MCP toe aan je Slack in twee minuten.
Geen workflows om op te zetten. Zet de tools aan die je al gebruikt en je agent gaat aan de slag.
Toevoegen aan Slack
1
Voeg Sokko toe aan Slack
Eén klik vanuit de Slack-marketplace. Je hele team krijgt Sokko in één keer.
2
Verbind je tools
Sokko werkt met meer dan 1.000 apps en elke MCP-server.
Martin
9:53 AM
@Sokko
Wat kun je doen met Marky MCP?
3
Zet Sokko aan het werk
@vermeld Sokko in elk kanaal en hij gaat aan de slag. Minuten, geen weekend.
Vragen, beantwoord.
Sokko is een AI-assistent die in je Slack leeft. Verbind je apps, vraag in gewone taal wat je nodig hebt, en Sokko neemt het werk uit handen.
Meld je aan bij Sokko, vraag Sokko om verbinding te maken met Marky MCP en keur de verbinding goed wanneer daarom wordt gevraagd. Daarna kun je Sokko altijd vragen om dingen te doen in Marky MCP.
Nee. Er valt niets te bouwen of in te stellen. Je vraagt het Sokko in Slack net zoals je een collega zou vragen, en Sokko doet de rest.
Ja. Vraag het één keer en vertel Sokko wanneer hij het moet herhalen, bijvoorbeeld elke maandag om 9 uur, en het wordt een routine die zonder jou draait.
Gegevens in Marky MCP lezen en er actie op ondernemen, en workflows starten wanneer daar iets verandert. Vertel Sokko welk resultaat je wilt en het doet de rest.
Ja. Sokko verbindt met 1.000+ apps en elke MCP-server, dus je kunt in één verzoek taken vragen die Marky MCP en de rest van je stack omvatten.