Skip to content

Get Webhook Config

GET
/api/webhooks/config
curl --request GET \
--url 'https://app.lionrapid.com/api/webhooks/config?id=example'

Worker-facing config resolution — GET /api/webhooks/config?id={integrationUuid}.

Principals (AUTH-KEYS Phase 11 — secrets are svc_-only):

  • svc_ service key (SERVICE_KEYS env ring): platform-scoped — resolves any integration, FULL secrets. The Worker’s credential (SERVICE_KEY).
  • master sk_: secrets-STRIPPED view of its own project’s integration (no signingSecret / writebackAuthSecret / writeback).
  • pk_/es_: denied (they sit in public HTML / customer origins).
id
required
Id
string
x-api-key
Any of:
string

Successful Response

Media typeapplication/json
WebhookWorkerConfigResponse

Worker-facing config (camelCase to match the Worker’s WebhookIntegrationConfig). Returned by the API-key config route and cached in CONFIG_KV.

object
integrationId
required
Integrationid
string
platform
required
Platform
string
sourceLocale
required
Sourcelocale
string
targetLocales
required
Targetlocales
Array<string>
platformLocales
Platformlocales
object
key
additional properties
string
namespace
required
Namespace
string
fieldAllowlist
required
Fieldallowlist
Array<string>
mode
required
Mode
string
signingSecret
Any of:
string
apiBaseUrl
required
Apibaseurl
string
apiKey
required
Apikey
string
writebackAuthSecret
Any of:
string
writeback
Any of:
object
active
required
Active
boolean
Examplegenerated
{
"integrationId": "example",
"platform": "example",
"sourceLocale": "example",
"targetLocales": [
"example"
],
"platformLocales": {
"additionalProperty": "example"
},
"namespace": "example",
"fieldAllowlist": [
"example"
],
"mode": "example",
"signingSecret": "example",
"apiBaseUrl": "example",
"apiKey": "example",
"writebackAuthSecret": "example",
"writeback": {},
"active": true
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}