---
title: "Subscriptions"
method: GET
path: "/workspace/webhooks"
tags: ["Webhooks"]
---

# Subscriptions

`GET /workspace/webhooks`

## Request

- Base URL: `https://preflight.social/v1`
- URL: `https://preflight.social/v1/workspace/webhooks`
- Auth: HTTP bearer

Scope webhooks:read.

## Response `200`

Subscriptions, without secrets.

- object
  - `data` Webhook[]
    - `id` string, uuid
    - `url` string, uri
    - `events` string[]
    - `secret` string: whsec_…, shown once, on creation only.
    - `createdAt` string, date-time

## Other responses

- `401`: Missing, expired or unrecognised key.
- `403`: The key lacks the scope for this call.

---

[API](https://skmtc.dev/preflight/apis/preflight-api.md) · [All operations](https://skmtc.dev/preflight/apis/preflight-api/llms.txt) · [OpenAPI document](https://skmtc.dev/preflight/apis/preflight-api/revisions/45ae7944ce71?raw)
