space-ocr-com Webhook API

The Webhook API from space-ocr-com — 2 operation(s) for webhook.

Operations 4

GET /webhook Get current webhook configuration #
PUT /webhook Create or update space-wide webhook #
DELETE /webhook Remove webhook configuration #
POST /webhook/test Send a webhook.test event to the configured URL #

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/space-ocr-com:space-ocr-com-webhook-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

space-ocr-com-webhook-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: space-ocr Public Webhook API
  version: v2.9
  description: spocr_* API keys. MySpace CRUD + OCR + webhooks.
servers:
- url: https://api.space-ocr.com
tags:
- name: Webhook
paths:
  /webhook:
    get:
      summary: Get current webhook configuration
      security:
      - BearerAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '413':
          description: Payload Too Large
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '502':
          description: OCR engine error (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '504':
          description: OCR engine timeout (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
      tags:
      - Webhook
      operationId: getWebhook
      x-operation-id-source: derived
    put:
      summary: Create or update space-wide webhook
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                active:
                  type: boolean
                  default: true
                rotateSecret:
                  type: boolean
              required:
              - url
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '413':
          description: Payload Too Large
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '502':
          description: OCR engine error (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '504':
          description: OCR engine timeout (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
      tags:
      - Webhook
      operationId: putWebhook
      x-operation-id-source: derived
    delete:
      summary: Remove webhook configuration
      security:
      - BearerAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '413':
          description: Payload Too Large
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '502':
          description: OCR engine error (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '504':
          description: OCR engine timeout (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
      tags:
      - Webhook
      operationId: deleteWebhook
      x-operation-id-source: derived
  /webhook/test:
    post:
      summary: Send a webhook.test event to the configured URL
      security:
      - BearerAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema: {}
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '413':
          description: Payload Too Large
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '500':
          description: Internal Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '502':
          description: OCR engine error (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
        '504':
          description: OCR engine timeout (charge auto-refunded)
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      requestId:
                        type: string
                    required:
                    - code
                    - message
                    - requestId
                  details: {}
                required:
                - error
      tags:
      - Webhook
      operationId: postWebhookTest
      x-operation-id-source: derived
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: spocr_*