Webhooks
Get webhook endpoint
Retrieves a single webhook endpoint owned by the app.
此内容尚不支持你的语言。
https://api.maple.inc/v1/webhook_endpoints/{endpointId} API keyAuthorization
Send your API key as Authorization: Bearer <key>: mpk_test_… for test mode, mpk_live_… for live mode. Both use https://api.maple.inc/v1. See Authentication. The samples read the key from MAPLE_KEY and the base URL from MAPLE_BASE, as set up in the Quickstart.
Parameters
-
endpointIdstring required -
Maple-VersionstringThe API version your code expects. A version Maple does not serve answers 400
invalid_requestwithparamMaple-Version. See https://docs.maple.inc/developer-api/concepts/versioning Always2026-11-27.
Responses
200 OK
A webhook endpoint: a URL Maple sends the enabled event types to. created and updated are Unix timestamps in seconds.
-
objectstring requiredAlways
webhook_endpoint. -
idstring required -
livemodeboolean requiredTrue for an endpoint in the live environment; false for test mode.
-
urlstring requiredThe HTTPS URL Maple sends events to.
-
api_versionstring requiredThe API version this endpoint’s events are rendered in, a date (
YYYY-MM-DD). Fixed when the endpoint is created. -
enabled_eventsstring[] requiredThe event types Maple sends to
url. -
statusstring requiredOne of
enabled,disabled. -
createdinteger required -
updatedinteger required
Errors
-
400Bad request -
401Unauthorized -
403Forbidden -
404Not found -
409Conflict -
429Too many requests -
500Server error
Every error body is one error object: branch on its type and code; message is for people, param names the field at fault, and doc_url links the code on Errors.
A 429 also sends Retry-After: Seconds to wait before retrying; also returned as error.retry_after in the body.