---
updatedAt: 2026-04-27T20:30:22.000Z
agentTools:
  projectIndex: https://developer.bill.com/llms.txt
---

# Get list of event notifications

Get a list of event notifications sent to you for a subscription. You can use this endpoint to address any issues with notification retries.

In the request, set `createdTimeFrom` and `createdTimeTo` to get event notifications for the specified time range. If you do not set `createdTimeTo`, the current date and time is used. By default, you get 20 results on one page of results. Set `max` in your request to get up to 100 results on one page.

**Note**: In this list operation, pagination is available only in one direction. The `nextPage` value is available in the response for you to retrieve the next page of results. However, you cannot retrieve the previous page of results.

See [Webhooks](doc:webhooks) in the Guides section for more information, sample requests, and notification payloads for BILL events.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Connect Events API",
    "description": "RESTful API for working with BILL webhooks",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://gateway.stage.bill.com/connect-events",
      "description": "sandbox"
    }
  ],
  "paths": {
    "/v3/events/subscription/{subscriptionId}": {
      "get": {
        "tags": [
          "events"
        ],
        "summary": "Get list of event notifications",
        "description": "Get a list of event notifications sent to you for a subscription. You can use this endpoint to address any issues with notification retries.\n\nIn the request, set `createdTimeFrom` and `createdTimeTo` to get event notifications for the specified time range. If you do not set `createdTimeTo`, the current date and time is used. By default, you get 20 results on one page of results. Set `max` in your request to get up to 100 results on one page.\n\n**Note**: In this list operation, pagination is available only in one direction. The `nextPage` value is available in the response for you to retrieve the next page of results. However, you cannot retrieve the previous page of results.\n\nSee [Webhooks](doc:webhooks) in the Guides section for more information, sample requests, and notification payloads for BILL events.",
        "operationId": "getEventsForSubscription",
        "parameters": [
          {
            "name": "sessionId",
            "in": "header",
            "schema": {
              "type": "string",
              "description": "API session ID generated with `/v3/login`",
              "nullable": true,
              "example": "{{session_id}}"
            }
          },
          {
            "name": "devKey",
            "in": "header",
            "schema": {
              "type": "string",
              "description": "Developer key sent to you by BILL when you create a developer account. Set `sessionId` and `devKey` for organization-level BILL v3 API webhook events.",
              "nullable": true,
              "example": "{{developer_key}}"
            }
          },
          {
            "name": "appKey",
            "in": "header",
            "schema": {
              "type": "string",
              "description": "Application key sent to you by BILL when you create a partner account. Set `sessionId` and `appKey` for partner-level BILL v3 API webhook events.",
              "nullable": true,
              "example": "{{app_key}}"
            }
          },
          {
            "name": "apiToken",
            "in": "header",
            "schema": {
              "type": "string",
              "description": "Access token for Spend & Expense API authentication. Set `apiToken`  for Spend & Expense webhook events.",
              "nullable": true,
              "example": "{{api_token}}"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "minLength": 1,
              "type": "string",
              "description": "BILL-generated ID of the subscription",
              "example": "{{webhook_subscription_id}}"
            }
          },
          {
            "name": "entityId",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "BILL-generated ID of the entity, such as bill or vendor. For example, to filter notifications by a specific bill, set this value as the ID of the bill.",
              "nullable": true,
              "example": "{{webhook_bill_id}}"
            }
          },
          {
            "name": "max",
            "in": "query",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "description": "Maximum number of results",
              "format": "int32",
              "nullable": true,
              "example": 10
            }
          },
          {
            "name": "createdTimeFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "Event notification created start date and time. The value is in the ISO 8601 DateTime (UTC) format. For example, `2026-12-30T00:00:00Z`.",
              "nullable": true,
              "example": "2026-03-15T00:00:00Z"
            }
          },
          {
            "name": "createdTimeTo",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "Event notification created end date and time. The value is in the ISO 8601 DateTime (UTC) format. For example, `2026-12-31T00:00:00Z`.\n\nIf you do not set `createdTimeTo`, the current date and time is used.",
              "nullable": true,
              "example": "2026-03-20T00:00:00Z"
            }
          },
          {
            "name": "ascending",
            "in": "query",
            "schema": {
              "type": "boolean",
              "description": "Set as `true` to sort event notifications in the ascending order. By default, filtered notifications are sorted in the descending order.\n\n**Note**: You must set `createdTimeFrom` for the notifications in the response to be sorted. If you do not set `createdTimeFrom`, the notifications in the response are not sorted.",
              "nullable": true,
              "example": true
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "string",
              "description": "Next page of results.\n\nWhen a list has multiple pages, the `nextPage` value in the response enables you to navigate to the next page of results. Set `page` as the `nextPage` value for navigation.",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "getEventsForSubscription 200 response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListEventWithRetriesDto"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EventRetryDto": {
        "type": "object",
        "properties": {
          "attemptNumber": {
            "type": "integer",
            "description": "Event notification retry attempt number",
            "format": "int32"
          },
          "createdTime": {
            "type": "string",
            "description": "Event notification retry created date and time",
            "format": "date-time"
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code received from the notification URL",
            "format": "int32"
          }
        },
        "description": "Event notification retry attempts information."
      },
      "EventWithRetriesDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "BILL-generated ID of the event"
          },
          "type": {
            "type": "string",
            "description": "Event type"
          },
          "version": {
            "type": "string",
            "description": "Event type version"
          },
          "subscriptionId": {
            "type": "string",
            "description": "BILL-generated ID of the subscription"
          },
          "payload": {
            "type": "string",
            "description": "Event payload. The payload is JSON escaped and presented as a string."
          },
          "createdTime": {
            "type": "string",
            "description": "Event created date and time",
            "format": "date-time"
          },
          "statusCode": {
            "type": "integer",
            "description": "HTTP status code received from the notification URL",
            "format": "int32"
          },
          "retries": {
            "type": "array",
            "description": "Event retries information",
            "items": {
              "$ref": "#/components/schemas/EventRetryDto"
            }
          }
        },
        "description": "Event and retry attempts information."
      },
      "ListEventWithRetriesDto": {
        "type": "object",
        "description": "The list of event with retries dto and next page.",
        "allOf": [
          {
            "$ref": "#/components/schemas/PaginationDto_EventWithRetriesDto_"
          }
        ]
      },
      "PaginationDto_EventWithRetriesDto_": {
        "type": "object",
        "properties": {
          "nextPage": {
            "type": "string"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventWithRetriesDto"
            }
          }
        },
        "description": "Pagination information."
      }
    }
  }
}
```