Register a webhook endpoint on a principal. The secret is shown once.
post/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
Path parameters
idstring required
Request body
Response
The request has succeeded and a new resource has been created as a result.
Changes
No recorded changes to this operation across all 1 revision of this API.