Wavegrain API

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

GitHub OpenAPI

Operations 14

POST /api/generate POST /api/generate #
POST /api/mcp MCP #
GET /api/v1/accounts List the account ids that can be used when creating a post. #
PUT /api/v1/accounts PUT /api/v1/accounts #
POST /api/v1/captions Write captions for one or more networks from a topic or custom text. #
POST /api/v1/media POST /api/v1/media #
DELETE /api/v1/media/{id} Stop an upload or delete a video, unless a post still needs it. #
GET /api/v1/media/{id} Get the status of an ongoing media upload and list missing parts. #
POST /api/v1/media/{id}/complete Finish a multipart video upload; Wavegrain joins the parts and validates the file. #
GET /api/v1/posts List your posts, newest first, with pagination and optional date window. #
POST /api/v1/posts POST /api/v1/posts #
DELETE /api/v1/posts/{id} Cancel a post made through the API. #
GET /api/v1/posts/{id} Read a post's state, status, targets and deliveries. #
POST /posts Create a post with media, caption and accounts. #

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/wavegrain-com:wavegrain-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

wavegrain-com-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Wavegrain API
  version: '2026-11-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-13: 14 operation(s) read from 9 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Wavegrain has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 3
    documentation: 11
    pages-with-code: 6
    pages-read: 9
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-13'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://wavegrain.com/developers/posting-api
  - https://wavegrain.com/developers/api-reference
  - https://wavegrain.com/developers
  - https://wavegrain.com/developers/webhooks
  - https://wavegrain.com/developers/openapi.json
  - https://wavegrain.com/developers/llms-full.txt
  - https://wavegrain.com/developers.md
  - https://wavegrain.com/developers/webhooks.md
  - https://wavegrain.com/developers/posting-api.md
paths:
  /api/generate:
    post:
      operationId: post_api_generate
      tags:
      - Api
      summary: POST /api/generate
      x-source: https://wavegrain.com/developers/llms-full.txt
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiGenerateRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiGenerateResponse'
      x-evidence:
        kind: documentation
  /api/mcp:
    post:
      operationId: post_api_mcp
      tags:
      - Api
      summary: MCP
      x-source: https://wavegrain.com/developers/api-reference
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/accounts:
    get:
      operationId: get_api_v1_accounts
      tags:
      - Api
      summary: List the account ids that can be used when creating a post.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1AccountsResponse'
      x-evidence:
        kind: documentation
    put:
      operationId: put_api_v1_accounts
      tags:
      - Api
      summary: PUT /api/v1/accounts
      x-source: https://wavegrain.com/developers/posting-api
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X PUT \"$UPLOAD_URL\" -H \"Content-Type: image/jpeg\" --data-binary @photo.jpg\n Create the post. List the account ids\
          \ from GET https://wavegrain.com/api/v1/accounts : "
  /api/v1/captions:
    post:
      operationId: post_api_v1_captions
      tags:
      - Api
      summary: Write captions for one or more networks from a topic or custom text.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      - name: Content-Type
        in: header
        required: true
        schema:
          type: string
        description: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1CaptionsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1CaptionsResponse'
      x-evidence:
        kind: documentation
  /api/v1/media:
    post:
      operationId: post_api_v1_media
      tags:
      - Api
      summary: POST /api/v1/media
      x-source: https://wavegrain.com/developers/posting-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1MediaRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://wavegrain.com/api/v1/media  -H \"Authorization: Bearer $WAVEGRAIN_KEY\" -H \"Content-Type: application/json\"\
          \  -d '{\"kind\":\"image\",\"mime\":\"image/jpeg\",\"bytes\":482113}'\n The answer has an id and an uploadUrl , which works once, for\
          \ 10 minutes. \n Upload the bytes with the same Content-Type and no Authorization header: "
  /api/v1/media/{id}:
    delete:
      operationId: delete_api_v1_media_id
      tags:
      - Api
      summary: Stop an upload or delete a video, unless a post still needs it.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_v1_media_id
      tags:
      - Api
      summary: Get the status of an ongoing media upload and list missing parts.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1MediaIdResponse'
      x-evidence:
        kind: documentation
  /api/v1/media/{id}/complete:
    post:
      operationId: post_api_v1_media_id_complete
      tags:
      - Api
      summary: Finish a multipart video upload; Wavegrain joins the parts and validates the file.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiV1MediaIdCompleteResponse'
      x-evidence:
        kind: documentation
  /api/v1/posts:
    get:
      operationId: get_api_v1_posts
      tags:
      - Api
      summary: List your posts, newest first, with pagination and optional date window.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      - name: from
        in: query
        required: false
        schema:
          type: string
        description: Start of date window (ISO‑8601).
      - name: to
        in: query
        required: false
        schema:
          type: string
        description: End of date window (ISO‑8601).
      - name: nextCursor
        in: query
        required: false
        schema:
          type: string
        description: Cursor for pagination.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1PostsResponse'
      x-evidence:
        kind: documentation
    post:
      operationId: post_api_v1_posts
      tags:
      - Api
      summary: POST /api/v1/posts
      x-source: https://wavegrain.com/developers/posting-api
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1PostsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -X POST https://wavegrain.com/api/v1/posts  -H \"Authorization: Bearer $WAVEGRAIN_KEY\" -H \"Content-Type: application/json\"\
          \  -H \"Idempotency-Key: 2026-11-07-morning-post\"  -d '{\"media\":[\"UPLOAD_ID\"],\"caption\":\"Five morning habits\",\"captions\"\
          :{\"threads\":\"Five habits. Which one is yours?\"},\"accounts\":[\"ACCOUNT_ID\"],\"at\":\"2026-11-08T09:00:00+01:00\"}'\n The answer\
          \ is the post with \"status\": \"awaitin"
  /api/v1/posts/{id}:
    delete:
      operationId: delete_api_v1_posts_id
      tags:
      - Api
      summary: Cancel a post made through the API.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    get:
      operationId: get_api_v1_posts_id
      tags:
      - Api
      summary: Read a post's state, status, targets and deliveries.
      x-source: https://wavegrain.com/developers/posting-api
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
        description: Bearer access key.
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiV1PostsIdResponse'
      x-evidence:
        kind: documentation
  /posts:
    post:
      operationId: post_posts
      tags:
      - Posts
      summary: Create a post with media, caption and accounts.
      x-source: https://wavegrain.com/developers/llms-full.txt
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostPostsRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostPostsResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiGenerateRequest:
      type: object
      properties:
        libraryMixRatio:
          type: number
        libraryMix:
          type: boolean
        maxCredits:
          type: integer
    PostApiGenerateResponse:
      type: object
      properties:
        jobId:
          type: string
        status:
          type: string
    GetApiV1AccountsResponse:
      type: object
      properties:
        accounts:
          type: string
          description: Array of account identifiers.
    PostApiV1CaptionsRequest:
      type: object
      properties:
        topic:
          type: string
          description: Topic for caption generation.
        networks:
          type: string
          description: Array of network names, e.g. ["instagram","tiktok"].
        emoji:
          type: string
          description: '"auto" to let the system add emojis.'
      required:
      - topic
      - networks
    PostApiV1CaptionsResponse:
      type: object
      properties:
        captions:
          type: string
          description: Object mapping network to generated caption.
        creditsCharged:
          type: string
          description: Number of credits charged for the request.
    PostApiV1MediaRequest:
      type: object
      properties:
        kind:
          type: string
        mime:
          type: string
        bytes:
          type: integer
    GetApiV1MediaIdResponse:
      type: object
      properties:
        parts:
          type: string
          description: Array of missing parts with fresh upload URLs.
    PostApiV1MediaIdCompleteResponse:
      type: object
      properties:
        ready:
          type: string
          description: True when the video is accepted.
        video:
          type: string
          description: Object with length, size, frameRate, codecs, etc.
        networks:
          type: string
          description: Per‑network acceptance info.
    GetApiV1PostsResponse:
      type: object
      properties:
        posts:
          type: string
          description: Array of post objects.
        nextCursor:
          type: string
          description: Cursor for the next page, if any.
    PostApiV1PostsRequest:
      type: object
      properties:
        media:
          type: array
          items:
            type: string
        caption:
          type: string
        captions:
          type: object
          properties:
            threads:
              type: string
        accounts:
          type: array
          items:
            type: string
        at:
          type: string
          format: date-time
    GetApiV1PostsIdResponse:
      type: object
      properties:
        status:
          type: string
          description: '"awaiting_confirmation", "confirmed", "cancelled" or "expired".'
        targets:
          type: string
          description: Array of accounts with their state.
        deliveries:
          type: string
          description: Array of delivery objects with status, reason, link, etc.
        link:
          type: string
          description: Network address of the published post (may be null initially).
    PostPostsRequest:
      type: object
      properties:
        media:
          type: array
        caption:
          type: string
        captions:
          type: object
        accounts:
          type: array
        at:
          type: string
        options:
          type: object
        cover:
          type: object
      required:
      - media
      - accounts
    PostPostsResponse:
      type: object
      properties:
        status:
          type: string
        confirmUrl:
          type: string
        id:
          type: string
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
security:
- bearer: []
tags:
- name: Api
- name: Posts