---
title: "GET /topics/{topic}/subscriptions/{subscription}/events/pull"
method: GET
path: "/topics/{topic}/subscriptions/{subscription}/events/pull"
---

# GET /topics/{topic}/subscriptions/{subscription}/events/pull

`GET /topics/{topic}/subscriptions/{subscription}/events/pull`

Pulls a single unacknowledged event from a pull subscription, and locks it for 30 seconds.

## Path parameters

- `topic` string, required
- `subscription` string, required

## Query parameters

- `time_window` string

## Response `200`

Event successfully pulled

- object
  - `id` string — The event ID
  - `topic_id` string — The ID of the topic the event was posted to
  - `timestamp` string — The timestamp the event was posted
  - `data` object — The decrypted data of the event
  - `metadata` object — The metadata of the event

## Other responses

- `204` — No unacknowledged events available
- `400` — Invalid request parameters or subscription type
- `401` — Unauthorized - invalid or missing authentication
- `403` — Forbidden - app is blocked

## Changes

- **2025-02-19** `e893cda3f195` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sailhouse/apis/sailhouse-api/changes/topics/:topic/subscriptions/:subscription/events/pull/get.md)

---

[API](https://skmtc.dev/sailhouse/apis/sailhouse-api.md) · [All operations](https://skmtc.dev/sailhouse/apis/sailhouse-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sailhouse/sailhouse-api/revisions/e893cda3f195/schema)
