Narrareach Articles API
Schedule and manage long-form article publishing.
Schedule and manage long-form article publishing.
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/narrareach-com:narrareach-com-articles-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: Narrareach Automation Articles API
version: 1.1.0
description: Scoped REST API for authenticated Narrareach agents and automations. Create tokens in Narrareach settings and grant only the permissions required by the client. 1.1.0 adds Note versions (/api/v1/notes/{id}/versions) and hashtag sets (/api/v1/notes/hashtag-sets), the article and Note request fields the API already accepted, the refresh parameter on LinkedIn Article destinations, Stats engagement-peak basis and benchmark fields, the outbound webhooks payloads, and a list of error codes (components.x-error-codes). 429 is now declared only on the operations that can return it.
contact:
name: Narrareach Support
url: https://www.narrareach.com/contact
servers:
- url: https://www.narrareach.com
description: Production
tags:
- name: Articles
description: Schedule and manage long-form article publishing.
paths:
/api/v1/articles:
post:
tags:
- Articles
summary: Schedule an article
description: Creates or reuses an article draft and schedules it on the selected long-form platforms.
operationId: scheduleArticle
security:
- scopedBearerToken:
- articles:write
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ScheduleArticleRequest'
responses:
'202':
description: Successful response.
content:
application/json:
schema:
type: object
additionalProperties: true
properties:
warnings:
type: array
items:
type: string
description: Non-blocking notes for the writer; the article is accepted.
connectionWarnings:
type: array
description: 'Structured connection warnings. LINKEDIN_SESSION_REFRESH_REQUIRED: the LinkedIn article is scheduled, but the writer must resync LinkedIn Articles (Settings → Platform connections → LinkedIn Articles → Update connection). An idempotent replay checks it again.'
items:
type: object
required:
- platform
- code
- message
- action
properties:
platform:
type: string
example: LINKEDIN
code:
type: string
example: LINKEDIN_SESSION_REFRESH_REQUIRED
message:
type: string
action:
type: string
example: RESYNC_LINKEDIN_ARTICLES
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
description: 'VIDEO_REQUIRES_SUBSTACK_ONLY: article video is supported only when SUBSTACK is the only platform.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
$ref: '#/components/responses/InternalError'
'503':
description: 'VIDEO_PROCESSING: the article video is not ready yet; check the schedule instead of resubmitting. VIDEO_DISABLED: article video publishing is temporarily unavailable.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
/api/v1/substack/verification:
post:
tags:
- Articles
summary: Confirm your Substack connection
description: 'Request and submit a Substack code in your existing workflow. Only the connected account owner can confirm. Pass the returned scheduledPostId on every action to resume that same article job. Check status first, then start if needed, collect the user’s code, and complete with the returned id. Never automatically repeat a code submission. If start returns verified: true, skip code entry. After confirmation, poll the existing schedule ID; do not create another article. For older responses without a schedule ID, promptly retry the saved draft with the original settings; scheduling checks for an existing matching schedule before creating one. If changing from new content to draftId, use a new idempotencyKey and reuse it only for that exact request. Confirmation alone is not proof of delivery.'
operationId: verifySubstack
security:
- scopedBearerToken:
- articles:write
requestBody:
required: true
content:
application/json:
schema:
type: object
additionalProperties: false
required:
- action
- connectionId
properties:
action:
type: string
enum:
- status
- start
- complete
- cancel
connectionId:
type: string
minLength: 1
maxLength: 64
scheduledPostId:
type: string
minLength: 1
maxLength: 64
description: Pass the article job ID returned in substackDelivery.verification on each action to select and resume that same job.
id:
type: string
minLength: 1
maxLength: 64
description: Required for complete and cancel. Use the code request id from start or status.
code:
type: string
maxLength: 16
writeOnly: true
description: Required only for complete. The six-digit code supplied by the user.
responses:
'200':
description: Successful response.
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'429':
description: 'cooldown: wait about a minute before requesting another code. hourly_limit: too many codes were requested this hour. Retry-After gives the seconds to wait.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
$ref: '#/components/responses/InternalError'
'502':
description: 'unavailable: Substack could not send or confirm the code. Check the code request''s status before trying again.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'503':
description: 'busy: the Substack connection is updating; try again in a moment.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
/api/v1/linkedin/article-destinations:
get:
tags:
- Articles
summary: List LinkedIn Article destinations
description: Lists the signed-in personal profile and administered Company Pages. Pass authorUrn to also list that author’s newsletters.
operationId: listLinkedInArticleDestinations
security:
- scopedBearerToken:
- articles:write
parameters:
- name: authorUrn
in: query
required: false
schema:
type: string
- name: refresh
in: query
required: false
schema:
type: string
enum:
- 'true'
description: Set to true to ask LinkedIn again instead of using the recently saved list, for example after gaining access to a Company Page. Other values use the saved list.
responses:
'200':
description: Successful response.
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'500':
$ref: '#/components/responses/InternalError'
'502':
description: 'LINKEDIN_DESTINATIONS_UNAVAILABLE: LinkedIn destinations could not be loaded. Retry once, then reconnect LinkedIn.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
/api/v1/medium/publications:
get:
tags:
- Articles
summary: List Medium publications
description: Lists the Medium publications the connected account can submit stories to. Pass the returned id as mediumPublicationId on POST /api/v1/articles.
operationId: listMediumPublications
security:
- scopedBearerToken:
- articles:write
parameters:
- name: refresh
in: query
required: false
schema:
type: string
enum:
- '1'
description: Set to 1 to check Medium for publication changes instead of using the saved list.
responses:
'200':
description: Successful response.
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
connected:
type: boolean
publications:
type: array
items:
type: object
properties:
id:
type: string
name:
type: string
slug:
type: string
avatarId:
type: string
nullable: true
canPublish:
type: boolean
description: true publishes directly under the publication; false submits the story for editorial review instead.
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'429':
description: 'MEDIUM_PUBLICATIONS_BUSY: Medium is busy; wait a minute, then retry. error.details.retryAfterMs may say how long.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
'500':
$ref: '#/components/responses/InternalError'
'502':
description: 'MEDIUM_PUBLICATIONS_UNAVAILABLE: Medium publications could not be refreshed.'
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
/api/v1/article-schedules/{id}:
get:
tags:
- Articles
summary: Get an article schedule
description: 'Returns the current state of an article publishing schedule. Completed WordPress/Ghost draft deliveries report outcome saved_draft and remoteEditUrl, without a public URL or publication. substackDelivery distinguishes waiting for owner verification from publishing in progress; neither confirms delivery. When substackDelivery.requiresVerification is true, use its verification.connectionId with POST /api/v1/substack/verification to request and submit the user’s code in the current workflow. If already verified, skip code entry. Then poll this same schedule ID; do not create another article. The owner’s articles:write token is sufficient; no website sign-in is needed. pendingScheduleChange, when not null, is a time change Substack has not applied yet: scheduledFor stays the current time until it is. When its verificationRequired is true, entering the code with its connectionId applies it; do not send the change again.'
operationId: getArticleSchedule
security:
- scopedBearerToken:
- articles:write
parameters:
- name: id
in: path
required: true
description: Narrareach resource identifier.
schema:
type: string
minLength: 1
responses:
'200':
description: Successful response.
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'500':
$ref: '#/components/responses/InternalError'
patch:
tags:
- Articles
summary: Reschedule an article
description: Changes the publication time for a scheduled article.
operationId: rescheduleArticle
security:
- scopedBearerToken:
- articles:write
parameters:
- name: id
in: path
required: true
description: Narrareach resource identifier.
schema:
type: string
minLength: 1
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RescheduleArticleRequest'
responses:
'200':
description: Successful response.
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'500':
$ref: '#/components/responses/InternalError'
delete:
tags:
- Articles
summary: Cancel an article schedule
description: Cancels a pending article schedule without deleting its draft.
operationId: cancelArticleSchedule
security:
- scopedBearerToken:
- articles:write
parameters:
- name: id
in: path
required: true
description: Narrareach resource identifier.
schema:
type: string
minLength: 1
responses:
'200':
description: Successful response.
content:
application/json:
schema:
type: object
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PaymentRequired'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'500':
$ref: '#/components/responses/InternalError'
components:
schemas:
RescheduleArticleRequest:
type: object
required:
- scheduledFor
properties:
scheduledFor:
type: string
format: date-time
timezone:
type: string
additionalProperties: false
ScheduleArticleRequest:
type: object
required:
- platforms
allOf:
- anyOf:
- required:
- draftId
- required:
- title
- contentHtml
- anyOf:
- required:
- scheduledFor
- required:
- platformSchedules
properties:
publishMode:
type: string
enum:
- publish
- draft
description: Only valid when all selected destinations are WORDPRESS or GHOST. draft saves a remote draft without creating a publication or public URL.
draftId:
type: string
title:
type: string
maxLength: 500
subtitle:
type: string
maxLength: 500
description: Optional article subtitle. Substack delivery omits subtitles over 250 characters and returns a warning; the saved draft remains unchanged.
contentHtml:
type: string
maxLength: 250000
description: For a native Substack paywall, use <hr data-type="paywall"> at the chosen paragraph boundary. A single {{NARRAREACH_PAYWALL}} in article text is translated automatically; paywallMarker is only needed for custom tokens. If placement is unclear, ask where the free preview ends before scheduling. For a native subscribe block, use <div data-type="button" data-kind="subscribeCaption" data-text="Subscribe" data-caption="Your caption"></div> at the requested position, escaping attribute values as HTML. Use data-kind="subscribe" for no caption. Ordinary subscription links remain links, not native widgets.
coverImage:
$ref: '#/components/schemas/MediaSource'
description: Optional cover image for a new draft, placed at the top of the published body.
media:
type: array
maxItems: 12
description: Optional inline images or Substack article videos for a new draft. Each replaces a 1-based {{media:N}} placeholder in contentHtml in order; leftovers are appended. kind defaults to image. Video requires SUBSTACK as the only platform (otherwise VIDEO_REQUIRES_SUBSTACK_ONLY) and is accepted as MP4, WebM, MOV or M4V up to 100MB from a public URL.
items:
type: object
required:
- sourceType
additionalProperties: false
properties:
kind:
type: string
enum:
- image
- video
default: image
sourceType:
type: string
enum:
- url
- data_uri
- base64
url:
type: string
maxLength: 20000
data:
type: string
maxLength: 15000000
mimeType:
type: string
maxLength: 120
fileName:
type: string
maxLength: 200
sendToNewsletter:
type: boolean
description: 'Substack only: email the post to subscribers. Defaults to true.'
isPaidContent:
type: boolean
description: 'Substack only: make the post paid-only, independently of email delivery. Defaults to false. Cannot be combined with freewall.'
freewall:
type: boolean
description: 'New Substack drafts only: allow free and paid subscribers below the divider. Requires SUBSTACK; cannot be combined with isPaidContent or draftId. Uses the existing divider or paywallMarker; without one, the entire article requires a subscription. Equivalent HTML: <hr data-type="paywall" data-access="subscribers">.'
addSearchMetadata:
type: boolean
description: Generate SEO titles, descriptions, and a Substack slug for supported destinations. On by default on plans with article SEO; set false to turn it off. X has no separate article SEO settings.
linkedinShareCommentary:
type: string
minLength: 1
maxLength: 2800
description: Optional LinkedIn share text posted with a LinkedIn article.
publication:
type: string
minLength: 1
maxLength: 300
description: 'Substack publication name, handle, or URL. Only with SUBSTACK in platforms. Optional with one connected publication; otherwise required, and the REST API never falls back to a remembered publication: nothing is scheduled and the request fails with SUBSTACK_PUBLICATION_REQUIRED or SUBSTACK_PUBLICATION_AMBIGUOUS (or PLATFORM_NOT_READY when Narrareach cannot confirm the session publishes there), listing the choices in error.details.substackPublications and any saved draft in error.details.createdDraft.'
substackConnectionId:
type: string
minLength: 1
maxLength: 191
description: Connected Substack publication id, as an alternative to publication. Only with SUBSTACK in platforms.
tags:
type: array
maxItems: 50
items:
type: string
minLength: 1
maxLength: 50
description: Optional article tags. Substack receives all supplied tags. Medium receives its supported first 5 topics and returns a warning when extras are omitted. The saved draft remains unchanged.
paywallMarker:
type: string
minLength: 1
maxLength: 200
description: Optional exact marker in contentHtml where a Substack free preview ends. It must appear exactly once. Narrareach replaces it with a native Substack paywall and enables paid delivery.
linkedinPublicationType:
type: string
enum:
- article
- newsletter
linkedinAuthorUrn:
type: string
description: Personal profile or Company Page author URN returned by the LinkedIn Article destinations endpoint.
linkedinNewsletterUrn:
type: string
description: Newsletter URN returned for the selected LinkedIn Article author.
platforms:
type: array
minItems: 1
items:
type: string
enum:
- SUBSTACK
- MEDIUM
- LINKEDIN
- X
- WORDPRESS
- GHOST
mediumPublicationId:
type: string
maxLength: 200
description: Optional Medium publication to submit this story to instead of the personal profile. Only valid when platforms includes MEDIUM; null or blank means not set and is ignored. When the account only has writer access (canPublish false), the story is submitted for editorial review and left unscheduled — it goes live when an editor accepts it, not at the requested time. An explicit publication rejection allows personal-profile delivery with a warning. An ambiguous submission remains unpublished for review. Draft-only delivery does not submit to a publication.
mediumNotifyFollowers:
type: boolean
description: 'Whether to email Medium subscribers about this story. true is only valid when platforms includes MEDIUM; false or null is ignored. Defaults to false. Best-effort: a failure to apply this setting is returned in warnings, not as a failure.'
scheduledFor:
type: string
format: date-time
platformSchedules:
type: array
minItems: 1
maxItems: 6
description: One schedule for every selected platform. Platforms must be unique and match platforms exactly.
items:
type: object
required:
- platform
- scheduledFor
properties:
platform:
type: string
enum:
- SUBSTACK
- MEDIUM
- LINKEDIN
- X
- WORDPRESS
- GHOST
scheduledFor:
type: string
format: date-time
additionalProperties: false
timezone:
type: string
description: IANA timezone saved with the item and used to show its local time. scheduledFor always carries its own offset. Defaults to the account's saved timezone, else UTC.
idempotencyKey:
type: string
maxLength: 200
description: Unknown fields are rejected with VALIDATION_ERROR.
additionalProperties: false
ApiError:
type: object
required:
- error
properties:
code:
type: string
deprecated: true
description: Compatibility alias for error.code. New clients should use error.code.
message:
type: string
deprecated: true
description: Compatibility alias for error.message. New clients should use error.message.
resolution:
type: string
deprecated: true
description: Compatibility alias for error.resolution. New clients should use error.resolution.
error:
type: object
required:
- code
- message
- resolution
properties:
code:
type: string
example: TOKEN_MISSING_SCOPE
description: Stable error.code values. components.x-error-codes lists the codes the API returns, with HTTP status and the operations that return each; new codes may be added, so treat an unlisted code by its HTTP status.
message:
type: string
example: This API token does not include the notes:write permission.
resolution:
type: string
example: Create a token with notes:write and retry the request.
details:
description: Optional validation or recovery details.
MediaSource:
type: object
required:
- sourceType
additionalProperties: false
description: A public HTTPS URL, a data URI, or base64 bytes.
properties:
sourceType:
type: string
enum:
- url
- data_uri
- base64
url:
type: string
maxLength: 20000
description: For sourceType url.
data:
type: string
maxLength: 15000000
description: For data_uri or base64.
mimeType:
type: string
maxLength: 120
description: Required for raw base64, for example image/png.
fileName:
type: string
maxLength: 200
responses:
NotFound:
description: The requested resource or API route does not exist.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
BadRequest:
description: The request is malformed or failed validation.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
PaymentRequired:
description: The account needs an active subscription or a plan with Automation API access.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Unauthorized:
description: The bearer token is missing, invalid, revoked, or expired.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
InternalError:
description: The request could not be completed safely.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Conflict:
description: The request conflicts with current resource or idempotency state. Reply delivery may return REPLY_NOT_DELIVERED or DELIVERY_UNCONFIRMED; the latter requires checking the provider thread before recovery.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
Forbidden:
description: The token is valid but lacks the required scope or workspace role.
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
securitySchemes:
scopedBearerToken:
type: http
scheme: bearer
bearerFormat: Narrareach automation token
description: 'Send `Authorization: Bearer nrr_api_…`. Tokens are user-created and restricted to the operation scopes listed in each Security Requirement Object; a token needs any one of the scopes an operation lists. New tokens get every scope unless you choose fewer. A token stored with no scopes (an older token) is accepted for every operation. A token whose scopes were chosen does not gain scopes added later; create a new token to use them.'
x-available-scopes:
notes:read: Read Notes, Note operation state, and stored Stats insights.
notes:write: Create, update, schedule, publish, and delete Notes.
articles:write: Create, schedule, reschedule, and cancel articles.
activity:read: Read connected Substack reader activity.
activity:write: Reply to and triage connected Substack reader activity.
webhooks:write: 'Reserved. No /api/v1 operation requires it yet: webhook endpoints are registered in Narrareach Settings → Integrations → REST API & webhooks, not with a token.'
research:read: Read transcripts that were already requested (GET /api/v1/transcripts/{id}) and list topic suggestions (GET /api/v1/topics). Does not use the transcript allowance.
research:write: Request transcripts of YouTube videos, podcast episodes, and audio files (POST /api/v1/transcripts), which uses the daily transcript allowance. Also reads them.
externalDocs:
description: Connector and API setup
url: https://www.narrareach.com/api-docs