IntroductionQuickstartAuthenticationPaginationRate Limit

Search endpoints

Job Search POSTCompany Search POSTTechnographics POST

Account endpoints

Get Credit Balance GETGet Credits Consumption GET

Other

Get Webhook By Id GETGet Aggregated Webhook Event Count GETGet Webhook Event Count GETList Webhook Events GETList All Webhooks GETArchive Webhook PATCHUpdate Webhook PATCHEnable/Disable A Webhook PATCHRetry Webhook Events POSTTest Webhook Url POSTCreate New Webhook POST
TheirStack TheirStack Logo
DocumentationAPI ReferenceWebhooksDatasets
Webhooks

Get Aggregated Webhook Event Count

Get the webhook events count aggregated by day with grouping options

GET
/v0/webhooks/events/count

Authorization

Bearer
AuthorizationBearer <token>

In: header

Query Parameters

  • start_datetime
    string
    date-timedefault: "2026-01-01T10:49:45.672711Z"

    Start datetime in ISO format (e.g., 2023-01-01T00:00:00)

  • end_datetime
    string
    date-timedefault: "2026-01-31T10:49:45.672775Z"

    End datetime in ISO format (e.g., 2023-01-01T23:59:59)

  • timezone
    string
    default: "UTC"

    IANA timezone string (e.g., 'Europe/Madrid', 'America/New_York')

  • webhook_id
    integernullable

    Webhook ID

  • group_by
    string
    default: "status"

    How to group the results: by status or webhook_id

    • status
    • webhook_id
  • Response Body

    application/json

    application/json

    application/json

    application/json

    application/json

    curl -X GET "https://api.theirstack.com/v0/webhooks/events/count"
    [
      {
        "period_start": "2019-08-24T14:15:22Z",
        "number_of_events": 0,
        "status": "IN_PROGRESS",
        "webhook_id": 0,
        "number_of_executions": 0
      }
    ]
    {
      "request_id": null,
      "error": {
        "code": "E-001",
        "title": "Not allowed exception",
        "description": "string"
      }
    }
    {
      "request_id": null,
      "error": {
        "code": "E-001",
        "title": "Not allowed exception",
        "description": "string"
      }
    }
    {
      "request_id": null,
      "error": {
        "code": "E-001",
        "title": "Not allowed exception",
        "description": "string"
      }
    }
    {
      "request_id": null,
      "error": {
        "code": "E-001",
        "title": "Not allowed exception",
        "description": "string"
      }
    }

    How is this guide?

    Last updated on

    Get Webhook By Id GET

    Get a webhook by ID.

    Get Webhook Event Count GET

    Get the total number of events triggered for a specific webhook