Sending Images API

The Images API from Sending — 1 operation(s) for images.

GitHub OpenAPI

Operations 2

GET /images List the workspace's public images #
POST /images Upload an image for emails #

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/sending-dev:sending-dev-images-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

sending-dev-images-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sending.dev Images API
  version: 1.0.0
  description: 'Public REST API of Sending.dev (MCP-native orchestrator for email + WhatsApp + Telegram).


    ## Authentication

    Every request requires `Authorization: Bearer sk_...` (workspace API key). The `tenantId` is always derived from the key.


    ## Idempotency

    Sends require an `idempotencyKey` (min 8 characters) to prevent duplicates on retries.'
  contact:
    name: Sending.dev
    url: https://sending.dev
servers:
- url: https://sending.dev/api/v1
  description: Production
- url: http://localhost:3000/api/v1
  description: Local development
security:
- bearerAuth: []
tags:
- name: Images
paths:
  /images:
    get:
      tags:
      - Images
      summary: List the workspace's public images
      description: Lets you reuse an already uploaded image instead of uploading it again for every campaign. Requires authentication only (any valid API key).
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Image list.
          content:
            application/json:
              schema:
                type: object
                properties:
                  images:
                    type: array
                    items:
                      $ref: '#/components/schemas/Image'
                required:
                - images
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
      operationId: getImages
      x-operation-id-source: derived
    post:
      tags:
      - Images
      summary: Upload an image for emails
      description: 'Returns the public URL to use as the `src` of an image block or inside the html of a campaign. Source: base64 `content` or a public https `url`; png, jpeg, gif or webp, max 5 MB.


        Deliberately separate from attachments: an attachment travels inside the message and lives in a private prefix, an image is downloaded by the mail client and so must live at a public URL. An attachment id used as `src` would give a broken image in every inbox. Required scope: `campaigns:write`.'
      security:
      - bearerAuth: []
      x-required-scope:
      - campaigns:write
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImageUpload'
      responses:
        '201':
          description: Image uploaded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Image'
        '401':
          description: Missing or invalid token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Plan quota exceeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuotaError'
        '403':
          description: Insufficient scope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '422':
          description: Invalid input.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
      operationId: postImages
      x-operation-id-source: derived
components:
  schemas:
    ValidationError:
      type: object
      properties:
        error:
          type: object
          properties:
            formErrors:
              type: array
              items:
                type: string
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
          required:
          - formErrors
          - fieldErrors
      required:
      - error
      description: 'Zod validation failed: shape of `ZodError.flatten()`.'
    ImageUpload:
      type: object
      properties:
        filename:
          type: string
          minLength: 1
          maxLength: 200
        content:
          type: string
        url:
          type: string
          format: uri
        contentType:
          type: string
      required:
      - filename
    Image:
      type: object
      properties:
        id:
          type: string
          format: uuid
        filename:
          type: string
        url:
          type: string
          description: 'Public URL: this is what goes in the image block.'
        contentType:
          type: string
        size:
          type: integer
        createdAt:
          type: string
      required:
      - id
      - filename
      - url
      - contentType
      - size
      - createdAt
    Error:
      type: object
      properties:
        error:
          type: string
          example: not_found
        message:
          type: string
      required:
      - error
      description: 'Generic error: snake_case code in `error`.'
    QuotaError:
      type: object
      properties:
        error:
          type: string
          example: quota_exceeded
        message:
          type: string
        resource:
          type: string
        limit:
          type: number
        used:
          type: number
        remaining:
          type: number
        plan:
          type: string
      required:
      - error
      description: Plan limit exceeded (entitlement).
    ForbiddenError:
      type: object
      properties:
        error:
          type: string
          enum:
          - forbidden
        need:
          type: string
          example: contacts:write
      required:
      - error
      description: Insufficient scope; `need` names the missing scope.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Workspace API key in the `sk_...` format, passed as `Authorization: Bearer sk_...`. The `tenantId` is always derived from the key, never from a request parameter.'