Astroclaw Webhooks API

The Webhooks API from Astroclaw — 3 operation(s) for webhooks.

Operations 3

POST /api/webhooks/subscribe Receive each new forecast for a sign as a signed POST #
POST /api/webhooks/trigger Send a test delivery to your own subscription #
POST /api/webhooks/unsubscribe Remove a subscription #

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/astroclaw-xyz:astroclaw-xyz-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

astroclaw-xyz-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Astroclaw Xyz Webhooks API
  version: 2.0.0
  description: 'Operations tagged Webhooks across 2 of this provider''s published API definitions: astroclaw-xyz-openapi.yaml, astroclaw-xyz.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.astroclaw.xyz
tags:
- name: Webhooks
paths:
  /api/webhooks/subscribe:
    post:
      operationId: subscribeWebhook
      summary: Receive each new forecast for a sign as a signed POST
      description: 'Astroclaw first sends a `webhook.ping` event to the URL; it must answer 2xx. Save the returned management_token: it is shown once and is needed to test or remove the subscription.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - webhook_url
              - sign
              properties:
                webhook_url:
                  type: string
                  format: uri
                  description: Public HTTPS endpoint.
                sign:
                  $ref: '#/components/schemas/SignName'
                secret:
                  type: string
                  maxLength: 256
                  description: Used to sign deliveries with HMAC-SHA256.
      responses:
        '201':
          description: Subscription created.
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscription_id:
                    type: string
                  management_token:
                    type: string
                  sign:
                    $ref: '#/components/schemas/SignName'
                  webhook_url:
                    type: string
                    format: uri
                  created_at:
                    type: string
                    format: date-time
        '400':
          description: Invalid input, or the endpoint did not acknowledge the ping.
        '503':
          description: Webhook delivery is unavailable; use the feeds instead.
      tags:
      - Webhooks
    servers:
    - url: https://www.astroclaw.xyz
  /api/webhooks/trigger:
    post:
      operationId: testWebhook
      summary: Send a test delivery to your own subscription
      security:
      - managementToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - subscription_id
              properties:
                subscription_id:
                  type: string
                date:
                  type: string
                  format: date
      responses:
        '200':
          description: Delivery attempted; see success and status_code.
        '404':
          description: Unknown subscription or wrong token.
      tags:
      - Webhooks
    servers:
    - url: https://www.astroclaw.xyz
  /api/webhooks/unsubscribe:
    post:
      operationId: unsubscribeWebhook
      summary: Remove a subscription
      security:
      - managementToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - subscription_id
              properties:
                subscription_id:
                  type: string
      responses:
        '200':
          description: Removed.
        '404':
          description: Unknown subscription or wrong token.
      tags:
      - Webhooks
    servers:
    - url: https://www.astroclaw.xyz
components:
  schemas:
    SignName:
      type: string
      enum:
      - aries
      - taurus
      - gemini
      - cancer
      - leo
      - virgo
      - libra
      - scorpio
      - sagittarius
      - capricorn
      - aquarius
      - pisces
  securitySchemes:
    managementToken:
      type: http
      scheme: bearer
      description: The management_token returned when the subscription was created.
externalDocs:
  description: Agent guide
  url: https://www.astroclaw.xyz/llms.txt
x-refined-from:
- astroclaw-xyz-openapi.yaml
- astroclaw-xyz.yaml