Skip to main content
GET
/
webhook
Get partner webhook configuration
curl --request GET \
  --url 'https://partner-api.ochy-prod.com/webhook?apiKey='
{
  "url": "https://client.example.com/webhooks/ochy",
  "enabled": true,
  "updated_at": "2026-03-23T10:45:00Z",
  "signature": {
    "enabled": true,
    "algorithm": "HMAC-SHA256",
    "last4": "n6p8",
    "created_at": "2026-03-23T10:45:00Z",
    "updated_at": "2026-03-23T10:45:00Z"
  }
}

Authorizations

apiKey
string
query
required

Your API key, passed as a query parameter on every request.

Response

Current webhook configuration (or empty object if none exists).

Returned by GET /webhook and PUT /webhook. When no webhook has been stored yet, GET /webhook returns an empty object. The full signing secret is only present in responses that generated or rotated it.

url
string<uri>

Registered webhook URL.

Example:

"https://client.example.com/webhooks/ochy"

enabled
boolean

Whether webhook delivery is enabled for this partner.

Example:

true

updated_at
string<date-time>

When the configuration was last updated (ISO 8601 UTC).

Example:

"2026-03-23T10:45:00Z"

signature
object

Webhook signing configuration. The secret field is returned only when generated or rotated.