OpenCourt Developers
API ReferenceWebhook endpoints

Get a webhook endpoint

GET/v1/webhook_endpoints/{id}

One endpoint by id. Returns 404 if it is not an endpoint of the club tied to your API key. The signing secret is never part of this object — read it with GET /v1/webhook_endpoints/{id}/secret.

Authorization

bearerAuth
AuthorizationBearer <token>

Your club API key. Send it as Authorization: Bearer oc_live_….

In: header

Path Parameters

id*string

Header Parameters

OpenCourt-Version?string

The API version to serve this request at, e.g. 2026-11-01. Omit it to use the version your API key is pinned to. An unknown or retired version is a 400 (invalid_api_version / api_version_retired).

Value in"2026-11-01"

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.getopencourt.com/v1/webhook_endpoints/8f1b2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d"
{
  "id": "8f1b2c3d-4e5f-4a6b-9c7d-0e1f2a3b4c5d",
  "object": "webhook_endpoint",
  "url": "https://hooks.example.com/opencourt",
  "scopes": [
    "customers:read"
  ],
  "signal_types": [
    "customer.created",
    "customer.updated"
  ],
  "status": "active",
  "disabled_reason": null,
  "api_version": "2026-11-01",
  "created_at": "2026-08-28T14:30:00.000Z"
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string",
    "param": "string",
    "request_id": "string"
  }
}