Webhooks

Get a webhook

Get a single webhook by its encrypted id (as returned by list_webhooks or create_webhook). Use this to confirm the current url, event_filter and active state before changing them. Returns 404 if the webhook does not exist or belongs to someone else. The HMAC signing secret is never returned — has_secret only tells you whether one is configured.

get/v2/webhooks/{id}

Request

  • Base URL: https://api.village.ai
  • URL: https://api.village.ai/v2/webhooks/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Encrypted webhook identifier

Example:MLVEUadsfgzdsafsc10q5g%3D%3D!vNnNM

Response

Webhook retrieved successfully

Example response

{
  "data": {
    "id": "MLVEUadsfgzdsafsc10q5g%3D%3D!vNnNM",
    "event_filter": [
      "new_connection"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.