API reference
Base URL: https://api.mynahcast.xyz. Authenticate with Authorization: Bearer myn_live_…. The machine-readable spec is the source of truth: https://api.mynahcast.xyz/v1/openapi.json (OpenAPI 3.1), with request and response schemas for every operation.
Each operation is also an MCP tool with the same input. Writes accept an Idempotency-Key header, and the ones marked dry_run accept ?dry_run=true.
- POST
/v1/posts/validateValidate a post against every target channel without saving itmynahcast_validate_post · posts:read - POST
/v1/postsCreate a post for one brand, fanned out to one or more channelsmynahcast_create_post · posts:write · dry_run - GET
/v1/posts/{postId}Get one post with its per-channel delivery statemynahcast_get_post · posts:read - GET
/v1/postsList posts (cursor pagination), filtered by brand, status, channel and time rangemynahcast_list_posts · posts:read - PATCH
/v1/posts/{postId}Edit a post's content, channels or schedule (before it publishes)mynahcast_update_post · posts:write · dry_run - POST
/v1/posts/{postId}/rescheduleMove a post to a new time, or unschedule it (schedule: null)mynahcast_reschedule_post · posts:write · dry_run - DELETE
/v1/posts/{postId}Delete a post and cancel every delivery that has not gone outmynahcast_delete_post · posts:write · dry_run - GET
/v1/posts/{postId}/timelineEvery delivery attempt for a post, with platform response codesmynahcast_get_post_timeline · posts:read - POST
/v1/posts/{postId}/approvalSubmit a post for approval (binds to its exact current content)mynahcast_submit_for_approval · posts:write · dry_run - POST
/v1/approvals/{approvalId}/decisionApprove, request changes on, or reject a post (humans only)mynahcast_decide_approval · approvals:decide - GET
/v1/channelsList connected channels and their healthmynahcast_list_channels · channels:read - GET
/v1/channels/{channelId}/capabilitiesLimits, media rules and the settings schema of one channelmynahcast_get_channel_capabilities · channels:read - POST
/v1/media/uploadsGet a presigned URL to upload a file directly to storagemynahcast_request_upload · media:write · dry_run - POST
/v1/media/{mediaId}/completeConfirm an upload finished; the file is checked in storagemynahcast_complete_upload · media:write - GET
/v1/brands/{brandId}/voiceRead a brand's active voice profilemynahcast_get_brand_voice · posts:read - PUT
/v1/brands/{brandId}/voicePublish a new version of a brand's voice profilemynahcast_update_brand_voice · voice:write · dry_run - POST
/v1/brands/{brandId}/autopilot/stopEmergency stop: hold every scheduled post of the brandmynahcast_stop_all · posts:write · dry_run - POST
/v1/brands/{brandId}/autopilot/resumeResume publishing after stop_allmynahcast_resume_all · autopilot:write · dry_run - GET
/v1/brands/{brandId}/autopilotWhether publishing is stopped for a brand (stop_all), plus approval mode, daily cap and queued postsmynahcast_get_autopilot · posts:read - GET
/v1/brands/{brandId}/autopilot/promptReady-made weekly instruction to paste into your own agentmynahcast_get_batch_prompt · posts:read - GET
/v1/brands/{brandId}/product-contextRead the brand's product context (what the product is, who it is for, proof, CTA, banned claims)mynahcast_get_product_context · posts:read - PUT
/v1/brands/{brandId}/product-contextSave the brand's product context (replaces the whole record)mynahcast_set_product_context · posts:write · dry_run - POST
/v1/brands/{brandId}/stylesCreate or update a reusable post style for a brandmynahcast_save_style · posts:write · dry_run - GET
/v1/brands/{brandId}/stylesList a brand's saved styles (default first)mynahcast_list_styles · posts:read - GET
/v1/styles/{styleId}Read one style (hook patterns, tone, caption style, length, slide count, colours, fonts, do/don't)mynahcast_get_style · posts:read - DELETE
/v1/styles/{styleId}Delete a saved stylemynahcast_delete_style · posts:write · dry_run - GET
/v1/brands/{brandId}/content-memoryList what the brand already drafted, published or had rejected (hooks, topics, claims, rejection reasons)mynahcast_get_content_memory · posts:read - POST
/v1/brands/{brandId}/batchesSubmit a weekly batch of posts (validated, scheduled within daily caps, approval per the brand's mode)mynahcast_submit_batch · posts:write · dry_run - POST
/v1/batches/{batchId}/approveRelease a whole batch with one approval (humans only)mynahcast_approve_batch · approvals:decide - PUT
/v1/brands/{brandId}/autopilot/settingsSet approval mode and per-channel daily capmynahcast_set_autopilot_settings · autopilot:write - GET
/v1/accountYour workspace, plan and trial status, and your brandsmynahcast_get_account · posts:read - GET
/v1/connect-linkGet a link where the user connects a social account (Bluesky, Mastodon, …) on mynahcast.xyzmynahcast_connect_channel · channels:read - GET
/v1/reportWhat went out (and what failed) in a date range, with links to the live postsmynahcast_get_report · posts:read - GET
/v1/account/plan-linkA link to the workspace's plan page on mynahcast.xyz (to add a card before scheduling on the trial, when the trial ends, or when a limit is reached)mynahcast_get_checkout_link · posts:read - GET
/v1/approvals/calendarMonth calendar of planned posts with approve / edit / skip (renders as an interactive card where supported)mynahcast_show_approval_calendar · posts:read - POST
/v1/approvals/ui-decideApprove or skip one post from the approval calendar card. Only the card calls this, on a user's clickmynahcast_ui_decide_post · approvals:decide - GET
/v1/brandsList the brands in this workspace (each has its own channels, voice and calendar)mynahcast_list_brands · posts:read - POST
/v1/brandsCreate another brand in this workspace (counts toward the plan's brand allowance)mynahcast_create_brand · admin · dry_run - GET
/v1/analyticsPublished and failed posts per day, per channel and by hour of day, over the plan's analytics historymynahcast_get_analytics · posts:read
Errors
Errors are application/problem+json with type, title, status, code and a requestId; validation errors add a fix hint. 401 means a missing or revoked key, 403 a key without the scope, 422 a post that fails validation, 429 a rate limit (respect Retry-After).