HookPulse In API

The In API from HookPulse — 1 operation(s) for in.

GitHub OpenAPI
Business capability
Observability Management BC-4220.20

Operations 7

GET /in/{id} The ingest URL: this is where your cron or webhook proves it is alive #
POST /in/{id} The same ingest by POST, for whoever can only send webhooks #
GET /in/{ingestKey}/{slug} Ping that CREATES its own monitor on the first hit — a whole fleet with no setup #
GET /in/{ingestKey}/{slug}/{signal} A signal by name: `start`, `fail` or the exit code, for the monitor of that slug #
GET /in/{id}/start Says the routine STARTED — it is what turns silence into duration #
GET /in/{id}/fail Says the routine FAILED — the alert leaves on the next 5-minute check #
GET /in/{id}/{exit_code} The shell's exit status, straight from `$?`: 0 is success, anything else is a… #

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/hookpulse:hookpulse-in-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

hookpulse-in-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hookpulse In API
  version: '1.0'
  description: 'Operations tagged In across 2 of this provider''s published API definitions: hookpulse-openapi.json, hookpulse-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://hookpulse.net
tags:
- name: In
paths:
  /in/{id}:
    get:
      operationId: ping_ingest
      summary: 'The ingest URL: this is where your cron or webhook proves it is alive'
      description: 'No credential on purpose — the caller is a cron, and the ID is already the secret. It costs nothing and there is no quota per ping.

        Returns: { ok }'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '{ ok }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the ping was recorded.
                required:
                - ok
        '404':
          description: The monitor does not exist or is deactivated.
      tags:
      - In
    post:
      operationId: post_in_by_id
      summary: The same ingest by POST, for whoever can only send webhooks
      description: 'The body is optional and records `status` and `latency_ms` along with the ping.

        Returns: { ok }'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: integer
                  description: Status of the job that is pinging, to show in `Ping.status`.
                latency_ms:
                  type: integer
                  description: How long the job took, in ms.
            example:
              status: 200
              latency_ms: 431
      responses:
        '200':
          description: '{ ok }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the ping was recorded.
                required:
                - ok
        '404':
          description: The monitor does not exist or is deactivated.
      tags:
      - In
    servers:
    - url: https://hookpulse.net
  /in/{ingestKey}/{slug}:
    get:
      operationId: ping_slug
      summary: Ping that CREATES its own monitor on the first hit — a whole fleet with no setup
      description: 'The slug becomes the monitor name and its identity: the same slug always means the same monitor, so a retry never creates a second one. Normalised to lowercase, `[a-z0-9-]`, 40 chars. Creation happens **only inside the free tier** (or the trial); past it the ping is a 402 with `accepts[]` and nothing is written — not even the event. Works by GET or POST.

        Returns: { ok, endpoint_id, created }'
      security: []
      parameters:
      - name: ingestKey
        in: path
        required: true
        schema:
          type: string
        description: Ingest key, from `GET /api/ingest-key`.
        example: hpk_exemplo
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: Name of the job; it becomes the monitor name.
        example: nightly-backup
      - name: interval
        in: query
        required: false
        schema:
          type: integer
        description: Tolerated silence of the monitor being created, in seconds.
      - name: cron
        in: query
        required: false
        schema:
          type: string
        description: 'Five-field cron of the job, for the monitor being created: late counts from the scheduled time plus `grace_sec`, not from an interval. Takes the place of `interval`.'
      - name: tz
        in: query
        required: false
        schema:
          type: string
        description: IANA time zone the `cron` is read in. Default `UTC`. Only with `cron`.
      - name: grace_sec
        in: query
        required: false
        schema:
          type: integer
        description: Tolerance after the scheduled time, 30 to 86400 seconds; default 90. Only with `cron`.
      responses:
        '200':
          description: '{ ok, endpoint_id, created }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the ping was recorded.
                  endpoint_id:
                    type: string
                    description: The monitor's id — new or the one that already existed.
                  created:
                    type: boolean
                    description: '`true` only on the hit that created it.'
                required:
                - ok
                - endpoint_id
                - created
        '400':
          description: '`slug_invalido` — nothing usable left after normalising. With `cron`: `cron_invalido`, `tz_invalida`, `grace_invalido` or `cron_sem_ocorrencia`.'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '402':
          description: 'The free tier is full: pay and repeat, or delete a monitor.'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Unknown or rotated ingest key.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - In
    servers:
    - url: https://hookpulse.net
  /in/{ingestKey}/{slug}/{signal}:
    get:
      operationId: signal_slug
      summary: 'A signal by name: `start`, `fail` or the exit code, for the monitor of that slug'
      description: 'The same signals as `/in/:id/start`, `/in/:id/fail` and `/in/:id/:exit_code`, for a fleet that only knows the ingest key: the job sends its name, not the monitor id. The first signal of a new name creates the monitor, with the same rules and the same `cron`, `tz` and `grace_sec` as the plain ping by name.

        Returns: { ok, endpoint_id, created }'
      security: []
      parameters:
      - name: ingestKey
        in: path
        required: true
        schema:
          type: string
        description: Ingest key, from `GET /api/ingest-key`.
        example: hpk_exemplo
      - name: slug
        in: path
        required: true
        schema:
          type: string
        description: Name of the job; it becomes the monitor name.
        example: nightly-backup
      - name: signal
        in: path
        required: true
        schema:
          type: string
        description: '`start`, `fail`, or the shell exit code 0 to 255 (0 is success).'
        example: fail
      responses:
        '200':
          description: '{ ok, endpoint_id, created }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the signal was recorded.
                  endpoint_id:
                    type: string
                    description: The monitor's id — new or the one that already existed.
                  created:
                    type: boolean
                    description: '`true` only on the hit that created it.'
                required:
                - ok
                - endpoint_id
                - created
        '400':
          description: '`slug_invalido`, `exit_code_fora_da_faixa`, or a `cron` code as in the plain ping by name.'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '402':
          description: 'The free tier is full: pay and repeat, or delete a monitor.'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: Unknown or rotated ingest key, or an unknown signal.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - In
    servers:
    - url: https://hookpulse.net
  /in/{id}/start:
    get:
      operationId: signal_start
      summary: Says the routine STARTED — it is what turns silence into duration
      description: '`start` is not proof of life: it does not move `last_event_at` and does not clear the miss counter, so a routine that starts and hangs still becomes a miss at the right time. The next success closes the run and records `last_duration_ms` — pass `?rid=` on both ends when runs can overlap, or the duration is measured against the wrong start. With `max_duration_sec` set on the monitor, a run left open past that ceiling alerts with `reason: "too_long"` on the next 5-minute check. Works by GET or POST.

        Returns: { ok, kind }'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Monitor ID, from `Monitor.ingest_url`.
        example: ID
      - name: rid
        in: query
        required: false
        schema:
          type: string
        description: 'Run identifier that pairs this start with the check-in that closes it. `[A-Za-z0-9._-]`, up to 64 characters. Send it when two runs of the same routine can overlap — without it the second start replaces the first, and the duration we report belongs to the wrong run. A value that does not pass the rule is ignored, never rejected: refusing a check-in would turn a live routine into a miss.'
      responses:
        '200':
          description: '{ ok, kind }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the signal was recorded.
                  kind:
                    type: string
                    description: 'The signal recorded: `start`.'
                required:
                - ok
                - kind
        '404':
          description: The monitor does not exist or is deactivated.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - In
    servers:
    - url: https://hookpulse.net
  /in/{id}/fail:
    get:
      operationId: signal_fail
      summary: Says the routine FAILED — the alert leaves on the next 5-minute check
      description: 'Failing is not proof of life either: the clock keeps running. The ingest never sends e-mail and never calls out — it records `alert_pending` and the cron turns it into an alert with `reason: "fail"` within 5 minutes, under the same one-per-24h cap. Works by GET or POST.

        Returns: { ok, kind }'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Monitor ID, from `Monitor.ingest_url`.
        example: ID
      - name: rid
        in: query
        required: false
        schema:
          type: string
        description: The `rid` of the run this closes. It only measures — and only clears the open run — when it matches the `rid` that opened it; a different one leaves the open run alone, so a concurrent run is not cut short. Sending none closes whatever is open.
      responses:
        '200':
          description: '{ ok, kind }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the signal was recorded.
                  kind:
                    type: string
                    description: 'The signal recorded: `fail`.'
                required:
                - ok
                - kind
        '404':
          description: The monitor does not exist or is deactivated.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - In
    servers:
    - url: https://hookpulse.net
  /in/{id}/{exit_code}:
    get:
      operationId: signal_exit_code
      summary: 'The shell''s exit status, straight from `$?`: 0 is success, anything else is a…'
      description: '`curl -fsS $ORIGIN/in/ID/$?` at the end of a script is the whole integration. `0` behaves exactly like a plain ping; 1 to 255 record the code and leave the failure for the cron.

        Returns: { ok, kind }'
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Monitor ID, from `Monitor.ingest_url`.
      - name: exit_code
        in: path
        required: true
        schema:
          type: string
        description: Exit status, 0 to 255. Outside that range it is a 400.
      - name: rid
        in: query
        required: false
        schema:
          type: string
        description: The `rid` of the run this closes. It only measures — and only clears the open run — when it matches the `rid` that opened it; a different one leaves the open run alone, so a concurrent run is not cut short. Sending none closes whatever is open.
      responses:
        '200':
          description: '{ ok, kind }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: Always `true` when the signal was recorded.
                  kind:
                    type: string
                    description: '`ping` for 0, `fail` for anything else.'
                required:
                - ok
                - kind
        '400':
          description: '`exit_code_fora_da_faixa` — the exit status must be 0 to 255.'
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: The monitor does not exist or is deactivated.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - In
    servers:
    - url: https://hookpulse.net
components:
  schemas:
    ProblemDetails:
      type: object
      description: RFC 9457 Problem Details error response (`application/problem+json`). Includes stable `code` and backward-compatible `error` and `message` fields; route-specific extension fields (such as `accepts`, `allow`, `retry_after`, or `request_id`) may also be present.
      required:
      - type
      - title
      - status
      - detail
      - instance
      - code
      properties:
        type:
          type: string
          format: uri
          description: URI identifying the problem type, linking to `/errors#<code>` on this host.
        title:
          type: string
          description: Short human-readable summary of the problem type.
        status:
          type: integer
          description: HTTP status code generated for this occurrence.
        detail:
          type: string
          description: Human-readable explanation specific to this occurrence.
        instance:
          type: string
          description: Request path where the error occurred (without query parameters).
        code:
          type: string
          description: Stable machine-readable snake_case error code documented at `/errors`.
        error:
          type: string
          description: Backward-compatible alias of `code` (or protocol reason on x402 402 responses).
        message:
          type: string
          description: Backward-compatible alias of `detail`.
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Guest token (`POST /api/guest`) in `X-Guest-Token: hp_…` or `Authorization: Bearer hp_…`. A `sess_…` session also works.'
    globalAccount:
      type: apiKey
      in: cookie
      name: __Host-mm-auth
      description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
    contaChaveApi:
      type: http
      scheme: bearer
      bearerFormat: mmk_…
      description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
    carteiraAgente:
      type: http
      scheme: bearer
      bearerFormat: mmw_…
      description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
  url: https://payapi.market/api/hookpulse
  description: PayAPI Market
x-refined-from:
- hookpulse-openapi.json
- hookpulse-openapi.json