---
title: "List this tenant's admission endpoints in call order"
method: GET
path: "/api/hook-endpoints"
tags: ["HookEndpoints"]
---

# List this tenant's admission endpoints in call order

`GET /api/hook-endpoints`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/hook-endpoints`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

## Response `200`

Endpoints ordered by priority, then id. Secrets are never returned here.

- object
  - `endpoints` HookEndpoint[]
    - `name` string, required
    - `url` string, uri, required: https only, no credentials
    - `enabled` boolean
    - `priority` integer
    - `ops` string[]
    - `timeoutMs` integer
    - `failMode` 'closed' | 'open': What a failed call means on a single write.
    - `bulkFailMode` 'open' | 'closed': What a failed call means on a bulk write.
    - `id` integer
    - `contentGrant` 'text' | 'attributes', nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `401`: Missing or invalid credentials.
- `403`: Admin or owner role (or an API key with admin scope) required, or the plan lacks the webhooks feature.

---

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