GET/webhook-endpoints/{id}
Fetches one webhook endpoint. Returns 404 once it has been deleted.
pf-api-keyRate limit: 6,000 requests per day, 600 per hourPath parameters
idstring (UUID)requiredThe endpoint's id, from POST /webhook-endpoints or GET /webhook-endpoints. A non-UUID returns 400.
Errors
| Status | message | When |
|---|---|---|
404 | webhook.notFound | No endpoint with this id in the workspace: it was deleted, it never existed, or it belongs to another workspace. |
Response
200 OK The endpoint. secret is never included.
idstring (UUID)requiredThe endpoint's id. Every other route takes it.
workspaceIdstring (UUID)requiredThe workspace the API key belongs to.
urlstringrequiredWhere PostFast sends events, as stored: a query string is kept and a #fragment is dropped.
eventsstring[]requiredThe events this endpoint receives. Never empty.
post.publishedpost.failedaccount.connectedaccount.disconnecteddescriptionstring | nulloptionalYour own label for the endpoint.
activebooleanrequiredWhether PostFast sends events to this endpoint.
disabledReasonstring | nulloptionalWhy PostFast turned the endpoint off: GONE (the receiver answered 410) or FAILING (it kept failing, see /docs/webhooks#delivery). null while it is active, and when you turned it off yourself with active: false.
GONEFAILINGlastSuccessAtISO 8601 | nulloptionalWhen a delivery to this endpoint last succeeded.
lastFailureAtISO 8601 | nulloptionalWhen a delivery to this endpoint last failed.
createdAtISO 8601requiredWhen the endpoint was created.
updatedAtISO 8601requiredWhen the endpoint last changed.