---
seo:
  description: Peal API reference.
sidebar:
  label: Overview
title: Peal API
---
Version 2026-11-09

Base URL: `https://api.example.com`

## Posts

Posts, from draft to published, with their tags and signatures.

- [`GET /api/v1/posts/calendar`](/reference/posts/posts-calendar) — List scheduled posts.
- [`GET /api/v1/posts`](/reference/posts/posts-list) — List posts.
- [`POST /api/v1/posts`](/reference/posts/posts-create) — Create and send a post.
- [`POST /api/v1/posts/bulk`](/reference/posts/posts-bulk) — Create and send several posts.
- [`POST /api/v1/posts/import`](/reference/posts/posts-import) — Import posts from CSV.
- [`POST /api/v1/posts/validate`](/reference/posts/posts-validate) — Validate a post.
- [`GET /api/v1/posts/{postId}`](/reference/posts/posts-get) — Get a post.
- [`PUT /api/v1/posts/{postId}`](/reference/posts/posts-update) — Update a draft.
- [`GET /api/v1/posts/{postId}/outcome`](/reference/posts/posts-outcome) — Wait for a post's outcome.
- [`GET /api/v1/posts/{postId}/attempts`](/reference/posts/posts-attempts) — List a post's attempts.
- [`PUT /api/v1/posts/{postId}/tags`](/reference/posts/posts-set-tags) — Set a post's tags.
- [`POST /api/v1/posts/{postId}/duplicate`](/reference/posts/posts-duplicate) — Duplicate a post.
- [`POST /api/v1/posts/{postId}/schedule`](/reference/posts/posts-schedule) — Schedule a draft.
- [`POST /api/v1/posts/{postId}/reschedule`](/reference/posts/posts-reschedule) — Reschedule a post.
- [`POST /api/v1/posts/{postId}/queue`](/reference/posts/posts-enqueue) — Add a post to a queue.
- [`POST /api/v1/posts/{postId}/unschedule`](/reference/posts/posts-unschedule) — Unschedule a post.
- [`POST /api/v1/posts/{postId}/targets/{targetId}/repost`](/reference/posts/posts-repost) — Repost on a channel.
- [`DELETE /api/v1/posts/{postId}/targets/{targetId}`](/reference/posts/posts-remove-target) — Remove a channel from a post.
- [`POST /api/v1/posts/{postId}/targets/{targetId}/confirm`](/reference/posts/posts-confirm) — Confirm a post on a channel.
- [`POST /api/v1/posts/{postId}/targets/{targetId}/leave-out-rest`](/reference/posts/posts-leave-out-rest) — Publish a channel without its first comment.
- [`POST /api/v1/posts/{postId}/targets/{targetId}/unpublish`](/reference/posts/posts-unpublish-target) — Unpublish a post on a channel.
- [`POST /api/v1/posts/{postId}/targets/{targetId}/edit`](/reference/posts/posts-edit-target) — Edit a published post on a channel.
- [`POST /api/v1/posts/{postId}/unpublish`](/reference/posts/posts-unpublish) — Unpublish a post.
- [`GET /api/v1/posts/{postId}/changes`](/reference/posts/posts-changes) — List a post's changes.
- [`POST /api/v1/posts/{postId}/cancel`](/reference/posts/posts-cancel) — Cancel a post.
- [`POST /api/v1/posts/drafts`](/reference/posts/posts-drafts-create) — Create a draft.
- [`GET /api/v1/posts/drafts`](/reference/posts/posts-drafts-list) — List drafts.
- [`DELETE /api/v1/posts/drafts/{postId}`](/reference/posts/posts-drafts-delete) — Discard a draft.
- [`GET /api/v1/posts/tags`](/reference/posts/posts-tags-list) — List tags.
- [`POST /api/v1/posts/tags`](/reference/posts/posts-tags-create) — Create a tag.
- [`PATCH /api/v1/posts/tags/{tagId}`](/reference/posts/posts-tags-update) — Update a tag.
- [`DELETE /api/v1/posts/tags/{tagId}`](/reference/posts/posts-tags-delete) — Delete a tag.
- [`GET /api/v1/posts/signatures`](/reference/posts/posts-signatures-list) — List signatures.
- [`POST /api/v1/posts/signatures`](/reference/posts/posts-signatures-create) — Create a signature.
- [`PUT /api/v1/posts/signatures/{signatureId}`](/reference/posts/posts-signatures-update) — Update a signature.
- [`DELETE /api/v1/posts/signatures/{signatureId}`](/reference/posts/posts-signatures-delete) — Delete a signature.

## Approvals

Posts that wait for an approval: comments, approvals, requested changes and review links.

- [`GET /api/v1/approvals/settings`](/reference/approvals/approvals-settings) — Get the review settings.
- [`PUT /api/v1/approvals/settings`](/reference/approvals/approvals-update-settings) — Update the review settings.
- [`GET /api/v1/approvals`](/reference/approvals/approvals-list) — List pending approvals.
- [`GET /api/v1/approvals/{postId}`](/reference/approvals/approvals-get) — Get a post's review.
- [`POST /api/v1/approvals/{postId}/comments`](/reference/approvals/approvals-comment) — Comment on a post.
- [`PATCH /api/v1/approvals/{postId}/comments/{commentId}`](/reference/approvals/approvals-resolve) — Resolve a thread.
- [`POST /api/v1/approvals/{postId}/approve`](/reference/approvals/approvals-approve) — Approve a post.
- [`POST /api/v1/approvals/{postId}/request-changes`](/reference/approvals/approvals-request-changes) — Request changes to a post.
- [`GET /api/v1/approvals/{postId}/links`](/reference/approvals/approvals-list-links) — List a post's review links.
- [`POST /api/v1/approvals/{postId}/links`](/reference/approvals/approvals-create-link) — Create a review link.
- [`DELETE /api/v1/approvals/links/{linkId}`](/reference/approvals/approvals-revoke-link) — Revoke a review link.

## Channels

The accounts and websites a workspace posts to, what each takes, and their default options.

- [`GET /api/v1/channels`](/reference/channels/channels-list) — List channels.
- [`GET /api/v1/channels/search`](/reference/channels/channels-find) — Search channels.
- [`GET /api/v1/channels/platforms`](/reference/channels/channels-platforms) — List connectable platforms.
- [`POST /api/v1/channels/websites`](/reference/channels/channels-connect-site) — Connect a website.
- [`POST /api/v1/channels/websites/keys`](/reference/channels/channels-connect-site-with-key) — Connect a website with a key.
- [`POST /api/v1/channels/chats`](/reference/channels/channels-connect-chat) — Connect a chat.
- [`POST /api/v1/channels/websites/sign-in/{platform}`](/reference/channels/channels-start-site-sign-in) — Start signing in to a website.
- [`POST /api/v1/channels/websites/sign-in/{platform}/callback`](/reference/channels/channels-complete-site-sign-in) — Complete signing in to a website.
- [`POST /api/v1/channels/connect/{platform}`](/reference/channels/channels-connect) — Start connecting an account.
- [`POST /api/v1/channels/connect/{platform}/callback`](/reference/channels/channels-complete-connect) — Complete connecting an account.
- [`POST /api/v1/channels/connect/{platform}/accounts`](/reference/channels/channels-choose-accounts) — Choose the accounts to connect.
- [`POST /api/v1/channels/{channelId}/reconnect`](/reference/channels/channels-reconnect) — Start reconnecting a channel.
- [`PATCH /api/v1/channels/{channelId}`](/reference/channels/channels-update) — Rename a channel.
- [`DELETE /api/v1/channels/{channelId}`](/reference/channels/channels-disconnect) — Disconnect a channel.
- [`POST /api/v1/channels/{channelId}/disable`](/reference/channels/channels-disable) — Turn a channel off.
- [`POST /api/v1/channels/{channelId}/enable`](/reference/channels/channels-enable) — Turn a channel back on.
- [`GET /api/v1/channels/capabilities`](/reference/channels/channels-capabilities-platforms) — Describe every platform.
- [`GET /api/v1/channels/{channelId}/capabilities`](/reference/channels/channels-capabilities-get) — Describe a channel.
- [`GET /api/v1/channels/{channelId}/default-options`](/reference/channels/channels-default-options-get) — Get a channel's default options.
- [`PUT /api/v1/channels/{channelId}/default-options`](/reference/channels/channels-default-options-set) — Set a channel's default options.
- [`DELETE /api/v1/channels/{channelId}/default-options`](/reference/channels/channels-default-options-clear) — Clear a channel's default options.
- [`GET /api/v1/channels/{channelId}/lookups`](/reference/channels/channels-lookups-list) — List a channel's lookups.
- [`POST /api/v1/channels/{channelId}/lookups/{name}`](/reference/channels/channels-lookups-run) — Run a channel's lookup.
- [`GET /api/v1/channels/sets`](/reference/channels/channels-sets-list) — List channel sets.
- [`POST /api/v1/channels/sets`](/reference/channels/channels-sets-create) — Create a channel set.
- [`PUT /api/v1/channels/sets/{channelSetId}`](/reference/channels/channels-sets-update) — Update a channel set.
- [`DELETE /api/v1/channels/sets/{channelSetId}`](/reference/channels/channels-sets-delete) — Delete a channel set.
- [`POST /api/v1/channels/connect-links`](/reference/channels/channels-connect-links-create) — Create a connect link.
- [`GET /api/v1/channels/connect-links`](/reference/channels/channels-connect-links-list) — List connect links.
- [`GET /api/v1/channels/connect-links/{linkId}`](/reference/channels/channels-connect-links-get) — Get a connect link.
- [`DELETE /api/v1/channels/connect-links/{linkId}`](/reference/channels/channels-connect-links-revoke) — Revoke a connect link.
- [`GET /api/v1/channels/{channelId}/tiktok-creator`](/reference/channels/channels-tiktok-creator-get) — Read a TikTok channel's creator.

## Media

The media library: uploads, and images, voice-overs, transcripts, videos and slideshows made for it.

- [`GET /api/v1/media`](/reference/media/media-list) — List media.
- [`POST /api/v1/media`](/reference/media/media-create) — Start an upload.
- [`POST /api/v1/media/import`](/reference/media/media-import-from-url) — Import media from a URL.
- [`GET /api/v1/media/{mediaId}`](/reference/media/media-get) — Get media.
- [`PATCH /api/v1/media/{mediaId}`](/reference/media/media-describe) — Describe media.
- [`DELETE /api/v1/media/{mediaId}`](/reference/media/media-delete) — Delete media.
- [`POST /api/v1/media/{mediaId}/complete`](/reference/media/media-complete) — Complete an upload.
- [`GET /api/v1/media/{mediaId}/usage`](/reference/media/media-usage) — Get where media is used.
- [`POST /api/v1/media/images`](/reference/media/media-images-create) — Make an image into the media library.
- [`POST /api/v1/media/voiceovers`](/reference/media/media-voiceovers-create) — Make a voice-over into the media library.
- [`POST /api/v1/media/{mediaId}/transcriptions`](/reference/media/media-transcriptions-create) — Transcribe a file of the media library.
- [`POST /api/v1/media/videos/generations`](/reference/media/media-videos-create) — Make a video into the media library.
- [`GET /api/v1/media/videos/generations`](/reference/media/media-videos-list) — List video jobs.
- [`GET /api/v1/media/videos/generations/{generationId}`](/reference/media/media-videos-get) — Get a video job.
- [`POST /api/v1/media/slideshows`](/reference/media/media-slideshows-create) — Compose a slide video into the media library.
- [`GET /api/v1/media/slideshows`](/reference/media/media-slideshows-list) — List slide video jobs.
- [`POST /api/v1/media/slideshows/edits`](/reference/media/media-slideshows-create-from-edit) — Render a Shotstack Edit into the media library.
- [`GET /api/v1/media/slideshows/{slideshowId}`](/reference/media/media-slideshows-get) — Get a slide video job.

## Inbox

Comments, direct messages and reviews, and the answers to them.

- [`GET /api/v1/inbox/comments/threads`](/reference/inbox/inbox-comments-list-threads) — List the inbox's threads.
- [`GET /api/v1/inbox/comments/threads/{threadId}`](/reference/inbox/inbox-comments-get-thread) — Get a thread.
- [`GET /api/v1/inbox/comments/channels/{channelId}/abilities`](/reference/inbox/inbox-comments-get-abilities) — Get a channel's inbox abilities.
- [`POST /api/v1/inbox/comments/{commentId}/replies`](/reference/inbox/inbox-comments-reply) — Reply to a comment.
- [`POST /api/v1/inbox/comments/{commentId}/answered`](/reference/inbox/inbox-comments-set-answered) — Mark a comment answered.
- [`POST /api/v1/inbox/comments/{commentId}/moderation`](/reference/inbox/inbox-comments-moderate) — Moderate a comment.
- [`POST /api/v1/inbox/comments/replies/{replyId}/confirmation`](/reference/inbox/inbox-comments-confirm-reply) — Confirm an unconfirmed reply.
- [`DELETE /api/v1/inbox/comments/replies/{replyId}`](/reference/inbox/inbox-comments-withdraw-reply) — Withdraw a reply.
- [`GET /api/v1/inbox/messages/conversations`](/reference/inbox/inbox-messages-list-conversations) — List the conversations.
- [`GET /api/v1/inbox/messages/conversations/{conversationId}`](/reference/inbox/inbox-messages-get-conversation) — Get a conversation.
- [`POST /api/v1/inbox/messages/conversations/{conversationId}/messages`](/reference/inbox/inbox-messages-send) — Send a direct message.
- [`POST /api/v1/inbox/messages/private-replies`](/reference/inbox/inbox-messages-send-private-reply) — Send a private reply to a comment.
- [`GET /api/v1/inbox/messages/private-replies/{privateReplyId}`](/reference/inbox/inbox-messages-get-private-reply) — Get a private reply.
- [`POST /api/v1/inbox/messages/private-replies/{privateReplyId}/confirm`](/reference/inbox/inbox-messages-confirm-private-reply) — Confirm an unconfirmed private reply.
- [`POST /api/v1/inbox/messages/conversations/{conversationId}/read`](/reference/inbox/inbox-messages-set-conversation-read) — Mark a conversation read.
- [`GET /api/v1/inbox/messages/settings`](/reference/inbox/inbox-messages-get-settings) — Get the direct messages' settings.
- [`PUT /api/v1/inbox/messages/channels/{channelId}`](/reference/inbox/inbox-messages-set-channel) — Turn a channel's direct messages on or off.
- [`PUT /api/v1/inbox/messages/applications`](/reference/inbox/inbox-messages-set-application) — Let an application read the direct messages.
- [`POST /api/v1/inbox/messages/outgoing/{messageId}/confirmation`](/reference/inbox/inbox-messages-confirm) — Confirm an unconfirmed message.
- [`GET /api/v1/inbox/reviews/threads`](/reference/inbox/inbox-reviews-list-threads) — List the locations' reviews.
- [`GET /api/v1/inbox/reviews/threads/{threadId}`](/reference/inbox/inbox-reviews-get-thread) — Get a location's reviews.
- [`PUT /api/v1/inbox/reviews/{reviewId}/reply`](/reference/inbox/inbox-reviews-reply) — Reply to a review.
- [`DELETE /api/v1/inbox/reviews/{reviewId}/reply`](/reference/inbox/inbox-reviews-withdraw-reply) — Delete a review's reply.
- [`POST /api/v1/inbox/reviews/{reviewId}/answered`](/reference/inbox/inbox-reviews-set-answered) — Mark a review answered.

## Automations

Queues, recycling, follow-ups, comment rules and feeds, which post or answer on their own.

- [`GET /api/v1/automations/comment-rules`](/reference/automations/automations-comment-rules-list) — List comment rules.
- [`POST /api/v1/automations/comment-rules`](/reference/automations/automations-comment-rules-create) — Start a comment rule.
- [`GET /api/v1/automations/comment-rules/platforms`](/reference/automations/automations-comment-rules-platforms) — List where comment rules answer.
- [`GET /api/v1/automations/comment-rules/{ruleId}`](/reference/automations/automations-comment-rules-get) — Get a comment rule.
- [`PATCH /api/v1/automations/comment-rules/{ruleId}`](/reference/automations/automations-comment-rules-update) — Update a comment rule.
- [`DELETE /api/v1/automations/comment-rules/{ruleId}`](/reference/automations/automations-comment-rules-delete) — Stop a comment rule.
- [`GET /api/v1/automations/queues`](/reference/automations/automations-queues-list) — List queues.
- [`POST /api/v1/automations/queues`](/reference/automations/automations-queues-create) — Create a queue.
- [`GET /api/v1/automations/queues/{queueId}`](/reference/automations/automations-queues-get) — Get a queue.
- [`PUT /api/v1/automations/queues/{queueId}`](/reference/automations/automations-queues-update) — Update a queue.
- [`DELETE /api/v1/automations/queues/{queueId}`](/reference/automations/automations-queues-delete) — Delete a queue.
- [`GET /api/v1/automations/queues/{queueId}/slots`](/reference/automations/automations-queues-slots) — Preview a queue's slots.
- [`POST /api/v1/automations/queues/{queueId}/reshuffle`](/reference/automations/automations-queues-reshuffle) — Reshuffle a queue.
- [`GET /api/v1/automations/recycling`](/reference/automations/automations-recycling-list) — List recycling rules.
- [`POST /api/v1/automations/recycling`](/reference/automations/automations-recycling-create) — Start repeating a post.
- [`GET /api/v1/automations/recycling/{ruleId}`](/reference/automations/automations-recycling-get) — Get a recycling rule.
- [`PATCH /api/v1/automations/recycling/{ruleId}`](/reference/automations/automations-recycling-update) — Update a recycling rule.
- [`DELETE /api/v1/automations/recycling/{ruleId}`](/reference/automations/automations-recycling-delete) — Stop a recycling rule.
- [`POST /api/v1/automations/recycling/{ruleId}/resume`](/reference/automations/automations-recycling-resume) — Resume a recycling rule.
- [`GET /api/v1/automations/follow-ups`](/reference/automations/automations-follow-ups-list) — List follow-up rules.
- [`POST /api/v1/automations/follow-ups`](/reference/automations/automations-follow-ups-create) — Start a follow-up rule.
- [`GET /api/v1/automations/follow-ups/platforms`](/reference/automations/automations-follow-ups-platforms) — List where follow-up rules act.
- [`GET /api/v1/automations/follow-ups/{ruleId}`](/reference/automations/automations-follow-ups-get) — Get a follow-up rule.
- [`PATCH /api/v1/automations/follow-ups/{ruleId}`](/reference/automations/automations-follow-ups-update) — Update a follow-up rule.
- [`DELETE /api/v1/automations/follow-ups/{ruleId}`](/reference/automations/automations-follow-ups-delete) — Stop a follow-up rule.
- [`POST /api/v1/automations/follow-ups/{ruleId}/approve`](/reference/automations/automations-follow-ups-approve) — Approve a follow-up rule.
- [`GET /api/v1/automations/feeds`](/reference/automations/automations-feeds-list) — List feeds.
- [`POST /api/v1/automations/feeds`](/reference/automations/automations-feeds-create) — Add a feed.
- [`POST /api/v1/automations/feeds/preview`](/reference/automations/automations-feeds-preview) — Preview a feed.
- [`GET /api/v1/automations/feeds/{feedId}`](/reference/automations/automations-feeds-get) — Get a feed.
- [`PATCH /api/v1/automations/feeds/{feedId}`](/reference/automations/automations-feeds-update) — Update a feed.
- [`DELETE /api/v1/automations/feeds/{feedId}`](/reference/automations/automations-feeds-delete) — Delete a feed.
- [`GET /api/v1/automations/feeds/{feedId}/items`](/reference/automations/automations-feeds-items) — List a feed's items.

## Analytics

How posts and channels did.

- [`GET /api/v1/analytics/summary`](/reference/analytics/analytics-summary) — Summarize the workspace's analytics.
- [`GET /api/v1/analytics/dashboard`](/reference/analytics/analytics-dashboard) — Get the workspace's analytics dashboard.
- [`GET /api/v1/analytics/channels/{channelId}`](/reference/analytics/analytics-channel) — Get a channel's analytics over time.
- [`GET /api/v1/analytics/export`](/reference/analytics/analytics-export) — Export the workspace's analytics.
- [`GET /api/v1/analytics/best-times`](/reference/analytics/analytics-best-times) — Get when a channel's posts did best.
- [`GET /api/v1/analytics/posts/{postId}`](/reference/analytics/analytics-post) — Get a post's analytics.

## Ads

Connect ad accounts, read how ads did, and boost posts.

- [`GET /api/v1/ads`](/reference/ads/ads-status) — Get what the server offers of ads.
- [`GET /api/v1/ads/connections`](/reference/ads/ads-list-connections) — List ad network sign-ins.
- [`POST /api/v1/ads/connections/{network}`](/reference/ads/ads-connect) — Start an ad network sign-in.
- [`POST /api/v1/ads/connections/{network}/callback`](/reference/ads/ads-complete-connect) — Complete an ad network sign-in.
- [`GET /api/v1/ads/connections/{connectionId}/accounts`](/reference/ads/ads-reachable-accounts) — List the ad accounts a sign-in reaches.
- [`POST /api/v1/ads/connections/{connectionId}/accounts`](/reference/ads/ads-connect-accounts) — Connect ad accounts.
- [`DELETE /api/v1/ads/connections/{connectionId}`](/reference/ads/ads-disconnect) — Remove an ad network sign-in.
- [`GET /api/v1/ads/accounts`](/reference/ads/ads-list-accounts) — List ad accounts.
- [`GET /api/v1/ads/accounts/{accountId}`](/reference/ads/ads-get-account) — Get an ad account and its spending.
- [`DELETE /api/v1/ads/accounts/{accountId}`](/reference/ads/ads-remove-account) — Disconnect an ad account.
- [`PUT /api/v1/ads/accounts/{accountId}/spending`](/reference/ads/ads-set-spending) — Allow an ad account to spend, with a monthly ceiling.
- [`GET /api/v1/ads/accounts/{accountId}/campaigns`](/reference/ads/ads-list-campaigns) — List an ad account's campaigns.
- [`GET /api/v1/ads/accounts/{accountId}/ads`](/reference/ads/ads-list-ads) — List an ad account's ads.
- [`GET /api/v1/ads/accounts/{accountId}/insights`](/reference/ads/ads-list-insights) — Get an ad account's daily numbers.
- [`GET /api/v1/ads/posts/{postId}`](/reference/ads/ads-post-performance) — Get a post's organic and paid numbers.
- [`POST /api/v1/ads/boosts/quote`](/reference/ads/ads-quote-boost) — Check a boost and what it would commit.
- [`POST /api/v1/ads/boosts`](/reference/ads/ads-create-boost) — Boost a published post.
- [`GET /api/v1/ads/boosts`](/reference/ads/ads-list-boosts) — List boosts.
- [`GET /api/v1/ads/boosts/{boostId}`](/reference/ads/ads-get-boost) — Get a boost.
- [`POST /api/v1/ads/boosts/{boostId}/pause`](/reference/ads/ads-pause-boost) — Pause a boost.
- [`POST /api/v1/ads/boosts/{boostId}/resume`](/reference/ads/ads-resume-boost) — Resume a paused boost.
- [`POST /api/v1/ads/boosts/{boostId}/stop`](/reference/ads/ads-stop-boost) — Stop a boost.
- [`GET /api/v1/ads/audit`](/reference/ads/ads-audit-trail) — List the ads audit trail.

## Articles

Articles published to the websites connected as channels.

- [`GET /api/v1/articles`](/reference/articles/articles-list) — List articles.
- [`POST /api/v1/articles`](/reference/articles/articles-create) — Create an article.
- [`GET /api/v1/articles/{articleId}`](/reference/articles/articles-get) — Get an article.
- [`PATCH /api/v1/articles/{articleId}`](/reference/articles/articles-update) — Update an article.
- [`DELETE /api/v1/articles/{articleId}`](/reference/articles/articles-delete) — Delete an article.
- [`POST /api/v1/articles/{articleId}/schedule`](/reference/articles/articles-schedule) — Schedule an article.
- [`POST /api/v1/articles/{articleId}/unschedule`](/reference/articles/articles-unschedule) — Unschedule an article.
- [`POST /api/v1/articles/{articleId}/retry`](/reference/articles/articles-retry) — Send an article again.
- [`POST /api/v1/articles/{articleId}/unpublish`](/reference/articles/articles-unpublish) — Unpublish an article.
- [`POST /api/v1/articles/{articleId}/site`](/reference/articles/articles-update-on-site) — Update an article on its site.

## Links

The short links in posts, and how often they were opened.

- [`GET /api/v1/links/status`](/reference/links/links-status) — Get the short links' status.
- [`PUT /api/v1/links/settings`](/reference/links/links-set-default) — Set the short links' default.
- [`GET /api/v1/links`](/reference/links/links-list) — List the short links.
- [`GET /api/v1/links/{linkId}`](/reference/links/links-get) — Get a short link.

## Webhook endpoints

The endpoints a workspace's events are sent to.

- [`GET /api/v1/webhooks`](/reference/webhooks/webhooks-list) — List webhook endpoints.
- [`POST /api/v1/webhooks`](/reference/webhooks/webhooks-create) — Create a webhook endpoint.
- [`GET /api/v1/webhooks/deliveries`](/reference/webhooks/webhooks-search-deliveries) — List deliveries across endpoints.
- [`POST /api/v1/webhooks/deliveries/redeliver`](/reference/webhooks/webhooks-redeliver-many) — Send many deliveries again.
- [`GET /api/v1/webhooks/{endpointId}`](/reference/webhooks/webhooks-get) — Get a webhook endpoint.
- [`PATCH /api/v1/webhooks/{endpointId}`](/reference/webhooks/webhooks-update) — Update a webhook endpoint.
- [`DELETE /api/v1/webhooks/{endpointId}`](/reference/webhooks/webhooks-delete) — Delete a webhook endpoint.
- [`POST /api/v1/webhooks/{endpointId}/secret`](/reference/webhooks/webhooks-rotate-secret) — Rotate a webhook endpoint's secret.
- [`POST /api/v1/webhooks/{endpointId}/test`](/reference/webhooks/webhooks-send-test) — Send a test event.
- [`GET /api/v1/webhooks/{endpointId}/deliveries`](/reference/webhooks/webhooks-list-deliveries) — List an endpoint's deliveries.
- [`POST /api/v1/webhooks/{endpointId}/deliveries/{deliveryId}/redeliver`](/reference/webhooks/webhooks-redeliver) — Send a delivery again.

## Assistant

Suggestions for a post's text, and the AI providers and models a workspace uses.

- [`GET /api/v1/assistant`](/reference/assistant/assistant-status) — Get the assistant's status.
- [`POST /api/v1/assistant/suggestions`](/reference/assistant/assistant-suggest) — Suggest a change to a post's text.
- [`GET /api/v1/assistant/image-provider`](/reference/assistant/assistant-image-provider) — Get the workspace's image provider. Deprecated.
- [`PUT /api/v1/assistant/image-provider`](/reference/assistant/assistant-set-image-provider) — Set the workspace's image provider. Deprecated.
- [`DELETE /api/v1/assistant/image-provider`](/reference/assistant/assistant-remove-image-provider) — Remove the workspace's image provider. Deprecated.
- [`GET /api/v1/assistant/text-provider`](/reference/assistant/assistant-text-provider) — Get the workspace's text provider. Deprecated.
- [`PUT /api/v1/assistant/text-provider`](/reference/assistant/assistant-set-text-provider) — Set the workspace's text provider. Deprecated.
- [`DELETE /api/v1/assistant/text-provider`](/reference/assistant/assistant-remove-text-provider) — Remove the workspace's text provider. Deprecated.
- [`POST /api/v1/assistant/text-provider/test`](/reference/assistant/assistant-test-text-provider) — Test the workspace's text provider. Deprecated.
- [`GET /api/v1/assistant/providers`](/reference/assistant/assistant-providers) — List the workspace's AI providers.
- [`PUT /api/v1/assistant/providers/{provider}`](/reference/assistant/assistant-connect-provider) — Connect an AI provider.
- [`DELETE /api/v1/assistant/providers/{provider}`](/reference/assistant/assistant-disconnect-provider) — Disconnect an AI provider.
- [`POST /api/v1/assistant/providers/{provider}/test`](/reference/assistant/assistant-test-provider) — Test an AI provider.
- [`GET /api/v1/assistant/models`](/reference/assistant/assistant-models) — List the workspace's models.
- [`PUT /api/v1/assistant/models/{capability}`](/reference/assistant/assistant-set-model) — Choose a model for a use.
- [`DELETE /api/v1/assistant/models/{capability}`](/reference/assistant/assistant-unset-model) — Unset a use's model.

## Workspace

The workspace itself: members, invitations, API keys, activity, billing and usage.

- [`GET /api/v1/workspace/security`](/reference/workspace/workspace-security-get) — Get the workspace's security policy.
- [`GET /api/v1/workspace/activity`](/reference/workspace/workspace-activity-list) — List the workspace's activity.
- [`POST /api/v1/workspace/api-keys`](/reference/workspace/workspace-api-keys-create) — Create an API key.
- [`GET /api/v1/workspace/api-keys`](/reference/workspace/workspace-api-keys-list) — List API keys.
- [`DELETE /api/v1/workspace/api-keys/{apiKeyId}`](/reference/workspace/workspace-api-keys-revoke) — Revoke an API key.
- [`GET /api/v1/workspace/members`](/reference/workspace/workspace-members-list) — List members.
- [`GET /api/v1/workspace/invitations`](/reference/workspace/workspace-invitations-list) — List invitations.
- [`POST /api/v1/workspace/invitations`](/reference/workspace/workspace-invitations-create) — Invite someone.
- [`DELETE /api/v1/workspace/invitations/{invitationId}`](/reference/workspace/workspace-invitations-revoke) — Revoke an invitation.
- [`GET /api/v1/workspace/billing`](/reference/workspace/workspace-billing-get) — Get the workspace's billing.
- [`GET /api/v1/workspace/billing/standing`](/reference/workspace/workspace-billing-standing) — Get the workspace's standing.
- [`GET /api/v1/workspace/usage`](/reference/workspace/workspace-usage-get) — Get the workspace's usage.
- [`GET /api/v1/workspace/usage/partner`](/reference/workspace/workspace-usage-partner) — Get the partner account's usage per customer.

## Partner

A partner's customer workspaces, its usage, and the partner account itself.

- [`GET /api/v1/partner`](/reference/partner/partner-get) — Read the partner account.
- [`GET /api/v1/partner/overview`](/reference/partner/partner-overview) — See which customers need attention.
- [`GET /api/v1/partner/workspaces`](/reference/partner/partner-list-workspaces) — List the partner's workspaces.
- [`POST /api/v1/partner/workspaces`](/reference/partner/partner-create-workspace) — Create a workspace for a customer.
- [`GET /api/v1/partner/workspaces/{workspaceId}`](/reference/partner/partner-get-workspace) — Read a workspace of the partner.
- [`PATCH /api/v1/partner/workspaces/{workspaceId}`](/reference/partner/partner-update-workspace) — Change a workspace of the partner.
- [`DELETE /api/v1/partner/workspaces/{workspaceId}`](/reference/partner/partner-delete-workspace) — Delete a workspace of the partner.
- [`POST /api/v1/partner/workspaces/{workspaceId}/channels/{channelId}/move`](/reference/partner/partner-move-channel) — Move a channel to another workspace of the partner.
- [`GET /api/v1/partner/account`](/reference/partner/partner-account-get) — Read the workspace's partner account.
- [`POST /api/v1/partner/account`](/reference/partner/partner-account-open) — Open a partner account.
- [`PATCH /api/v1/partner/account`](/reference/partner/partner-account-update) — Change the partner account.
- [`DELETE /api/v1/partner/account`](/reference/partner/partner-account-close) — Close the partner account.
- [`GET /api/v1/partner/account/keys`](/reference/partner/partner-account-list-keys) — List partner keys.
- [`POST /api/v1/partner/account/keys`](/reference/partner/partner-account-create-key) — Create a partner key.
- [`DELETE /api/v1/partner/account/keys/{partnerKeyId}`](/reference/partner/partner-account-revoke-key) — Revoke a partner key.
- [`GET /api/v1/partner/account/overview`](/reference/partner/partner-account-overview) — See which of the partner's customers need attention.
- [`GET /api/v1/partner/account/workspaces`](/reference/partner/partner-account-list-workspaces) — List the partner account's workspaces.
- [`GET /api/v1/partner/customer-usage`](/reference/partner/partner-customer-usage-get) — Get the partner's usage per customer.

## Credential

What the credential of a request is, and what it may do.

- [`GET /api/v1/credential`](/reference/credential/credential-get) — Check the credential.

## System

Health checks and the API's changelog.

- [`GET /api/health`](/reference/system/health) — Check that the server is up.
- [`GET /api/ready`](/reference/system/ready) — Check that the server can take traffic.
- [`GET /api/changelog`](/reference/system/changelog) — List what each release of the API changed.

## Webhooks

- [`POST post.scheduled`](/reference/webhooks-2/on-post-scheduled) — A post was scheduled, or moved to another time.
- [`POST post.unscheduled`](/reference/webhooks-2/on-post-unscheduled) — A scheduled post, or one that waited, was taken back to draft.
- [`POST post.published`](/reference/webhooks-2/on-post-published) — A post went live on a channel.
- [`POST post.failed`](/reference/webhooks-2/on-post-failed) — A post did not go out on a channel.
- [`POST post.unconfirmed`](/reference/webhooks-2/on-post-unconfirmed) — Peal cannot tell whether a post went live on a channel.
- [`POST post.cancelled`](/reference/webhooks-2/on-post-cancelled) — A post was cancelled.
- [`POST post.finished`](/reference/webhooks-2/on-post-finished) — Every channel of a post has its result.
- [`POST post.unpublished`](/reference/webhooks-2/on-post-unpublished) — A post was deleted from a channel's platform.
- [`POST post.unpublish_failed`](/reference/webhooks-2/on-post-unpublish-failed) — Peal could not delete a post from a channel's platform.
- [`POST post.edited`](/reference/webhooks-2/on-post-edited) — A post's text was edited on a channel's platform.
- [`POST post.edit_failed`](/reference/webhooks-2/on-post-edit-failed) — Peal could not edit a post's text on a channel's platform.
- [`POST post.approval_requested`](/reference/webhooks-2/on-post-approval-requested) — A post waits for an approval.
- [`POST post.approved`](/reference/webhooks-2/on-post-approved) — A post that waited was approved.
- [`POST post.changes_requested`](/reference/webhooks-2/on-post-changes-requested) — Changes were asked for on a post that waited.
- [`POST channel.connected`](/reference/webhooks-2/on-channel-connected) — An account was connected, or a channel authorized again.
- [`POST channel.disconnected`](/reference/webhooks-2/on-channel-disconnected) — A channel was disconnected.
- [`POST channel.reconnect_needed`](/reference/webhooks-2/on-channel-reconnect-needed) — A channel's authorization stopped working.
- [`POST channel.disabled`](/reference/webhooks-2/on-channel-disabled) — A member turned a channel off.
- [`POST channel.enabled`](/reference/webhooks-2/on-channel-enabled) — A member turned a channel back on.
- [`POST channel.expiring`](/reference/webhooks-2/on-channel-expiring) — A channel's authorization ends soon, and cannot be renewed.
- [`POST article.published`](/reference/webhooks-2/on-article-published) — An article went to its website.
- [`POST article.failed`](/reference/webhooks-2/on-article-failed) — An article did not go to its website.
- [`POST media.ready`](/reference/webhooks-2/on-media-ready) — A file was read, and can go in posts.
- [`POST media.failed`](/reference/webhooks-2/on-media-failed) — A file was refused, or could not be read.
- [`POST comment.received`](/reference/webhooks-2/on-comment-received) — Someone commented under a post that went live.
- [`POST comment.replied`](/reference/webhooks-2/on-comment-replied) — A reply to a comment went out from Peal.
- [`POST review.received`](/reference/webhooks-2/on-review-received) — Someone reviewed a location a channel posts as.
- [`POST review.replied`](/reference/webhooks-2/on-review-replied) — A reply to a review went out from Peal.
- [`POST message.received`](/reference/webhooks-2/on-message-received) — Someone sent a direct message to a channel's account.
- [`POST message.sent`](/reference/webhooks-2/on-message-sent) — A direct message went out from Peal.
- [`POST boost.started`](/reference/webhooks-2/on-boost-started) — A boost was made and turned on.
- [`POST boost.paused`](/reference/webhooks-2/on-boost-paused) — A member paused a boost.
- [`POST boost.resumed`](/reference/webhooks-2/on-boost-resumed) — A member ran a paused boost again.
- [`POST boost.stopped`](/reference/webhooks-2/on-boost-stopped) — A member stopped a boost for good.
- [`POST boost.ended`](/reference/webhooks-2/on-boost-ended) — A boost's end date passed.
- [`POST boost.failed`](/reference/webhooks-2/on-boost-failed) — A boost could not be made, and nothing ran.
- [`POST boost.unconfirmed`](/reference/webhooks-2/on-boost-unconfirmed) — Peal cannot tell whether a boost runs.
- [`POST boost.budget_reached`](/reference/webhooks-2/on-boost-budget-reached) — A boost spent its whole total budget.
- [`POST webhook.test`](/reference/webhooks-2/on-webhook-test) — Someone asked for a test event.
