DATPAQ Ping Human API

Escalate a decision to a human via Slack or email and collect the reply

Operations 3

POST /ping-human/escalations Create an escalation and notify humans #
GET /ping-human/escalations/{id} Get an escalation's status and reply #
DELETE /ping-human/escalations/{id} Cancel an open escalation #

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/datpaq-com:datpaq-com-ping-human-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

datpaq-com-ping-human-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Datpaq Com Ping Human API
  version: 1.1.0
  contact:
    name: Datpaq Support
    url: https://datpaq.com
  license:
    name: Proprietary
  description: 'Operations tagged Ping Human across 2 of this provider''s published API definitions: datpaq-com.yaml, datpaq-com-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://datpaq.com/api/v1
  description: Production
- url: https://staging.datpaq.com/api/v1
  description: Staging
security:
- ApiKeyHeader: []
- ApiKeyQuery: []
tags:
- name: Ping Human
  description: Escalate a decision to a human via Slack or email and collect the reply
paths:
  /ping-human/escalations:
    post:
      tags:
      - Ping Human
      operationId: pingHumanCreate
      summary: Create an escalation and notify humans
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - title
              - context
              - channels
              properties:
                title:
                  type: string
                  description: Short title (1-200 characters)
                context:
                  type: string
                  description: Decision context (1-8000 characters)
                channels:
                  type: array
                  description: JSON array of {"type":"email","to":...} or {"type":"slack","webhook_url":...} (1-3)
                  items: {}
                options:
                  type: array
                  description: JSON array of {"id","label"} choices (2-6)
                  items: {}
                fields:
                  type: array
                  description: JSON array of {"name","type","label","required"} inputs (max 5)
                  items: {}
                ttl_seconds:
                  type: integer
                  description: Expiry in seconds (60-86400, default 3600)
                callback:
                  type: object
                  description: Callback JSON {"url","secret"} for signed reply delivery
            example:
              title: Approve refund over $500?
              context: 'Customer #1042 requests $750 refund...'
              options:
              - id: approve
                label: Approve
              - id: deny
                label: Deny
              channels:
              - type: email
                to: ops@example.com
              ttl_seconds: 7200
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
              example:
                id: esc_8f4b1c2d
                status: pending
                poll_url: /api/v1/ping-human/escalations/esc_8f4b1c2d
                expires_at: '2026-06-10T18:00:00.000Z'
                poll_interval_seconds: 5
                correlationId: req_abc123
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
  /ping-human/escalations/{id}:
    get:
      tags:
      - Ping Human
      operationId: pingHumanGet
      summary: Get an escalation's status and reply
      parameters:
      - name: id
        in: path
        required: true
        description: Escalation ID
        schema:
          type: string
          example: esc_123
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    delete:
      tags:
      - Ping Human
      operationId: pingHumanCancel
      summary: Cancel an open escalation
      parameters:
      - name: id
        in: path
        required: true
        description: Escalation ID
        schema:
          type: string
          example: esc_123
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccess'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
        default:
          $ref: '#/components/responses/ServiceUnavailable'
    servers:
    - url: https://datpaq.com/api/v1
      description: Production
    - url: https://staging.datpaq.com/api/v1
      description: Staging
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
          example: Invalid API key
        correlationId:
          type: string
          description: Request tracking identifier for support
          example: abc123-def456-789ghi
        service:
          type: string
          description: Service name that produced the error
          example: ip-geolocation
    GenericSuccess:
      type: object
      description: Standard success envelope. The data property structure varies by endpoint.
      properties:
        correlationId:
          type: string
          description: Request tracking identifier
          example: abc123-def456
        data:
          type: object
          description: Response payload (structure varies by endpoint)
        cached:
          type: boolean
          description: Whether the response was served from cache
          example: false
  responses:
    BadRequest:
      description: Bad request — missing or invalid parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    RateLimited:
      description: Rate limit exceeded — retry after the indicated period
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServiceUnavailable:
      description: Service temporarily unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: API key passed via x-api-key request header
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: API key passed as api_key query parameter
x-refined-from:
- datpaq-com.yaml
- datpaq-com-openapi.yaml