Get webhook

Returns one webhook subscription. Read calls expose secret_preview only; use rotate when you need a new plaintext signing secret.
https://api.unipost.dev
GET/v1/webhooks/:id
Authorization
In header ยท Bearer <token>
Path
string

Authorization

AuthorizationBearer <token>In header
Workspace API key.

Path Params

idstring
Webhook subscription ID.

Response Body

200
idstring
Webhook subscription ID.
namestring
Human-readable webhook label.
urlstring
Destination URL.
eventsstring[]
Subscribed event names.
activeboolean
Whether delivery is enabled.
secret_previewstring
Short preview of the current secret.
created_atstring
Creation timestamp.
401
error.codestring
Usually "NOT_FOUND" or "UNAUTHORIZED".
error.normalized_codestring
Lowercase alias such as "not_found" or "unauthorized".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
404
error.codestring
Usually "NOT_FOUND" or "UNAUTHORIZED".
error.normalized_codestring
Lowercase alias such as "not_found" or "unauthorized".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.
500
error.codestring
Usually "NOT_FOUND" or "UNAUTHORIZED".
error.normalized_codestring
Lowercase alias such as "not_found" or "unauthorized".
error.messagestring
Human-readable error message.
request_idstring
Request identifier for debugging and support.