---
title: "History of a slot"
method: GET
path: "/api/v1/slots/{slotId}/events"
tags: ["WhatsApp slots"]
---

# History of a slot

`GET /api/v1/slots/{slotId}/events`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/slots/{slotId}/events`
- Auth: HTTP bearer

## Path parameters

- `slotId` integer, required

## Query parameters

- `cursor` string
- `limit` integer

## Response `200`

OK

- EventsOutputBody
  - `items` SlotEventBody[], nullable, required
    - `created_at` string, date-time, required
    - `detail` string, required
    - `id` string, required
    - `kind` 'pair_started' | 'pair_success' | 'connected' | 'disconnected' | 'logged_out' | 'banned' | 'paused' | 'resumed' | 'error', required
  - `next_cursor` string, nullable, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
