blinkinbox-club Messages API

The Messages API from blinkinbox-club — 5 operation(s) for messages.

Operations 6

GET /inboxes/{inbox}/messages List messages (newest first) #
GET /inboxes/{inbox}/messages/wait Long-poll until a matching message arrives #
GET /inboxes/{inbox}/otp Latest OTP code / verification link #
GET /inboxes/{inbox}/messages/{id} Get a full message #
DELETE /inboxes/{inbox}/messages/{id} Delete a message #
GET /inboxes/{inbox}/messages/{id}/attachments/{attachmentId} Download an attachment #

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/blinkinbox-club:blinkinbox-club-messages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

blinkinbox-club-messages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: BlinkInbox Messages API
  version: 1.0.0
  description: Programmable disposable inboxes for end-to-end tests, QA and AI agents. Create an inbox, trigger your signup flow, then wait for the email and read the OTP code or magic link.
  contact:
    name: BlinkInbox
    url: https://blinkinbox.club/contact
servers:
- url: https://api.blinkinbox.club/api/v1
security:
- bearerAuth: []
tags:
- name: Messages
paths:
  /inboxes/{inbox}/messages:
    parameters:
    - name: inbox
      in: path
      required: true
      description: Inbox id or full address (e.g. `signup4k2j9x1a@blinkinbox.club`).
      schema:
        type: string
    get:
      tags:
      - Messages
      operationId: listMessages
      summary: List messages (newest first)
      parameters:
      - name: since
        in: query
        schema:
          type: string
          format: date-time
        description: Only messages stored after this time.
      - name: from
        in: query
        schema:
          type: string
        description: Case-insensitive substring match on the sender.
      - name: subject
        in: query
        schema:
          type: string
        description: Case-insensitive substring match on the subject.
      - name: unread
        in: query
        schema:
          type: boolean
      - name: limit
        in: query
        schema:
          type: integer
          maximum: 100
      - name: page
        in: query
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/MessageSummary'
                  total:
                    type: integer
                  page:
                    type: integer
                  limit:
                    type: integer
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /inboxes/{inbox}/messages/wait:
    parameters:
    - name: inbox
      in: path
      required: true
      description: Inbox id or full address (e.g. `signup4k2j9x1a@blinkinbox.club`).
      schema:
        type: string
    get:
      tags:
      - Messages
      operationId: waitForMessage
      summary: Long-poll until a matching message arrives
      description: Returns immediately if a matching message already exists. Without `since`, any message in the inbox matches, so you can call this after triggering the email without racing it.
      parameters:
      - name: since
        in: query
        schema:
          type: string
          format: date-time
        description: Only messages stored after this time.
      - name: from
        in: query
        schema:
          type: string
        description: Case-insensitive substring match on the sender.
      - name: subject
        in: query
        schema:
          type: string
        description: Case-insensitive substring match on the subject.
      - name: timeout
        in: query
        schema:
          type: integer
          default: 30
          maximum: 60
        description: Seconds to wait.
      - name: otp
        in: query
        schema:
          type: boolean
        description: Only match messages with a code or verification link.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Message'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '408':
          $ref: '#/components/responses/Timeout'
        '429':
          $ref: '#/components/responses/RateLimited'
  /inboxes/{inbox}/otp:
    parameters:
    - name: inbox
      in: path
      required: true
      description: Inbox id or full address (e.g. `signup4k2j9x1a@blinkinbox.club`).
      schema:
        type: string
    get:
      tags:
      - Messages
      operationId: getLatestOtp
      summary: Latest OTP code / verification link
      parameters:
      - name: since
        in: query
        schema:
          type: string
          format: date-time
        description: Only messages stored after this time.
      - name: from
        in: query
        schema:
          type: string
        description: Case-insensitive substring match on the sender.
      - name: subject
        in: query
        schema:
          type: string
        description: Case-insensitive substring match on the subject.
      - name: timeout
        in: query
        schema:
          type: integer
          default: 0
          maximum: 60
        description: Seconds to wait for one to arrive.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Otp'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /inboxes/{inbox}/messages/{id}:
    parameters:
    - name: inbox
      in: path
      required: true
      description: Inbox id or full address (e.g. `signup4k2j9x1a@blinkinbox.club`).
      schema:
        type: string
    - name: id
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Messages
      operationId: getMessage
      summary: Get a full message
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Message'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
    delete:
      tags:
      - Messages
      operationId: deleteMessage
      summary: Delete a message
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Success'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
  /inboxes/{inbox}/messages/{id}/attachments/{attachmentId}:
    parameters:
    - name: inbox
      in: path
      required: true
      description: Inbox id or full address (e.g. `signup4k2j9x1a@blinkinbox.club`).
      schema:
        type: string
    - name: id
      in: path
      required: true
      schema:
        type: string
    - name: attachmentId
      in: path
      required: true
      schema:
        type: string
    get:
      tags:
      - Messages
      operationId: downloadAttachment
      summary: Download an attachment
      description: 'Always served as application/octet-stream with Content-Disposition: attachment. Files that were not stored cannot be downloaded.'
      responses:
        '200':
          description: Binary
          content:
            application/octet-stream: {}
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: 'attachment_blocked: the file type is blocked for safety'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          $ref: '#/components/responses/NotFound'
        '413':
          description: 'attachment_too_large: the file exceeded the size limit and was not stored'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    MessageSummary:
      type: object
      properties:
        id:
          type: string
        from:
          type: string
        fromName:
          type: string
        subject:
          type: string
        preview:
          type: string
        receivedAt:
          type: string
          format: date-time
        read:
          type: boolean
        otp:
          type:
          - string
          - 'null'
          example: '482913'
          description: Best-guess one-time code, extracted on arrival.
        verificationLink:
          type:
          - string
          - 'null'
          description: Best-guess verify / magic-link URL.
        attachments:
          type: integer
    Otp:
      type: object
      properties:
        otp:
          type:
          - string
          - 'null'
        verificationLink:
          type:
          - string
          - 'null'
        messageId:
          type: string
        from:
          type: string
        subject:
          type: string
        receivedAt:
          type: string
          format: date-time
    Success:
      type: object
      properties:
        success:
          type: boolean
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
    Message:
      allOf:
      - $ref: '#/components/schemas/MessageSummary'
      - type: object
        properties:
          to:
            type: string
          text:
            type: string
          html:
            type: string
          codes:
            type: array
            items:
              type: string
            description: All code candidates, best first.
          links:
            type: array
            items:
              type: object
              properties:
                url:
                  type: string
                text:
                  type: string
                kind:
                  type: string
                  enum:
                  - verification
                  - other
          attachments:
            type: array
            items:
              type: object
              properties:
                id:
                  type: string
                filename:
                  type: string
                contentType:
                  type: string
                size:
                  type: integer
                stored:
                  type: boolean
                  description: False when the file was not kept; see `skipped`.
                skipped:
                  type:
                  - string
                  - 'null'
                  enum:
                  - blocked_type
                  - too_large
                  - attachments_disabled
                  - null
                  description: 'blocked_type: executables, scripts, installers, disk images, macro-enabled Office files, HTML and SVG are never stored. too_large: over the per-file or per-message size limit.'
                archive:
                  type: boolean
                  description: True for zip, rar, 7z and similar. Archive contents are not scanned.
  responses:
    NotFound:
      description: Not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Timeout:
      description: No matching message before the timeout (code `wait_timeout`)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit or quota exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from the dashboard, e.g. `bb_live_...`. `X-API-Key` header also works.