NameSniper Webhooks API

Manage webhook endpoints for monitoring events

GitHub OpenAPI

Operations 4

GET /api/v1/webhooks List webhook endpoints #
POST /api/v1/webhooks Create a webhook endpoint #
PATCH /api/v1/webhooks/{id} Update a webhook endpoint #
DELETE /api/v1/webhooks/{id} Remove a webhook endpoint #

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/namesniper-pro:namesniper-pro-webhooks-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

namesniper-pro-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NameSniper Webhooks API
  version: 1.0.0
  description: 'Programmatic access to NameSniper: check brand name, domain, and social handle availability across every supported platform, generate AI name ideas, screen trademarks, suggest alternatives, and monitor handles for when they drop.


    All endpoints require an API key (Pro or Business plan). Authenticate with an `Authorization: Bearer ns_sk_...` header. Generate a key at https://namesniper.pro/dashboard/api-keys.


    Every response uses the envelope `{ "success": boolean, "data"?: object, "meta"?: object, "error"?: string }`.'
  contact:
    name: NameSniper
    url: https://namesniper.pro
  license:
    name: Proprietary
    url: https://namesniper.pro/terms
servers:
- url: https://namesniper.pro
  description: Production
security:
- bearerAuth: []
tags:
- name: Webhooks
  description: Manage webhook endpoints for monitoring events
paths:
  /api/v1/webhooks:
    get:
      tags:
      - Webhooks
      summary: List webhook endpoints
      operationId: listWebhooks
      responses:
        '200':
          description: All webhook endpoints.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    const: true
                  data:
                    type: object
                    properties:
                      webhooks:
                        type: array
                        items:
                          $ref: '#/components/schemas/Webhook'
        '401':
          $ref: '#/components/responses/Unauthorized'
    post:
      tags:
      - Webhooks
      summary: Create a webhook endpoint
      description: Requires Pro or Business plan. The signing secret is returned only at creation.
      operationId: createWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - url
              - events
              properties:
                url:
                  type: string
                  format: uri
                  example: https://example.com/hooks/namesniper
                events:
                  type: array
                  minItems: 1
                  items:
                    $ref: '#/components/schemas/WebhookEvent'
      responses:
        '200':
          description: Created webhook (includes the signing secret).
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    const: true
                  data:
                    $ref: '#/components/schemas/WebhookWithSecret'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /api/v1/webhooks/{id}:
    parameters:
    - $ref: '#/components/parameters/IdPath'
    patch:
      tags:
      - Webhooks
      summary: Update a webhook endpoint
      operationId: updateWebhook
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  format: uri
                events:
                  type: array
                  minItems: 1
                  items:
                    $ref: '#/components/schemas/WebhookEvent'
                active:
                  type: boolean
      responses:
        '200':
          description: Updated webhook.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    const: true
                  data:
                    $ref: '#/components/schemas/Webhook'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      tags:
      - Webhooks
      summary: Remove a webhook endpoint
      operationId: deleteWebhook
      responses:
        '200':
          description: Webhook removed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteResult'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    WebhookEvent:
      type: string
      enum:
      - handle_available
      - handle_change
    ErrorResponse:
      type: object
      properties:
        success:
          const: false
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Optional machine-readable code on some 429s (for example `trademark_unavailable`, `daily_limit`).
      required:
      - success
      - error
    Webhook:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEvent'
        active:
          type: boolean
        failCount:
          type: integer
        lastError:
          type:
          - string
          - 'null'
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
    DeleteResult:
      type: object
      properties:
        success:
          const: true
        data:
          type: object
          properties:
            deleted:
              const: true
            id:
              type: string
    WebhookWithSecret:
      type: object
      description: Returned only at creation. The secret signs the HMAC-SHA256 payload header and is never shown again.
      properties:
        id:
          type: string
        url:
          type: string
          format: uri
        events:
          type: array
          items:
            $ref: '#/components/schemas/WebhookEvent'
        active:
          type: boolean
        secret:
          type: string
        createdAt:
          type: string
          format: date-time
  responses:
    NotFound:
      description: Resource not found or not owned by the caller.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Invalid request (missing field, bad JSON, or invalid value).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Authenticated but not permitted (revoked key or a feature your plan does not include).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  parameters:
    IdPath:
      name: id
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ns_sk
      description: 'API key issued from the dashboard, sent as `Authorization: Bearer ns_sk_...`.'