PostWharf API

PostWharf API as documented publicly: 40 operations. Contract generated from the documentation by API Evangelist (2026-11-21); not the provider's own document.

GitHub OpenAPI

Operations 40

GET /healthz Liveness, plus which posting provider is configured. #
GET /v1/analytics What each network reported about the posts you sent there, one row per network. #
POST /v1/auth/forgot Email a single-use reset link. Answers 202 whether or not the address has an account, so it cannot be used to discover which emails are registered. #
POST /v1/auth/login Exchange email and password for a session. Sets an httpOnly cookie and returns the token for non-browser callers. #
POST /v1/auth/logout Delete the current session and clear the cookie. #
DELETE /v1/auth/me Erase the account. Workspaces the user solely owns are deleted with it; shared ones survive and the user is removed. #
GET /v1/auth/me The signed-in user and every workspace they can act on. Never includes an API key. #
GET /v1/auth/methods Which sign-in methods this deployment has. #
POST /v1/auth/reset Set a new password from a reset token. The link works once and expires after an hour. #
POST /v1/auth/signup Create a user, their first workspace and a session in one call. #
GET /v1/channels GET /v1/channels #
POST /v1/channels Connect an account. #
DELETE /v1/channels/{id} Disconnect. #
GET /v1/connector-requests The request-only connectors this workspace has asked for. #
POST /v1/connector-requests Request Reddit, Discord, Snapchat or WordPress. #
GET /v1/events The receipt feed — delivery.succeeded , delivery.retrying , delivery.failed , channel.token_expiring . #
GET /v1/media GET /v1/media #
POST /v1/media Register media you already host, by URL. #
DELETE /v1/media/{id} Delete a file and its stored object. #
GET /v1/media/{id} GET /v1/media/{id} #
PATCH /v1/media/{id} Write or replace the description on a file that is already registered. #
POST /v1/media/upload-url A presigned PUT so the browser uploads straight to the staging bucket. #
GET /v1/oauth/google/callback Google returns here. Verifies state, exchanges the code server-side, and requires a Google-verified email before matching it to an account. #
GET /v1/oauth/google/start Begin Sign in with Google. Redirects to Google's consent screen with a signed, ten-minute state. #
GET /v1/posts Recent posts with their deliveries. #
POST /v1/posts POST /v1/posts #
DELETE /v1/posts/{id} Cancel a post that has not finished, or throw a draft away. #
GET /v1/posts/{id} One post: status, text, media, and a delivery per channel carrying status, attempts, the live URL and the error text. #
PATCH /v1/posts/{id} Change a draft, or a post that has not gone out. #
GET /v1/usage This calendar month against the plan: posts used and allowed, media bytes used and allowed, and whether uploads are possible at all on this deployment. #
GET /v1/webhooks Registered endpoints. #
POST /v1/webhooks Register an endpoint. #
DELETE /v1/webhooks/{id} Remove an endpoint. #
GET /v1/webhooks/{id}/deliveries Attempts for one endpoint, with response codes. #
GET /v1/workspace The current workspace: name, plan, plan status, created date, the timezone it schedules in, and alert_emails , whether its owners are emailed when a post does not go out or a chann #
PATCH /v1/workspace Rename the workspace, change the clock it schedules on, or turn its owners' emails about failed posts and lapsed channels on or off. #
POST /v1/workspaces Create another workspace. #
GET /v1/workspaces/{id}/key Reveal the workspace API key. #
POST /v1/workspaces/{id}/key/rotate Issue a new key and invalidate the old one immediately. #
GET /v1/workspaces/allowance How many workspaces you hold, how many the plan allows ( null is unlimited), and which plan that is. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/postwharf-com:postwharf-com-api"
All apis
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.

Get an API 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 Specification

postwharf-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: PostWharf API
  version: '2026-11-21'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-21: 40 operation(s) read from 11 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; PostWharf has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 37
    pages-with-code: 10
    pages-read: 11
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-21'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://postwharf.com/x/api
  - https://postwharf.com/tiktok/api
  - https://postwharf.com/bluesky/api
  - https://postwharf.com/threads/api
  - https://postwharf.com/youtube/api
  - https://postwharf.com/facebook/api
  - https://postwharf.com/linkedin/api
  - https://postwharf.com/telegram/api
  - https://postwharf.com/instagram/api
  - https://postwharf.com/pinterest/api
  - https://postwharf.com/docs/api/reference
servers:
- url: https://api.postwharf.com
paths:
  /healthz:
    get:
      operationId: get_healthz
      tags:
      - Healthz
      summary: Liveness, plus which posting provider is configured.
      description: GET /healthz
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/analytics:
    get:
      operationId: get_v1_analytics
      tags:
      - Analytics
      summary: What each network reported about the posts you sent there, one row per network.
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/forgot:
    post:
      operationId: post_v1_auth_forgot
      tags:
      - Auth
      summary: Email a single-use reset link. Answers 202 whether or not the address has an account, so it cannot be used to discover which emails
        are registered.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1AuthForgotRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/login:
    post:
      operationId: post_v1_auth_login
      tags:
      - Auth
      summary: Exchange email and password for a session. Sets an httpOnly cookie and returns the token for non-browser callers.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1AuthLoginRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/logout:
    post:
      operationId: post_v1_auth_logout
      tags:
      - Auth
      summary: Delete the current session and clear the cookie.
      description: session
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/me:
    delete:
      operationId: delete_v1_auth_me
      tags:
      - Auth
      summary: Erase the account. Workspaces the user solely owns are deleted with it; shared ones survive and the user is removed.
      description: session
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_auth_me
      tags:
      - Auth
      summary: The signed-in user and every workspace they can act on. Never includes an API key.
      description: session
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/methods:
    get:
      operationId: get_v1_auth_methods
      tags:
      - Auth
      summary: Which sign-in methods this deployment has.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/reset:
    post:
      operationId: post_v1_auth_reset
      tags:
      - Auth
      summary: Set a new password from a reset token. The link works once and expires after an hour.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1AuthResetRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/auth/signup:
    post:
      operationId: post_v1_auth_signup
      tags:
      - Auth
      summary: Create a user, their first workspace and a session in one call.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1AuthSignupRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/channels:
    get:
      operationId: get_v1_channels
      tags:
      - Channels
      summary: GET /v1/channels
      x-source: https://postwharf.com/x/api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl https://api.postwharf.com/v1/channels  -H \"Authorization: Bearer $POSTWHARF_KEY\" \n Each connected account is a channel.\
          \ The one you want has \"platform\": \"x\" . \n Check what happened "
    post:
      operationId: post_v1_channels
      tags:
      - Channels
      summary: Connect an account.
      description: Create a new channel connection.
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ChannelsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/channels/{id}:
    delete:
      operationId: delete_v1_channels_id
      tags:
      - Channels
      summary: Disconnect.
      description: Delete a channel; queued deliveries to this channel will fail.
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/connector-requests:
    get:
      operationId: get_v1_connector_requests
      tags:
      - Connector Requests
      summary: The request-only connectors this workspace has asked for.
      description: List connector requests.
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_connector_requests
      tags:
      - Connector Requests
      summary: Request Reddit, Discord, Snapchat or WordPress.
      description: Create a connector request; idempotent per workspace and platform.
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1ConnectorRequestsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/events:
    get:
      operationId: get_v1_events
      tags:
      - Events
      summary: The receipt feed — delivery.succeeded , delivery.retrying , delivery.failed , channel.token_expiring .
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/media:
    get:
      operationId: get_v1_media
      tags:
      - Media
      summary: GET /v1/media
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_media
      tags:
      - Media
      summary: Register media you already host, by URL.
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MediaRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/media/{id}:
    delete:
      operationId: delete_v1_media_id
      tags:
      - Media
      summary: Delete a file and its stored object.
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_media_id
      tags:
      - Media
      summary: GET /v1/media/{id}
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_v1_media_id
      tags:
      - Media
      summary: Write or replace the description on a file that is already registered.
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1MediaIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/media/upload-url:
    post:
      operationId: post_v1_media_upload_url
      tags:
      - Media
      summary: A presigned PUT so the browser uploads straight to the staging bucket.
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1MediaUploadUrlRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/oauth/google/callback:
    get:
      operationId: get_v1_oauth_google_callback
      tags:
      - Oauth
      summary: Google returns here. Verifies state, exchanges the code server-side, and requires a Google-verified email before matching it to
        an account.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/oauth/google/start:
    get:
      operationId: get_v1_oauth_google_start
      tags:
      - Oauth
      summary: Begin Sign in with Google. Redirects to Google's consent screen with a signed, ten-minute state.
      description: none
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/posts:
    get:
      operationId: get_v1_posts
      tags:
      - Posts
      summary: Recent posts with their deliveries.
      description: List recent posts.
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: Defaults to 50, capped at 200.
      - name: status
        in: query
        required: false
        schema:
          type: string
        description: Filter by status, e.g., draft.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_posts
      tags:
      - Posts
      summary: POST /v1/posts
      x-source: https://postwharf.com/x/api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1PostsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://api.postwharf.com/v1/posts  -H \"Authorization: Bearer $POSTWHARF_KEY\"  -H \"Content-Type: application/json\"\
          \  -d '{\n \"text\": \"Shipping today.\",\n \"channels\": [\"ch_your_x_channel\"],\n \"media\": [\"med_optional\"]\n }' \n Schedule\
          \ it instead "
  /v1/posts/{id}:
    delete:
      operationId: delete_v1_posts_id
      tags:
      - Posts
      summary: Cancel a post that has not finished, or throw a draft away.
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_v1_posts_id
      tags:
      - Posts
      summary: 'One post: status, text, media, and a delivery per channel carrying status, attempts, the live URL and the error text.'
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1PostsIdResponse'
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_v1_posts_id
      tags:
      - Posts
      summary: Change a draft, or a post that has not gone out.
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1PostsIdRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/usage:
    get:
      operationId: get_v1_usage
      tags:
      - Usage
      summary: 'This calendar month against the plan: posts used and allowed, media bytes used and allowed, and whether uploads are possible at
        all on this deployment.'
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/webhooks:
    get:
      operationId: get_v1_webhooks
      tags:
      - Webhooks
      summary: Registered endpoints.
      description: GET /v1/webhooks
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'Workspace API key — wf_live_… , sent as Authorization: Bearer <token>.'
      - name: X-Workspace
        in: header
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      - name: workspace
        in: query
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v1_webhooks
      tags:
      - Webhooks
      summary: Register an endpoint.
      description: POST /v1/webhooks
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'Workspace API key — wf_live_… , sent as Authorization: Bearer <token>.'
      - name: X-Workspace
        in: header
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      - name: workspace
        in: query
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1WebhooksRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/webhooks/{id}:
    delete:
      operationId: delete_v1_webhooks_id
      tags:
      - Webhooks
      summary: Remove an endpoint.
      description: DELETE /v1/webhooks/:id
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'Workspace API key — wf_live_… , sent as Authorization: Bearer <token>.'
      - name: X-Workspace
        in: header
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      - name: workspace
        in: query
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/webhooks/{id}/deliveries:
    get:
      operationId: get_v1_webhooks_id_deliveries
      tags:
      - Webhooks
      summary: Attempts for one endpoint, with response codes.
      description: GET /v1/webhooks/:id/deliveries
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: 'Workspace API key — wf_live_… , sent as Authorization: Bearer <token>.'
      - name: X-Workspace
        in: header
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      - name: workspace
        in: query
        required: false
        schema:
          type: string
        description: Workspace identifier when using a session credential.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/workspace:
    get:
      operationId: get_v1_workspace
      tags:
      - Workspace
      summary: 'The current workspace: name, plan, plan status, created date, the timezone it schedules in, and alert_emails , whether its owners
        are emailed when a post does not go out or a channel needs reconnectin'
      description: Retrieve details of the current workspace.
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    patch:
      operationId: patch_v1_workspace
      tags:
      - Workspace
      summary: Rename the workspace, change the clock it schedules on, or turn its owners' emails about failed posts and lapsed channels on or
        off.
      description: Patch workspace attributes.
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchV1WorkspaceRequest'
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/workspaces:
    post:
      operationId: post_v1_workspaces
      tags:
      - Workspaces
      summary: Create another workspace.
      description: Create another workspace. Capped by the plan you already own, and the new workspace inherits that plan.
      x-source: https://postwharf.com/docs/api/reference
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1WorkspacesRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/workspaces/{id}/key:
    get:
      operationId: get_v1_workspaces_id_key
      tags:
      - Workspaces
      summary: Reveal the workspace API key.
      description: session
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/workspaces/{id}/key/rotate:
    post:
      operationId: post_v1_workspaces_id_key_rotate
      tags:
      - Workspaces
      summary: Issue a new key and invalidate the old one immediately.
      description: session
      x-source: https://postwharf.com/docs/api/reference
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v1/workspaces/allowance:
    get:
      operationId: get_v1_workspaces_allowance
      tags:
      - Workspaces
      summary: How many workspaces you hold, how many the plan allows ( null is unlimited), and which plan that is.
      description: Returns allowance information for workspaces.
      x-source: https://postwharf.com/docs/api/reference
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostV1AuthForgotRequest:
      type: object
      properties:
        email:
          type: string
      required:
      - email
    PostV1AuthLoginRequest:
      type: object
      properties:
        email:
          type: string
        password:
          type: string
      required:
      - email
      - password
    PostV1AuthResetRequest:
      type: object
      properties:
        token:
          type: string
          description: From the emailed link.
        password:
          type: string
          description: At least 8 characters.
      required:
      - token
      - password
    PostV1AuthSignupRequest:
      type: object
      properties:
        email:
          type: string
          description: Required. Must be unique.
        password:
          type: string
          description: Required, 8 characters minimum.
        name:
          type: string
          description: Optional display name.
        workspace:
          type: string
          description: Optional workspace name; defaults from the user name.
      required:
      - email
      - password
    PostV1ChannelsRequest:
      type: object
      properties:
        platform:
          type: string
          description: A connectable platform; request-only platforms are refused.
        handle:
          type: string
          description: The account this publishes to.
        credentials:
          type: object
          description: Optional object; shape depends on the platform.
        token_expires_at:
          type: string
          description: Optional ISO-8601 instant, used to warn before expiry.
      required:
      - platform
      - handle
    PostV1ConnectorRequestsRequest:
      type: object
      properties:
        platform:
          type: string
          description: One of reddit , discord , snapchat or wordpress.
      required:
      - platform
    PostV1MediaRequest:
      type: object
      properties:
        url:
          type: string
          description: Must be public https.
        kind:
          type: string
          description: image or video.
        alt:
          type: string
          description: Description of the image, up to 2,000 characters.
      required:
      - url
      - kind
    PatchV1MediaIdRequest:
      type: object
      properties:
        alt:
          type: string
          description: The description, or null to take one off.
      required:
      - alt
    PostV1MediaUploadUrlRequest:
      type: object
      properties:
        content_type:
          type: string
          description: JPEG, PNG, WebP, GIF, MP4, MOV or WebM.
        bytes:
          type: integer
          description: 25MB image cap, 512MB video cap.
        alt:
          type: string
          description: Description of the image, up to 2,000 characters.
      required:
      - content_type
      - bytes
    PostV1PostsRequest:
      type: object
      properties:
        text:
          type: string
        channels:
          type: array
          items:
            type: string
        media:
          type: array
          items:
            type: string
    GetV1PostsIdResponse:
      type: object
      properties:
        status:
          type: string
          description: Post status
        text:
          type: string
          description: Post text
        media:
          type: array
          description: Media ids attached to the post
        delivery:
          type: object
          description: Delivery per channel with status, attempts, live URL and error text
    PatchV1PostsIdRequest:
      type: object
      properties:
        text:
          type: string
          description: Replaces the text.
        media:
          type: array
          description: Replaces the whole list, which is also how you reorder one.
        channels:
          type: array
          description: Replaces the whole list.
        publish_at:
          type: string
          description: ISO-8601 instant, or null to publish on release.
        overrides:
          type: object
          description: Map of channel id to per-channel overrides.
        draft:
          type: boolean
          description: false sends it to the queue, true pulls it back into the drawer.
        post_type:
          type: string
          description: Optional, and only while it has never been set.
    PostV1WebhooksRequest:
      type: object
      properties:
        url:
          type: string
          description: https URL of the endpoint.
        events:
          type: array
          description: Array of event names, such as post.failed; defaults to all.
      required:
      - url
    PatchV1WorkspaceRequest:
      type: object
      properties:
        name:
          type: string
          description: The new name.
        timezone:
          type: string
          description: An IANA zone name such as Europe/Berlin.
        alert_emails:
          type: boolean
          description: true or false. On by default.
    PostV1WorkspacesRequest:
      type: object
      properties:
        name:
          type: string
          description: Workspace name.
        timezone:
          type: string
          description: Optional IANA zone name. Defaults to UTC.
      required:
      - name
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Analytics
- name: Auth
- name: Channels
- name: Connector Requests
- name: Events
- name: Healthz
- name: Media
- name: Oauth
- name: Posts
- name: Usage
- name: Webhooks
- name: Workspace
- name: Workspaces