Pages in API reference
API reference
Every endpoint of the REST API. Each one is also an MCP tool with the same input, output and errors.
Base URL https://api.ampost.io. Send your key as Authorization: Bearer (see Authentication). The machine-readable contract is /openapi.json.
Workspace
Platforms
Posts
Overview- GETList posts
/api/posts - POSTCreate, schedule or publish a post
/api/posts - POSTCheck a post without creating it
/api/posts/validate - POSTImport posts from CSV
/api/posts/bulk - GETGet a post
/api/posts/:postId - PATCHUpdate a post
/api/posts/:postId - DELETEDelete a post
/api/posts/:postId - POSTPublish a post now
/api/posts/:postId/publish - POSTUnpublish a post
/api/posts/:postId/unpublish - POSTEdit a published post's text
/api/posts/:postId/edit-published - POSTRetry failed accounts
/api/posts/:postId/retry - POSTSubmit a draft for approval
/api/posts/:postId/submit - POSTApprove a waiting post
/api/posts/:postId/approve - POSTReject a waiting post
/api/posts/:postId/reject
Media
OverviewAccounts
Overview- GETList social accounts
/api/accounts - GETGet a connected account
/api/accounts/:accountId - DELETEDisconnect an account
/api/accounts/:accountId - PATCHTurn X analytics on or off
/api/accounts/:accountId/analytics - GETList a Pinterest account's boards
/api/accounts/:accountId/boards - PATCHPick a Pinterest account's default board
/api/accounts/:accountId/board - POSTConnect a social account
/api/accounts/connect - GETGet a connection request
/api/accounts/connect/:connectRequestId
Platform sets
OverviewPosting queues
OverviewAnalytics
OverviewWebhooks
Overview- GETList webhooks
/api/webhooks/endpoints - POSTCreate a webhook
/api/webhooks/endpoints - GETGet a webhook
/api/webhooks/endpoints/:webhookId - PATCHUpdate a webhook
/api/webhooks/endpoints/:webhookId - DELETEDelete a webhook
/api/webhooks/endpoints/:webhookId - POSTSend a test event
/api/webhooks/endpoints/:webhookId/test - GETList webhook deliveries
/api/webhooks/endpoints/:webhookId/deliveries - POSTRedeliver an event
/api/webhooks/endpoints/:webhookId/deliveries/:deliveryId/redeliver