---
title: "GET /v1/principals/{id}/endpoints"
method: GET
path: "/v1/principals/{id}/endpoints"
---

# GET /v1/principals/{id}/endpoints

`GET /v1/principals/{id}/endpoints`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Secure-better-auth.session_token`

A principal's webhook endpoints. Never includes secrets.

## Path parameters

- `id` string, required

## Response `200`

The request has succeeded.

- PrincipalEndpoint[]
  - `id` string, required
  - `url` string, required
  - `createdAt` string, date-time, required

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/foundermail/apis/org.md) - [All operations](https://skmtc.dev/foundermail/apis/org/llms.txt) - [OpenAPI document](https://skmtc.dev/foundermail/apis/org/revisions/8bbb36e378ab?raw)
