---
title: "Returns a list of events for an account."
method: GET
path: "/v1/accounts/{accountSid}/events"
tags: ["Events"]
---

# Returns a list of events for an account.

`GET /v1/accounts/{accountSid}/events`

## Request

- Base URL: `https://api.apitraffic.io`
- URL: `https://api.apitraffic.io/v1/accounts/{accountSid}/events`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/docs/v1/accounts/:accountSid/events/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountSid` string, required: accountSid

## Query parameters

- `type` string: Filter by event type
- `startTime` string: Filter events starting from this time
- `endTime` string: Filter events up to this time
- `bucketSid` string: Filter events that apply to this bucket
- `environmentSid` string: Filter events that apply to this environment
- `limit` number: Max number of results to return

## Response `200`

Successful

- Event20Collection20Response (unresolved $ref)

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation.md) - [All operations](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/revisions/b2a22a9b5c98?raw)
