Timbrix Webhooks API

Webhook configuration and delivery

GitHub OpenAPI

Operations 7

GET /organizations/{organizationId}/webhooks List organization webhooks #
POST /organizations/{organizationId}/webhooks Create a new webhook #
GET /organizations/{organizationId}/webhooks/{id} Get webhook by ID #
PUT /organizations/{organizationId}/webhooks/{id} Update webhook #
DELETE /organizations/{organizationId}/webhooks/{id} Delete webhook #
GET /organizations/{organizationId}/webhooks/{id}/deliveries Get webhook delivery history #
POST /organizations/{organizationId}/webhooks/{id}/test Send test webhook #

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/timbrix-mx:timbrix-mx-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

timbrix-mx-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Timbrix Webhooks API
  description: 'API de facturación electrónica CFDI 4.0 para México, con servidor OAuth2 para gestionar organizaciones, miembros y webhooks. Compatible con agentes de IA — ver la extensión `x-ai-agent-friendly` en la raíz de esta spec.


    REST API with OAuth2 server for managing organizations, members, and webhooks.'
  version: '1.0'
  contact: {}
servers: []
tags:
- name: Webhooks
  description: Webhook configuration and delivery
paths:
  /organizations/{organizationId}/webhooks:
    get:
      description: Lists all webhooks for an organization. Only OWNERS and ADMINS can view webhooks.
      operationId: WebhooksController_listByOrganization
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Webhooks retrieved successfully.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only owners and admins can list webhooks.
      security:
      - bearer: []
      summary: List organization webhooks
      tags:
      - Webhooks
    post:
      description: Creates a webhook endpoint for receiving events. Only OWNERS and ADMINS can create webhooks.
      operationId: WebhooksController_create
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateWebhookDto'
      responses:
        '201':
          description: Webhook created successfully. Returns webhook configuration with signing secret.
        '400':
          description: Invalid input data. Check URL format and event types.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only owners and admins can create webhooks.
      security:
      - bearer: []
      summary: Create a new webhook
      tags:
      - Webhooks
  /organizations/{organizationId}/webhooks/{id}:
    get:
      description: Retrieves webhook configuration. Returns webhook details including URL, events, and status.
      operationId: WebhooksController_getById
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Webhook retrieved successfully with configuration details.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. User is not a member of this organization.
        '404':
          description: Webhook not found with the provided ID.
      security:
      - bearer: []
      summary: Get webhook by ID
      tags:
      - Webhooks
    put:
      description: Updates webhook configuration. Allows updating URL, events, and active status.
      operationId: WebhooksController_update
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateWebhookDto'
      responses:
        '200':
          description: Webhook updated successfully with new configuration.
        '400':
          description: Invalid input data. Check URL format and event types.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only owners and admins can update webhooks.
        '404':
          description: Webhook not found with the provided ID.
      security:
      - bearer: []
      summary: Update webhook
      tags:
      - Webhooks
    delete:
      description: Deletes a webhook endpoint. This action is PERMANENT. The webhook will stop receiving events immediately.
      operationId: WebhooksController_delete
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '204':
          description: Webhook deleted successfully. Webhook will no longer receive events.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only owners and admins can delete webhooks.
        '404':
          description: Webhook not found with the provided ID.
      security:
      - bearer: []
      summary: Delete webhook
      tags:
      - Webhooks
  /organizations/{organizationId}/webhooks/{id}/deliveries:
    get:
      description: Retrieves delivery history for a webhook. Returns up to 100 recent deliveries with status, response codes, and retry info.
      operationId: WebhooksController_getDeliveries
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: Delivery history retrieved successfully. Returns array of delivery attempts.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. User is not a member of this organization.
        '404':
          description: Webhook not found with the provided ID.
      security:
      - bearer: []
      summary: Get webhook delivery history
      tags:
      - Webhooks
  /organizations/{organizationId}/webhooks/{id}/test:
    post:
      description: Sends a test webhook event to verify configuration. Useful for testing webhook endpoint and HMAC signature verification.
      operationId: WebhooksController_sendTest
      parameters:
      - name: organizationId
        required: true
        in: path
        schema:
          type: string
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '202':
          description: Test webhook queued for delivery. Check delivery history to see results.
        '401':
          description: Authentication required. Provide a valid bearer token.
        '403':
          description: Access denied. Only owners and admins can test webhooks.
        '404':
          description: Webhook not found with the provided ID.
      security:
      - bearer: []
      summary: Send test webhook
      tags:
      - Webhooks
components:
  schemas:
    UpdateWebhookDto:
      type: object
      properties:
        url:
          type: string
          description: Webhook endpoint URL
          example: https://example.com/webhooks
        events:
          description: Events to subscribe to
          example:
          - organization.updated
          - member.added
          type: array
          items:
            type: array
        isActive:
          type: boolean
          description: Whether the webhook is active
          example: true
    CreateWebhookDto:
      type: object
      properties:
        url:
          type: string
          description: Webhook endpoint URL
          example: https://example.com/webhooks
        events:
          type: array
          description: Events to subscribe to
          example:
          - organization.updated
          - member.added
          items:
            type: string
            enum:
            - organization.updated
            - member.added
            - member.removed
            - member.role_updated
            - invite.created
            - invite.accepted
            - invite.cancelled
            - webhook.created
            - invoice.stamped
            - invoice.cancelled
            - invoice.cancellation_pending
            - invoice.cancellation_rejected
            - invoice.stamping_failed
            - invoice.payment_received
            - certificate.uploaded
            - certificate.expiring
            - certificate.expired
            - certificate.deleted
            - trial.ending_soon
            - trial.expired
            - trial.converted
        environment:
          type: string
          description: Environment whose invoice.* events this webhook receives. Immutable after creation. Defaults to production.
          enum:
          - production
          - sandbox
          default: production
      required:
      - url
      - events
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key for authentication (sk_test_... for sandbox, sk_live_... for production)
x-ai-agent-friendly: true