Connect your systems to Marcomm AI
Read news digests, critical news and pending approvals from your own systems, and approve or reject from your own approval tools. The API is available on the Team plan and above, after a short review.
Get started
- 1Apply for access
Describe your system and pick the data you need. We review every application.
- 2Create a key
After approval, create a key in Settings, API. The key is shown once, so store it in your system.
- 3Send a request
Send the key in the Authorization header and call any endpoint below.
Example request
curl https://app.marcomm.works/api/v1/news/digest?days=7 \
-H "Authorization: Bearer mc_live_..."Authentication
Send your key as a Bearer token with every request. A personal key acts as the person who created it, so it can read and decide approvals in that person's name. A workspace key is created by an admin and can only read. Keys can expire, can be limited to IP addresses, and can be rotated: the old key keeps working for 24 hours after a rotation.
Scopes
Each key carries only the scopes your application was approved for.
- news
- News digest, articles and outlets.
- crisis
- Critical news and crisis incidents.
- approvals
- Pending approvals, and approving or rejecting them with a personal key.
- content
- Reading press releases and blog posts.
- content:write
- Creating and editing press releases, blog posts, press events and RSVP invitations, and requesting approval. Needs a personal key.
- distribution
- Publishing to the newsroom and blog, and sending press releases and RSVP invitations by email. Needs a personal key.
Endpoints
Every path starts with /api/v1. Read endpoints use GET and take query parameters. A response is JSON in the form {"data": ...}.
OpenAPI 3 · /api/v1/openapi.json
- GET/api/v1/meanyConnection test: the workspace and the key owner. Works with any valid key, whatever its scopes.
- GET/api/v1/news/digestnewsCoverage volume, sentiment and top outlets for a period.
- GET/api/v1/news/articlesnewsSearch news coverage.
- GET/api/v1/news/outletsnewsMedia outlets that cover your companies.
- GET/api/v1/crisis/incidentscrisisCrisis incidents and critical articles.
- GET/api/v1/approvalsapprovalsPress releases and blog posts waiting for the key owner, and the ones the key owner asked to have approved.
- GET/api/v1/press-releasescontentList press releases.
- GET/api/v1/press-releases/{id}contentOne press release with its lead paragraph and text.
- GET/api/v1/blog-postscontentList blog posts.
- GET/api/v1/blog-posts/{id}contentOne blog post with its text.
- GET/api/v1/press-eventscontentList press events.
- GET/api/v1/press-events/{id}contentOne press event with its RSVP counts.
- GET/api/v1/rsvp-invitescontentList RSVP invitations.
- GET/api/v1/rsvp-invites/{id}contentOne RSVP invitation with the names and replies of its recipients.
- POST/api/v1/approvals/press-releases/{id}approvalsApprove or reject a press release that is waiting for the key owner.
- POST/api/v1/approvals/blog-posts/{id}approvalsApprove or reject a blog post that is waiting for the key owner.
- POST/api/v1/press-releasescontent:writeCreate a press release draft.
- PATCH/api/v1/press-releases/{id}content:writeChange a press release draft.
- POST/api/v1/press-releases/{id}/request-approvalcontent:writeSend a press release to approval with a deadline.
- POST/api/v1/blog-postscontent:writeCreate a blog post draft.
- PATCH/api/v1/blog-posts/{id}content:writeChange a blog post draft.
- POST/api/v1/blog-posts/{id}/request-approvalcontent:writeSend a blog post to approval with a deadline.
- POST/api/v1/press-eventscontent:writeCreate a press event.
- PATCH/api/v1/press-events/{id}content:writeChange a press event.
- POST/api/v1/rsvp-invitescontent:writeCreate an RSVP invitation.
- PATCH/api/v1/rsvp-invites/{id}content:writeChange the title, subject and preview text of an RSVP invitation.
- POST/api/v1/rsvp-invites/{id}/recipientscontent:writeAdd recipients to an RSVP invitation.
- POST/api/v1/press-releases/{id}/publishdistributionPublish a press release to the public newsroom now.
- POST/api/v1/press-releases/{id}/senddistributionSend a press release by email to addresses or journalist groups.
- POST/api/v1/blog-posts/{id}/publishdistributionPublish a blog post now, or schedule it with scheduledAt.
- POST/api/v1/rsvp-invites/{id}/senddistributionSend an RSVP invitation, send a test, or schedule it with scheduledAt.
Approve and reject
Send {"decision": "approve"} or {"decision": "reject", "comment": "..."} to the item. Rejecting needs a comment. The decision follows the same rules as the app and Slack, and it is recorded under the key owner. When the text contains phrases that need confirmation, you receive 409 confirmation_required with the warnings, and you can send the request again with "force": true.
curl -X POST https://app.marcomm.works/api/v1/approvals/press-releases/<id> \
-H "Authorization: Bearer mc_live_..." \
-H "Content-Type: application/json" \
-d '{"decision":"reject","comment":"Please fix the headline."}'Write, publish and send
POST and PATCH take a JSON body. Writing, publishing and sending need a personal key with the content:write or distribution scope, and they follow the key owner's role and approval rules exactly as the app does. Publishing and sending cannot be undone, so send confirm set to true or an Idempotency-Key header. A retry with the same Idempotency-Key runs once and returns the first result for 24 hours.
curl -X POST https://app.marcomm.works/api/v1/press-releases/<id>/send \
-H "Authorization: Bearer mc_live_..." \
-H "Idempotency-Key: 4f6c1b9e-send-2026-11-12" \
-H "Content-Type: application/json" \
-d '{"subject":"Acme launches Atlas","groupIds":["<group id>"],"confirm":true}'Polling for new items
Press release, blog post and press event lists take status, updated_since, sort (created or updated) and cursor. When a page is full, the response has meta.next_cursor: send it as cursor to get the next page. To poll, use sort=updated and set updated_since to the time of your last check.
curl "https://app.marcomm.works/api/v1/press-releases?status=PUBLISHED&sort=updated&updated_since=2026-11-01T00:00:00Z&limit=50" \
-H "Authorization: Bearer mc_live_..."Rate limits
Limits are set per workspace, per minute and per day (UTC). Every response carries the headers below. Past a limit you receive 429 with Retry-After. To raise a limit, request an increase in Settings, API. Our team reviews it.
- X-RateLimit-Limit
- Requests allowed per minute.
- X-RateLimit-Remaining
- Requests left in the current minute.
- X-RateLimit-Reset
- Unix time when the minute window resets.
- X-RateLimit-Day-Limit
- Requests allowed per day.
- X-RateLimit-Day-Remaining
- Requests left today.
- Retry-After
- Seconds to wait before trying again. Only on 429.
Errors
Errors return JSON in the form {"error": {"code": ..., "message": ...}}.
- invalid_key401The key is missing, malformed or revoked.
- expired401The key has expired. Create or rotate a key.
- ip_denied403The key is limited to other IP addresses.
- plan_required403The workspace is not on the Team plan or above.
- access_required403API access is not approved for this workspace.
- suspended403API access for this workspace is suspended.
- forbidden403The key owner cannot use the workspace right now (membership, billing or terms).
- scope_denied403The key does not have the scope this endpoint needs.
- personal_key_required403Only a personal key can approve or reject.
- denied403The key owner's role does not allow this.
- unknown_endpoint404There is no such endpoint.
- not_found404There is no item with this id in the workspace.
- invalid_input400A field is missing or not valid.
- comment_required400A reason is required to reject.
- confirmation_required409Confirmation is needed. Warnings need force set to true. Publishing and sending need confirm set to true or an Idempotency-Key header.
- approval_required409The workspace requires approval before publishing.
- invalid_state409The item is not in a state that allows this.
- publish_held409A future publish time or an embargo is set. Request approval with a deadline.
- sending_suspended403Sending is suspended for this workspace.
- request_in_progress409A request with the same Idempotency-Key is still running.
- idempotency_key_reused422The Idempotency-Key was already used with a different request.
- rate_limited429The per-minute limit was exceeded.
- daily_limit429The daily limit was reached.
- failed500The request could not be completed. Try again.
Webhooks
Alerts, approval requests and the digest can also be pushed to your system. Add a destination in Settings, API, Webhooks. Each request is JSON with the fields event (alert, approval or briefing), workspace, title, text, url, data and sentAt. An approval request carries data.kind (press_release, blog or event) and data.id, which you can use to read and decide through the API.
Each request is signed. Compute the HMAC-SHA256 of the raw request body with your signing secret and compare it to the X-Marcomm-Signature header, which has the form sha256=<hex>. Reject requests that do not match.
Verifying a webhook in Node.js
import { createHmac, timingSafeEqual } from 'node:crypto';
export function isFromMarcomm(rawBody: string, signature: string, secret: string) {
const expected = 'sha256=' + createHmac('sha256', secret).update(rawBody).digest('hex');
const a = Buffer.from(expected);
const b = Buffer.from(signature);
return a.length === b.length && timingSafeEqual(a, b);
}Claude and ChatGPT (MCP)
Marcomm also runs a Model Context Protocol (MCP) server. In Claude or ChatGPT, add a custom connector with the address below, sign in with your own Marcomm account and choose a workspace, then work with it in plain language. The assistant can only do what the signed-in person's role allows. An administrator can turn the connection off in Settings, AI tool connections. Gemini Enterprise connects as a custom MCP server in the same way, and Gemini CLI uses an extension; the steps are in the Marcomm guide.
https://app.marcomm.works/api/mcpRead: press releases, blog posts, news coverage, journalists, outlets, crisis incidents, events, reports and pending approvals. Write: save and edit drafts of press releases, blog posts and PR strategies, and request approval for a press release. It does not approve, reject or send for you; those decisions stay in the app.
Connection guides
Approve from your approval system
- Add a generic webhook destination and turn on approval requests.
- When an approval webhook arrives, verify the signature and read data.kind and data.id.
- Show the request in your approval system. Read the text with GET press-releases/{id} or blog-posts/{id} if you need it.
- Send the decision with a personal key of the person who decides. Events and email sends are decided in the app through the link in the message.
Feed the news digest into your dashboard
- Create a workspace key with the news and crisis scopes.
- Call news/digest on a schedule, for example every morning.
- Call crisis/incidents more often if you want your own alerting. Watch the X-RateLimit headers so you stay within your limits.
Alerts in your chat
- For Teams and Google Chat, create the room's webhook URL and add it as a destination in Settings, API, Webhooks.
- For JANDI, Dooray! and Chatwork, connect them from Settings, Integrations.
- Choose which of alerts, approval requests and the digest each destination receives, then send a test message.
Ready to connect?
A workspace owner or admin applies in Settings, API. You are notified by email and in the app when the review is done.
Open API settings