Docs · For developers

API reference

Every route under /api, /mcp, /oauth and /.well-known, generated from the running application: 361 routes on this request. Authenticate with Authorization: Bearer <token> — a session token (ses_…) or a workspace API token (plt_…) with scopes read ⊂ write ⊂ publish. Tenant routes live under /api/v1/workspaces/{ws}; a workspace you cannot see is a 404. Errors are JSON {error, detail}; plan limits answer 402 with detail.code = plan_limit. Changes and the deprecation policy: API changelog.

urlBase URL
https://staging.a1lane.ai

The first call most clients make: GET /api/v1/status (no token). Then schedule a post and prove it landed →

Workspace · accounts

MethodPathSummary
GET/api/v1/workspaces/{ws}/accountslist accounts
POST/api/v1/workspaces/{ws}/accountsconnect account
DELETE/api/v1/workspaces/{ws}/accounts/{id}disconnect account
GET/api/v1/workspaces/{ws}/accounts/{id}get account
GET/api/v1/workspaces/{ws}/accounts/{id}/audioInstagram audio discovery for one connected Instagram account —
GET/api/v1/workspaces/{ws}/accounts/{id}/best-timesBest-time-to-post suggestions from this connection's own history (or not enough data).
GET/api/v1/workspaces/{ws}/accounts/{id}/choicesOption values the platform enumerates for this account (e.g. Pinterest boards).
POST/api/v1/workspaces/{ws}/accounts/{id}/pausepause account
POST/api/v1/workspaces/{ws}/accounts/{id}/probeprobe account
GET/api/v1/workspaces/{ws}/accounts/{id}/queueaccount queue
POST/api/v1/workspaces/{ws}/accounts/{id}/reconnectreconnect account
POST/api/v1/workspaces/{ws}/accounts/{id}/resumeresume account
PUT/api/v1/workspaces/{ws}/accounts/{id}/settingsaccount settings

Workspace · ai

MethodPathSummary
GET/api/v1/workspaces/{ws}/ai/assistGET …/ai/assist: whether AI assist is available here, which provider answers (hosted
POST/api/v1/workspaces/{ws}/ai/assistPOST {action, brief?, caption?, platforms?, count?, tone?} (ai-assist-1114): write a

Workspace · analytics

MethodPathSummary
GET/api/v1/workspaces/{ws}/analyticsworkspace analytics
GET/api/v1/workspaces/{ws}/analytics/drillExactly the receipts composing one number (term × channel × bucket × window).
GET/api/v1/workspaces/{ws}/analytics/viewThe delivery dashboard's numbers: window, totals, per-connection buckets, the chart series.

Workspace · attention

MethodPathSummary
GET/api/v1/workspaces/{ws}/attentionattention

Workspace · attention-view

MethodPathSummary
GET/api/v1/workspaces/{ws}/attention-view attention view

Workspace · batches

MethodPathSummary
GET/api/v1/workspaces/{ws}/batcheslist batches
GET/api/v1/workspaces/{ws}/batches/{id}get batch
GET/api/v1/workspaces/{ws}/batches/{id}/receipt-linkslist receipt links
POST/api/v1/workspaces/{ws}/batches/{id}/receipt-linkscreate receipt link

Workspace · benchmarks

MethodPathSummary
GET/api/v1/workspaces/{ws}/benchmarksTracked public profiles (official routes only) with their latest numbers.
POST/api/v1/workspaces/{ws}/benchmarksTrack a public profile; refused with the reason where no official route exists.
DELETE/api/v1/workspaces/{ws}/benchmarks/{id}Stop tracking a profile (its stored numbers go with it).

Workspace · billing

MethodPathSummary
GET/api/v1/workspaces/{ws}/billingworkspace billing
POST/api/v1/workspaces/{ws}/billing/checkoutbilling checkout
POST/api/v1/workspaces/{ws}/billing/portalbilling portal
POST/api/v1/workspaces/{ws}/billing/reconcilebilling reconcile

Workspace · billing-view

MethodPathSummary
GET/api/v1/workspaces/{ws}/billing-viewbilling view

Workspace · brand-instructions

MethodPathSummary
GET/api/v1/workspaces/{ws}/brand-instructionsThe workspace's stored brand instructions — readable by anyone who can read the
PUT/api/v1/workspaces/{ws}/brand-instructionsReplace the named fields (owners and admins — the same 'manage' permission as the

Workspace · calendar

MethodPathSummary
GET/api/v1/workspaces/{ws}/calendarcalendar
GET/api/v1/workspaces/{ws}/calendar/viewGET …/calendar/view?month=YYYY-MM — C.240: the workspace's posts as a month (read-only).

Workspace · captions

MethodPathSummary
POST/api/v1/workspaces/{ws}/captions/suggestPOST {caption?, destinations?: [account_id], media_id?}: caption suggestions from the

Workspace · compose

MethodPathSummary
POST/api/v1/workspaces/{ws}/compose/captionsPOST …/compose/captions — the AI panel's one call (read-only; a suggestion enters the
POST/api/v1/workspaces/{ws}/compose/preflightPOST …/compose/preflight — read-only: the create path's own validation over the form as
GET/api/v1/workspaces/{ws}/compose/sectionsGET …/compose/sections?dest=<card key>&board=<board id> — G11: the chosen board's
POST/api/v1/workspaces/{ws}/compose/submitPOST …/compose/submit — the composer's submit decision (web_compose.submit_outcome):
GET/api/v1/workspaces/{ws}/compose/viewGET …/compose/view — everything the server composer renders, as data (same query

Workspace · connect

MethodPathSummary
GET/api/v1/workspaces/{ws}/connectGET …/connect — everything the SSR Connect page renders, as data.
POST/api/v1/workspaces/{ws}/connect/accounts/{id}/disconnect``scope`` = ``here`` (remove from this workspace — the default, and exactly the old
GET/api/v1/workspaces/{ws}/connect/accounts/{id}/disconnect-previewWhat disconnecting this account would meet — the active deliveries that block
POST/api/v1/workspaces/{ws}/connect/accounts/{id}/probeaccount probe
POST/api/v1/workspaces/{ws}/connect/bluesky/authorizeBluesky consent connect (``web_connect.bluesky_authorize``): handle → identity resolution,
POST/api/v1/workspaces/{ws}/connect/discord/authorizeDiscord bot invite (2026-11-03): the code-grant authorize URL for our one bot. The webhook
PUT/api/v1/workspaces/{ws}/connect/discord/{id}/threadB13/R5: saving the thread reconnects the same webhook with it (checked with Discord again).
GET/api/v1/workspaces/{ws}/connect/healthhealth
GET/api/v1/workspaces/{ws}/connect/health/batchhealth batch
POST/api/v1/workspaces/{ws}/connect/mastodon/authorizeConsent conversion step 2 (PR #94): the confirmed server → its authorize screen. Pixelfed
GET/api/v1/workspaces/{ws}/connect/mastodon/reachmastodon reach
POST/api/v1/workspaces/{ws}/connect/mastodon/serverStep 1: handle (or the server field) → one confirmed, reachable server (``mastodon_server``).
POST/api/v1/workspaces/{ws}/connect/notify"Tell me if one opens" — interest for not-yet-available platforms; collects no email.
GET/api/v1/workspaces/{ws}/connect/threads/before-viewbefore view
POST/api/v1/workspaces/{ws}/connect/threads/emailemail link
POST/api/v1/workspaces/{ws}/connect/threads/resumeThe confirming tap: the token is claimed atomically (a second open loses), then the normal
GET/api/v1/workspaces/{ws}/connect/threads/resume-viewWhether the emailed link is still valid for this reader — read only, never spends it.
POST/api/v1/workspaces/{ws}/connect/{platform}/backback
POST/api/v1/workspaces/{ws}/connect/{platform}/checkStage 1 (R1): who is this credential and what may it do — posts nothing, connects
GET/api/v1/workspaces/{ws}/connect/{platform}/choiceschoices
POST/api/v1/workspaces/{ws}/connect/{platform}/choosechoose
POST/api/v1/workspaces/{ws}/connect/{platform}/commitStage 2: the provider-named commit through the engine's verify-before-persist connect.
POST/api/v1/workspaces/{ws}/connect/{platform}/discarddraft discard
POST/api/v1/workspaces/{ws}/connect/{platform}/draftB5 autosave: non-secret fields, ticks, step; the secret only into the encrypted draft.
POST/api/v1/workspaces/{ws}/connect/{platform}/paste``web.connect_paste`` as JSON: the operator token paste and the Connection-health token
GET/api/v1/workspaces/{ws}/connect/{platform}/reusereuse view
POST/api/v1/workspaces/{ws}/connect/{platform}/reuseAccept the offer: this workspace's row references the existing record. NO OAuth round
POST/api/v1/workspaces/{ws}/connect/{platform}/startThe OAuth start (``web.connect_start``): a URL to navigate to by document, never a 302.

Workspace · connections

MethodPathSummary
GET/api/v1/workspaces/{ws}/connectionsItem 8: connection health (``?account=`` narrows to one account).
GET/api/v1/workspaces/{ws}/connections/reconnectconnections batch

Workspace · desk-pulse

MethodPathSummary
GET/api/v1/workspaces/{ws}/desk-pulseThe pulse cue's counts (docs/api/openapi.yaml getDeskPulse; postlane/desk_summary.py).

Workspace · desk-summary

MethodPathSummary
GET/api/v1/workspaces/{ws}/desk-summaryWorkspace home in one read (docs/api/openapi.yaml getDeskSummary; postlane/desk_summary.py).

Workspace · digest

MethodPathSummary
GET/api/v1/workspaces/{ws}/digestThe digest computed live for [since, until) (default: the last 24 hours) —

Workspace · digests

MethodPathSummary
GET/api/v1/workspaces/{ws}/digestsdigest runs
POST/api/v1/workspaces/{ws}/digests/runRun the last complete period of a cadence now (owner/admin): idempotent per period.

Workspace · duplicates

MethodPathSummary
GET/api/v1/workspaces/{ws}/duplicatesThe workspace's duplicate count (open and resolved).

Workspace · engagement

MethodPathSummary
GET/api/v1/workspaces/{ws}/engagementEngagement rollups per connection / platform over the window (unavailable excluded, counted).
GET/api/v1/workspaces/{ws}/engagement/viewThe platform-metrics view: summary strip + table with per-cell availability, coverage on

Workspace · events

MethodPathSummary
GET/api/v1/workspaces/{ws}/eventsevents

Workspace · export

MethodPathSummary
GET/api/v1/workspaces/{ws}/exportexport

Workspace · feedback

MethodPathSummary
POST/api/v1/workspaces/{ws}/feedbackThe signed-in app's Help & feedback door (mature-product E1; support intake 2026-11-02):

Workspace · feeds

MethodPathSummary
GET/api/v1/workspaces/{ws}/feedsfeed list
POST/api/v1/workspaces/{ws}/feedsfeed add
DELETE/api/v1/workspaces/{ws}/feeds/{id}feed delete
POST/api/v1/workspaces/{ws}/feeds/{id}feed update
GET/api/v1/workspaces/{ws}/feeds/{id}/itemsfeed items
POST/api/v1/workspaces/{ws}/feeds/{id}/pollfeed poll

Workspace · held-posts

MethodPathSummary
GET/api/v1/workspaces/{ws}/held-postsThe posts a billing pause held (missed-window destinations tagged billing_hold).
POST/api/v1/workspaces/{ws}/held-posts/releaseThe post-payment release — every billing-held destination re-enters the normal

Workspace · imports

MethodPathSummary
GET/api/v1/workspaces/{ws}/importsimport list
POST/api/v1/workspaces/{ws}/imports/previewDry-run an export (hootsuite | generic | buffer_analytics); nothing is posted.
GET/api/v1/workspaces/{ws}/imports/{id}import view
POST/api/v1/workspaces/{ws}/imports/{id}/commitimport commit
GET/api/v1/workspaces/{ws}/imports/{id}/rejected.csvimport rejected csv

Workspace · inbox

MethodPathSummary
GET/api/v1/workspaces/{ws}/inboxThe Notifications stream: alerts only (digest entries left the stream in the
POST/api/v1/workspaces/{ws}/inbox/readAdvance the caller's read watermark to the newest stream entry: everything currently

Workspace · insights

MethodPathSummary
GET/api/v1/workspaces/{ws}/insights/artefactsEvery report artefact the workspace has generated — scheduled exports and proof packets —
GET/api/v1/workspaces/{ws}/insights/envelopeAnalytics build phase 1 (adjudication 2026-11-13 ruling 2): THE engagement envelope behind
GET/api/v1/workspaces/{ws}/insights/postsposts
GET/api/v1/workspaces/{ws}/insights/summarysummary

Workspace · ledger

MethodPathSummary
GET/api/v1/workspaces/{ws}/ledgerLedger-first home: the newest receipts with their post + destination context.

Workspace · mcp

MethodPathSummary
GET/api/v1/workspaces/{ws}/mcp/idempotency/{tool}/{key}The durable idempotency record the stdio MCP server reads and writes
PUT/api/v1/workspaces/{ws}/mcp/idempotency/{tool}/{key}The durable idempotency record the stdio MCP server reads and writes

Workspace · media

MethodPathSummary
GET/api/v1/workspaces/{ws}/mediaMedia library (leg 3, L2): filter by tag / kind / search; archived assets on request.
POST/api/v1/workspaces/{ws}/mediaadd media
POST/api/v1/workspaces/{ws}/media/bulkThe Library's multi-select. One action over up to BULK_MEDIA_MAX assets, each
DELETE/api/v1/workspaces/{ws}/media/{id}delete media
GET/api/v1/workspaces/{ws}/media/{id}get media
PUT/api/v1/workspaces/{ws}/media/{id}update media
POST/api/v1/workspaces/{ws}/media/{id}/editscreate edit
POST/api/v1/workspaces/{ws}/media/{id}/edits/checkcheck edit
GET/api/v1/workspaces/{ws}/media/{id}/edits/{job}get edit
GET/api/v1/workspaces/{ws}/media/{id}/filemedia file
GET/api/v1/workspaces/{ws}/media/{id}/frameRow 590 (Q-W6-12b follow-up from PR #868): the frame of a stored video at a given time,
GET/api/v1/workspaces/{ws}/media/{id}/postermedia poster

Workspace · members

MethodPathSummary
GET/api/v1/workspaces/{ws}/memberslist members
POST/api/v1/workspaces/{ws}/membersinvite member
DELETE/api/v1/workspaces/{ws}/members/{id}remove member
PUT/api/v1/workspaces/{ws}/members/{id}change member
POST/api/v1/workspaces/{ws}/members/{id}/resendresend invite

Workspace · oauth

MethodPathSummary
POST/api/v1/workspaces/{ws}/oauth/{platform}/chooseoauth choose
GET/api/v1/workspaces/{ws}/oauth/{platform}/startoauth start

Workspace · pause

MethodPathSummary
GET/api/v1/workspaces/{ws}/pauseThe workspace's durable pause state (workspace-wide + per-account).
POST/api/v1/workspaces/{ws}/pausepause workspace

Workspace · posts

MethodPathSummary
GET/api/v1/workspaces/{ws}/postslist posts
POST/api/v1/workspaces/{ws}/postsCreate a post. Send an ``Idempotency-Key`` header (any printable string up to 255
POST/api/v1/workspaces/{ws}/posts/batchcreate batch
POST/api/v1/workspaces/{ws}/posts/importBulk CSV import (leg 3, L2): multipart 'file', text/csv body, or JSON {csv, mapping}.
POST/api/v1/workspaces/{ws}/posts/price-checkItem 9(a): the composer's live X pricing — the same pass create_post's warnings use.
DELETE/api/v1/workspaces/{ws}/posts/{id}delete post
GET/api/v1/workspaces/{ws}/posts/{id}get post
PUT/api/v1/workspaces/{ws}/posts/{id}update post
POST/api/v1/workspaces/{ws}/posts/{id}/approvalpost approval
*/api/v1/workspaces/{ws}/posts/{id}/autosaveItem 7a: PUT {revision, draft} saves the composer state against the draft's revision;
POST/api/v1/workspaces/{ws}/posts/{id}/cancelcancel post
GET/api/v1/workspaces/{ws}/posts/{id}/commentsThe post's discussion thread. Any principal that can read the post can read the
POST/api/v1/workspaces/{ws}/posts/{id}/commentsCommenting takes a person: an API token has no name to attribute, so writes need a
DELETE/api/v1/workspaces/{ws}/posts/{id}/comments/{cid}The author deletes their own comment (the engine enforces authorship).
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/acknowledge-divergenceacknowledge divergence
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/confirm-deletedConfirm a manual delete no probe can settle (READBACK = False) —
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/continue-partscontinue parts
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/decline-finishdecline finish
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/delete-checkRow 647: the REST twin of the Attention item's "I deleted it — check now" (PR #880,
GET/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/finishfinish view
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/finish-checkRun the destination's finish-check now and return the finish view.
GET/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/finish-viewThe phone-first finish page for one destination waiting for a human finish.
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/mark-resolvedAccept an unverifiable send as delivered —
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/missed-windowDecide a held missed window (publish_now | next_slot | reschedule | cancel).
GET/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/observationsThe append-only observation records of one destination.
GET/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/partsThe destination's parts (thread parts, first comment, playlist add).
PUT/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/privacyChange one unsent destination's privacy in place (validated as compose validates);
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/removalRecord a platform removal event for one destination (no webhook receiver
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/reofferreoffer finish
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/resolveresolve destination
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/resolve-duplicateKeep one native copy (the others route through unpublish) or keep both.
GET/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/support-bundlesA destination's redacted support bundles (newest last).
POST/api/v1/workspaces/{ws}/posts/{id}/destinations/{dest}/unpublishStart the unpublish chain for one live destination.
GET/api/v1/workspaces/{ws}/posts/{id}/detail-viewThe post page (was web.post_page) as data. The page's own query (``confirm``, ``landing``,
POST/api/v1/workspaces/{ws}/posts/{id}/duplicateduplicate post
GET/api/v1/workspaces/{ws}/posts/{id}/engagementOne post's engagement per destination — latest values with asOf, reasons, series.
GET/api/v1/workspaces/{ws}/posts/{id}/handoffhandoff
GET/api/v1/workspaces/{ws}/posts/{id}/handoff-viewThe handoff pack: one pack per destination waiting for a human finish (``?all=`` lists
GET/api/v1/workspaces/{ws}/posts/{id}/platform-commentscomments
POST/api/v1/workspaces/{ws}/posts/{id}/platform-comments/repliesreply
POST/api/v1/workspaces/{ws}/posts/{id}/platform-comments/replies/{reply_id}/checkcheck
POST/api/v1/workspaces/{ws}/posts/{id}/platform-comments/replies/{reply_id}/resendresend
POST/api/v1/workspaces/{ws}/posts/{id}/publishpublish post
GET/api/v1/workspaces/{ws}/posts/{id}/receipt-linkslist receipt links
POST/api/v1/workspaces/{ws}/posts/{id}/receipt-linkscreate receipt link
POST/api/v1/workspaces/{ws}/posts/{id}/recyclecreate recycle
POST/api/v1/workspaces/{ws}/posts/{id}/releaserelease post
POST/api/v1/workspaces/{ws}/posts/{id}/reschedulereschedule post
POST/api/v1/workspaces/{ws}/posts/{id}/retryretry post
GET/api/v1/workspaces/{ws}/posts/{id}/review-linkslist review links
POST/api/v1/workspaces/{ws}/posts/{id}/review-linkscreate review link
DELETE/api/v1/workspaces/{ws}/posts/{id}/review-links/{nonce}revoke review link
GET/api/v1/workspaces/{ws}/posts/{id}/revisionsItem 7a: the append-only revision history of a post.
POST/api/v1/workspaces/{ws}/posts/{id}/revisions/{n}/restoreItem 7a: restore revision N as a NEW revision (body may carry ``revision`` = the

Workspace · proof-packets

MethodPathSummary
GET/api/v1/workspaces/{ws}/proof-packetslist route
POST/api/v1/workspaces/{ws}/proof-packetsgenerate route
GET/api/v1/workspaces/{ws}/proof-packets/{id}The frozen JSON payload: the whole packet when it is one part; when split, the cover,
GET/api/v1/workspaces/{ws}/proof-packets/{id}/downloaddownload route
GET/api/v1/workspaces/{ws}/proof-packets/{id}/share-linkslist links route
POST/api/v1/workspaces/{ws}/proof-packets/{id}/share-linkscreate link route
POST/api/v1/workspaces/{ws}/proof-packets/{id}/share-links/{lid}/revokerevoke link route

Workspace · queue

MethodPathSummary
POST/api/v1/workspaces/{ws}/queue/posts/{id}/timePOST …/queue/posts/{id}/time — Change time / Remove (web_queue.time_change): the shipped
POST/api/v1/workspaces/{ws}/queue/schedules/{key}POST …/queue/schedules/{key} — the schedule editor's steps (web_queue.schedule_step):
GET/api/v1/workspaces/{ws}/queue/viewGET …/queue/view — the server Queue's week as data (query: account, week, post).

Workspace · quota

MethodPathSummary
GET/api/v1/workspaces/{ws}/quota/fitDoes a publish to ``account_id`` fit at ``at`` (default now), and if not,

Workspace · recycles

MethodPathSummary
GET/api/v1/workspaces/{ws}/recycleslist recycles
DELETE/api/v1/workspaces/{ws}/recycles/{id}stop recycle
GET/api/v1/workspaces/{ws}/recycles/{id}One series with its next occurrences (``?upcoming=`` 1–20, default 5).
POST/api/v1/workspaces/{ws}/recycles/{id}/pausepause recycle
POST/api/v1/workspaces/{ws}/recycles/{id}/resumeresume recycle

Workspace · reports

MethodPathSummary
GET/api/v1/workspaces/{ws}/reportsA composed report (delivery + engagement per connection, chosen window) as JSON or CSV.
GET/api/v1/workspaces/{ws}/reports/exports/{id}Download one produced export (sign-in / token required; never mailed as an attachment).
GET/api/v1/workspaces/{ws}/reports/schedulesScheduled exports (weekly/monthly) and the exports they produced, with their state.
POST/api/v1/workspaces/{ws}/reports/schedulesSchedule a weekly/monthly export mailed as a download link to workspace members.
DELETE/api/v1/workspaces/{ws}/reports/schedules/{id}Stop a scheduled export (exports already produced stay downloadable).

Workspace · resume

MethodPathSummary
POST/api/v1/workspaces/{ws}/resumeresume workspace

Workspace · settings

MethodPathSummary
PUT/api/v1/workspaces/{ws}/settingsworkspace settings
PUT/api/v1/workspaces/{ws}/settings/aiPUT {endpoint?, model?, key?}: the key goes to the vault, never to settings/export.
GET/api/v1/workspaces/{ws}/settings/billing-notification-preferencesThe billing account holder's own email switches for the money kinds (2026-11-01
PUT/api/v1/workspaces/{ws}/settings/billing-notification-preferencesThe billing account holder's own email switches for the money kinds (2026-11-01
PUT/api/v1/workspaces/{ws}/settings/digestdigest settings
GET/api/v1/workspaces/{ws}/settings/notification-preferencesAmendment 3a, as amended 2026-11-01: the caller's own per-type EMAIL preferences for
PUT/api/v1/workspaces/{ws}/settings/notification-preferencesAmendment 3a, as amended 2026-11-01: the caller's own per-type EMAIL preferences for
PUT/api/v1/workspaces/{ws}/settings/notificationsUpdate notification targets ({emails, webhook_url, webhook_secret?, events}); the secret goes to the vault.
PUT/api/v1/workspaces/{ws}/settings/onboardingPUT {step: done|skipped|pending}: resumable, skippable onboarding steps (L5).
PUT/api/v1/workspaces/{ws}/settings/shortenerPUT {provider, domain?, token?}: the token goes to the vault, never to settings/export.
PUT/api/v1/workspaces/{ws}/settings/x-capsItem 9(c): owner/admin edit the workspace's soft/hard X caps (the 5b breaker enforces).

Workspace · settings-actions

MethodPathSummary
POST/api/v1/workspaces/{ws}/settings-actions/{action}POST /api/v1/workspaces/{ws}/settings-actions/{action} — each branch runs the SSR

Workspace · settings-view

MethodPathSummary
GET/api/v1/workspaces/{ws}/settings-viewsettings view

Workspace · sso-actions

MethodPathSummary
POST/api/v1/workspaces/{ws}/sso-actions/{action}``POST /api/v1/workspaces/{ws}/sso-actions/{action}`` — each step of the page, with the

Workspace · sso-view

MethodPathSummary
GET/api/v1/workspaces/{ws}/sso-view``GET /api/v1/workspaces/{ws}/sso-view`` — the page's data: ``sso.status`` as is, plus the

Workspace · text-assets

MethodPathSummary
GET/api/v1/workspaces/{ws}/text-assetsThe workspace's hashtag sets + caption snippets (bodies included —
POST/api/v1/workspaces/{ws}/text-assetsSave a named hashtag set or caption snippet in this workspace.
DELETE/api/v1/workspaces/{ws}/text-assets/{id}Delete a saved set/snippet from this workspace.
PUT/api/v1/workspaces/{ws}/text-assets/{id}Rename a saved set/snippet or replace its text.

Workspace · tokens

MethodPathSummary
GET/api/v1/workspaces/{ws}/tokenslist tokens
POST/api/v1/workspaces/{ws}/tokenscreate token
DELETE/api/v1/workspaces/{ws}/tokens/{id}revoke token
GET/api/v1/workspaces/{ws}/tokens/{id}/usageOne token's MCP usage — the operator endpoint's own numbers.

Workspace · uploads

MethodPathSummary
POST/api/v1/workspaces/{ws}/uploadscreate upload
GET/api/v1/workspaces/{ws}/uploads/{id}upload status
PUT/api/v1/workspaces/{ws}/uploads/{id}/chunks/{n}upload chunk
POST/api/v1/workspaces/{ws}/uploads/{id}/completecomplete upload

Workspace · usage

MethodPathSummary
GET/api/v1/workspaces/{ws}/usage/xItem 9(b): the month's X spend — confirmed vs estimated, never blended — with pace and caps.

Workspace · webhooks

MethodPathSummary
GET/api/v1/workspaces/{ws}/webhooks/deliveriesThe webhook delivery ledger (bar-review 1030 §3.1): newest first, filterable by state
GET/api/v1/workspaces/{ws}/webhooks/deliveries/{id}One delivery with every attempt and the stored payload it re-sends on retry/replay.
POST/api/v1/workspaces/{ws}/webhooks/deliveries/{id}/replayRe-send a failed or retry-pending delivery now: stored body, same event id, fresh
POST/api/v1/workspaces/{ws}/webhooks/endpoint/enableTurn a disabled webhook endpoint back on — owners and admins only.
GET/api/v1/workspaces/{ws}/webhooks/event-typesList the event types a subscription can name, with one sample each.
GET/api/v1/workspaces/{ws}/webhooks/samplesReturn up to three real recent events of one type, as full envelopes.
GET/api/v1/workspaces/{ws}/webhooks/subscriptionsList the webhook subscriptions this credential may see.
POST/api/v1/workspaces/{ws}/webhooks/subscriptionsSubscribe a receiver address to workspace events; the signing secret is shown once.
DELETE/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}Remove a webhook subscription; an already-removed id answers 204 again.
GET/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}Read one webhook subscription.
PATCH/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}Change a subscription's events, description or state (active or paused).
GET/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}/deliveriesList one subscription's deliveries, newest first.
GET/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}/deliveries/{did}Read one delivery with every attempt and the stored payload.
POST/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}/deliveries/{did}/replayRe-send a failed or retrying delivery now: same body, same event id, fresh signature.
POST/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}/enableTurn a disabled subscription back on; nothing is replayed.
POST/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}/rotate-secretMint a new signing secret, shown once; the old one signs alongside for 24 hours.
POST/api/v1/workspaces/{ws}/webhooks/subscriptions/{id}/testSend one test event to a subscription now and report the outcome.

Workspace · {kind}

MethodPathSummary
GET/api/v1/workspaces/{ws}/{kind}/{id}/proof-packet``GET /api/v1/workspaces/{ws}/{posts|batches}/{id}/proof-packet`` — the packet page's data.

admin

MethodPathSummary
GET/api/v1/admin/analyticsadmin analytics
GET/api/v1/admin/billingadmin billing
GET/api/v1/admin/cohortsMature-product A4: weekly signup cohorts tracked through the funnel steps, with
GET/api/v1/admin/engagementEngagement pipeline counts across workspaces (counts only, no tenant data).
GET/api/v1/admin/feedbackMature-product E1: the operator read over in-app feedback — counts, the daily queue
POST/api/v1/admin/feedback/{id}/stateSupport hub (2026-11-02): move one feedback entry through new → needs_reply → done
GET/api/v1/admin/funnelProduct-truth PT-2: the activation funnel (signup → verified → first connect → first
GET/api/v1/admin/mcpPer-tool call volume, error rate and latency across the deployment (?token= for one token).
GET/api/v1/admin/mcp/funnelThe assistant journey funnel from durable grant rows — by execution client (OAuth
GET/api/v1/admin/metrics/digestThe standing weekly metrics digest (data only; ?week=YYYY-Www, newest by default).
GET/api/v1/admin/quotaEvery ledger bucket with its current-window usage.
PUT/api/v1/admin/quota/{key}PUT {capacity, source?}: a verified number (e.g. the Cloud Console allocation) drops in
GET/api/v1/admin/schedulerThe tick gauge alone (fleet p95 + per-workspace, with its trip lines).
GET/api/v1/admin/statsadmin stats
GET/api/v1/admin/supportSupport S1: the operator's Support view as JSON (admin token) — ?filter=open|due_soon|
POST/api/v1/admin/support/{id}/actionSupport S1: one auditable operator action on a support record (admin token):
GET/api/v1/admin/suspensionsEvery suspension record — active first; ``?all=1`` adds lifted ones
GET/api/v1/admin/throttlesDurable throttle state (hits per kind / hashed key).
POST/api/v1/admin/users/{id}/suspendadmin user suspend
POST/api/v1/admin/users/{id}/unsuspendadmin user unsuspend
POST/api/v1/admin/workspaces/{id}/suspendadmin workspace suspend
POST/api/v1/admin/workspaces/{id}/unsuspendadmin workspace unsuspend
POST/api/v1/admin/workspaces/{ws}/destinations/{id}/retireRetire one queued destination with a stored reason; POST {operator, reason, note?}.

auth

MethodPathSummary
POST/api/v1/auth/loginauth login
POST/api/v1/auth/logoutauth logout
POST/api/v1/auth/reset/confirmauth reset confirm
POST/api/v1/auth/reset/requestauth reset request
POST/api/v1/auth/reset/revoke-allThe completion screen's one-click opt-in (OWASP ask-the-user): revoke every API token
POST/api/v1/auth/signupauth signup
POST/api/v1/auth/verify-emailauth verify email

billing

MethodPathSummary
POST/api/v1/billing/webhookStripe → us. Public route; the signature is the only credential. Raw body, no parsing

client errors

MethodPathSummary
POST/api/v1/client-errorsThe signed-in app's browser-error reporter

data deletion

MethodPathSummary
POST/api/v1/data-deletion/callbackMeta → us (Facebook Login / Instagram / Threads). Public; the signature is the only

engagement

MethodPathSummary
GET/api/v1/engagement/coverageThe public per-platform × metric coverage/freshness matrix, generated from code.

health

MethodPathSummary
GET/api/v1/healthLiveness, public (row 549): the ALB target-group check and the off-box Route 53 probe

invites

MethodPathSummary
GET/api/v1/invites/{token}invite preview
POST/api/v1/invites/{token}/acceptinvite accept

mcp

MethodPathSummary
GET/mcp/listing.jsonDirectory listing metadata (name, description, icon, categories) from one place.
*/mcp/v1POST /mcp/v1 — JSON-RPC over HTTP with a Bearer workspace token (OAuth-issued or pasted).

me

MethodPathSummary
DELETE/api/v1/meme delete
GET/api/v1/meme
GET/api/v1/me/2fame 2fa
POST/api/v1/me/2fa/codes-savedPOST /api/v1/me/2fa/codes-saved — the SSR ``security_codes_saved`` call (after the box is ticked).
POST/api/v1/me/2fa/disableme 2fa disable
POST/api/v1/me/2fa/enrollme 2fa enroll
POST/api/v1/me/2fa/recovery-codesme 2fa recovery
POST/api/v1/me/2fa/verifyme 2fa verify
GET/api/v1/me/account-viewaccount view
POST/api/v1/me/credentials/revoke-allThe signed-in twin, offered on the password-change confirmation (reset-token brief).
DELETE/api/v1/me/emailDELETE /api/v1/me/email — the SSR ``account_email_cancel`` call.
POST/api/v1/me/emailPOST /api/v1/me/email — the SSR ``account_email`` call: ``product.request_email_change``.
GET/api/v1/me/exportme export
PUT/api/v1/me/passwordme password
GET/api/v1/me/preferencesAmendment 8a: the user's own display defaults (timezone, locale).
PUT/api/v1/me/preferencesAmendment 8a: the user's own display defaults (timezone, locale).
PUT/api/v1/me/profilePUT /api/v1/me/profile — the SSR ``account_profile`` call: ``product.update_name``.
GET/api/v1/me/sessionsme sessions
POST/api/v1/me/sessions/revoke-allme sessions revoke all
DELETE/api/v1/me/sessions/{id}me session revoke
GET/api/v1/me/sign-in-methods``GET /api/v1/me/sign-in-methods`` — Settings → Security's sign-in methods panel (C.298:
POST/api/v1/me/sign-in-methods/{provider}/unlink``POST /api/v1/me/sign-in-methods/{provider}/unlink`` — never the last way to sign in.
POST/api/v1/me/terms-notice/dismissQ-TERM: record that this user saw the current terms version; the banner stops.
POST/api/v1/me/verify-email/resendme verify resend
GET/api/v1/me/workspaces-view``GET /api/v1/me/workspaces-view`` — the picker's cards (founder, 2026-11-01): each

meta

MethodPathSummary
POST/api/v1/meta/deauthorizeMeta → us when a person removes the app: Facebook Login / Instagram "Deauthorize Callback

notice

MethodPathSummary
GET/api/v1/noticeThe sealed answer, or 404 when there is none (expired, absent, or not ours).

oauth

MethodPathSummary
GET/oauth/bluesky/client-metadata.json``GET /oauth/bluesky/client-metadata.json`` — 200 application/json, no redirect; 404 when
GET/oauth/{platform}/callbackPlatform redirect target (no login needed: the one-time state binds workspace + user).

oauth2

MethodPathSummary
GET/oauth2/authorizeConsent page: login (or sign-up) → choose workspace + scopes → Allow.
POST/oauth2/authorizeauthorize submit
POST/oauth2/registerRegister a public OAuth client (assistants register themselves on first connect).
POST/oauth2/revokeRFC 7009: revoke an access or refresh token. Always 200 (no token enumeration) for
POST/oauth2/tokenAuthorization-code (PKCE) and refresh-token grants; refresh rotates both tokens.

plans

MethodPathSummary
GET/api/v1/plansPublic: the plan configuration the pricing page renders (one source of truth).

platforms

MethodPathSummary
GET/api/v1/platformsplatforms

ready

MethodPathSummary
GET/api/v1/readyReadiness, public (ops-signals-1114): 200 or 503 with reason codes only

receipts

MethodPathSummary
GET/api/v1/receipts/{token}receipt link public
GET/api/v1/receipts/{token}/media/{index}Row 302: one item of a public receipt's media, by position, streamed from the store

review

MethodPathSummary
GET/api/v1/review/{token}review view
POST/api/v1/review/{token}/decisionreview decide
GET/api/v1/review/{token}/mediareview media

status

MethodPathSummary
GET/api/v1/statusPublic status page data: rolling delivery-verification rates, aggregated across all

support

MethodPathSummary
POST/api/v1/supportSupport S1 (row 687): the public support intake — anonymous and session-aware, one

tiktok

MethodPathSummary
POST/api/v1/tiktok/webhookTikTok → us (the app's Webhook URL in the TikTok developer portal; audit A14). Public; the

well-known

MethodPathSummary
GET/.well-known/mcp-registry-authMCP Registry namespace-ownership proof — the token comes from config only.
GET/.well-known/mcp/server-card.jsonSEP-1649 server card (MCP v1.7 T8): the static discovery document MCP clients
GET/.well-known/mcptry-claim.txtmcptry listing-claim proof — the token comes from config only.
GET/.well-known/mcptry-verify.txtmcptry listing-claim proof — the token comes from config only.
GET/.well-known/oauth-authorization-serverRFC 8414 discovery for the product's own OAuth 2.0 authorization server.
GET/.well-known/oauth-protected-resourceRFC 9728: tells MCP clients which authorization server protects /mcp/v1.
GET/.well-known/oauth-protected-resource/mcp/v1RFC 9728: tells MCP clients which authorization server protects /mcp/v1.
GET/.well-known/openai-apps-challengeChatGPT apps domain-verification challenge — the token comes from config only.
GET/.well-known/security.txtRFC 9116 security.txt, served verbatim from the package data file.

workspaces

MethodPathSummary
GET/api/v1/workspaceslist workspaces
POST/api/v1/workspacescreate workspace
DELETE/api/v1/workspaces/{ws}delete workspace
GET/api/v1/workspaces/{ws}get workspace
PUT/api/v1/workspaces/{ws}rename workspace

Account health is a dated reading

An account read (GET /api/v1/workspaces/{ws}/accounts) returns the result of the last check, not a live check: reading an account never contacts the platform. Its health object says when that check ran (checkedAt) and what it exercised (basis: grant, credential or session). credentialCheckedAt is set only when the check exercised the credential itself. So ok means “ok at checkedAt”: a platform can revoke access a minute later, and the next read still says ok until the next check or the next publish finds out.

For a current reading before something that matters, run one check now with POST /api/v1/workspaces/{ws}/accounts/{id}/probe (a token with account access); it returns the account with a new checkedAt. Whether a post went out is answered by its delivery receipt, never by the health reading: a credential the platform refuses at publish settles that destination as not published, with the reconnect step on the account.

Webhook signing — verifying that an event came from A1 Lane STAGING

Every notification webhook is a JSON POST carrying two headers: X-A1Lane-Event (the alert kind) and X-A1Lane-Signature (the signature). Until 1 December 2026, each webhook also carries the legacy header names X-PostLane-Event and X-PostLane-Signature with identical values, so a verifier written against the old names keeps working; the legacy names stop being sent on 1 December 2026. The signature header reads t=<unix seconds>,v1=<hex> where v1 is HMAC-SHA256(secret, "<t>.<raw request body>") — the same scheme Stripe documents for its receivers. To verify: read t and v1 from the X-A1Lane-Signature header (until the cutover date the legacy X-PostLane-Signature header carries the same value), compute the HMAC of the string t + "." + the exact bytes of the body with the signing secret you saved in Settings → API & Webhooks, compare it to v1 in constant time, and reject anything whose t is more than five minutes old. Payloads carry codes and ids only, never platform text. The "Send test event" control on the webhook card posts one event of kind test so you can prove the verifier end to end.

Webhook delivery — event ids, retries and replay

Every alert payload carries an id field (also sent as the X-A1Lane-Id header) that identifies the event. The same id is sent on every attempt to deliver that event, including a retry and a replay, so your endpoint can treat a repeated id as a duplicate and ignore it. Any 2xx answer counts as delivered. Any other answer, or no answer within 10 seconds, is a failed attempt, and the event is sent again after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours, each delay counted from the failed attempt. That is seven attempts across about 20.6 hours. After the seventh failure the delivery is marked failed and no further attempt is made on its own. Retries survive a restart: the schedule is kept in the workspace's store, so an attempt that came due while the service was down is made when it is back. Each attempt is signed afresh with the current secret and timestamp, and goes to the endpoint URL saved at that moment.

Owners and admins see the deliveries in Settings → API & Webhooks, under the webhook card. The API lists them at GET /api/v1/workspaces/{ws}/webhooks/deliveries (newest first; filter with ?state=pending|retrying|delivered|failed and ?kind=; page with limit and offset). GET …/webhooks/deliveries/{id} returns one delivery with each attempt (time, trigger, HTTP status, latency, error code) and the stored payload. POST …/webhooks/deliveries/{id}/replay sends a failed or retrying delivery again now, with the same body and id. Replaying a delivery that already succeeded is refused with 409 (already_delivered), so a delivered event is never re-sent by replay. Settled deliveries are kept for 30 days. Test events from "Send test event" are not entered in the delivery list; their outcome shows on the webhook card.

The header names above are the wire names in force today; a rename, if one is made, will be announced on the changelog with a dual-accept window and a dated cutover — nothing changes silently.

Webhook subscriptions — many receivers, each made and removed over the API

The webhook in Settings is one address for alerts. Subscriptions are separate: a workspace can hold up to 50, each with its own address, event list, signing secret and delivery list. Zapier, Make and n8n use them to register themselves, and your own code can too. The settings webhook is unchanged.

POST /api/v1/workspaces/{ws}/webhooks/subscriptions with {"url": "https://…", "events": ["post.delivered"], "description": "…"} answers 201 with the subscription and its secret. The secret is shown once; save it, because no read returns it. The address must be https, at most 2,048 characters, without a user name or password, and must resolve to a public address that is not ours (400 with invalid_endpoint or private_address). An unknown type is 400 with unknown_event_type and the valid names. ["*"] means every type, including types added later. Subscribing again to an address you already hold replaces that subscription in place, with a new secret (200); an address another credential holds is 409 (url_in_use); the 51st subscription is 409 (subscription_limit). A token with read scope can subscribe and manages its own subscriptions; owners and admins see and manage all of them. Subscription writes are limited to 60 per 10 minutes per workspace; over that, 429 with Retry-After.

Event typeSent when
post.deliveredA post finishes and every account it went to is delivered.
destination.verifiedOne account's post was checked on the platform.
destination.failedOne account failed; the post did not go out there.
destination.uncertainOne send may have landed. It is never retried on its own.
attention.raisedSomething now needs a person. A failure sends this as well as its own failed event, as two events.

GET …/webhooks/event-types lists the types with a sample of each, and GET …/webhooks/samples?type=… returns up to three recent real events of one type, built the same way as live ones; automation platforms use it to show example data. New types and new fields can appear at any time, so a receiver must ignore what it does not know. Each body carries id, type, version, createdAt, sequence, workspaceId, subscriptionId and data. Order by sequence when order matters; deliveries can arrive out of order. Payloads carry codes, ids, our own words and a link, never platform text.

Each request carries X-A1Lane-Event, X-A1Lane-Id, X-A1Lane-Subscription, X-A1Lane-Delivery, X-A1Lane-Attempt, X-A1Lane-Webhook-Version and X-A1Lane-Signature, signed exactly as in the signing section above with the subscription's own secret. Subscription requests do not carry the legacy X-PostLane-Event and X-PostLane-Signature names. After POST …/rotate-secret the old secret keeps signing for 24 hours and the header holds two v1 entries: accept the request when any one matches. Delivery follows the retry schedule above, with each wait varying by up to 20 percent, so the times are approximate, and a Retry-After on 429 or 503 is honoured within limits. A subscription that fails continuously for 5 days is set to disabled and the owners are told; POST …/enable turns it back on and replays nothing. A 410 from your receiver ends the subscription at once, with no email.

Also: GET, PATCH (events, description, or state active or paused) and DELETE on …/webhooks/subscriptions/{id}; DELETE answers 204 again for an id already removed. POST …/{id}/test sends one webhook.ping and answers with the status code and failure class (10 per 10 minutes per subscription). GET …/{id}/deliveries, GET …/{id}/deliveries/{did} and POST …/{id}/deliveries/{did}/replay work as on the delivery list above; replaying a delivered event is 409. A subscription you cannot see is a 404.

Counting token usage

Settings → API & Webhooks shows each token's calls this calendar month (UTC), counted durably on every authenticated call and reset on the first of the next month. The same figure, with per-tool detail for the assistant surface, is available to owners and admins at GET /api/v1/workspaces/{ws}/tokens/{id}/usage.