unPLUGDevelopers

Webhook endpoints API

Get a webhook endpoint

GET/v1/webhook_endpoints/{id}

Returns one endpoint, without its secret.

Permissions: Secret key with webhooks:manage.

Path parameters#

  • idstring (uuid)Required

Response fields#

Returns 200 with WebhookEndpoint

  • idstring (uuid)
    The endpoint's id.
  • urlstring (uri)
    Where events are sent. HTTPS on a public hostname.
  • descriptionstringNullable
    Your label, up to 255 characters.
    Max Length 255
  • event_typesarray of string
    Types this endpoint gets, or ["*"] for all types, including types added later. See Webhook event types.
  • statusstring
    enabled or disabled. unPLUG sets disabled after 3 days of failed deliveries.
    One of enabled, disabled
  • secretstring
    The signing secret, whsec_ followed by base64. Returned only when you create the endpoint or rotate the secret.
  • created_atstring (date-time)
    When the endpoint was created.
  • updated_atstring (date-time)
    When the endpoint last changed.

Error descriptions#

404Not found
not_found

No endpoint with this id in this environment.

Any endpoint can also return the common errors.