Get Webhook Config
GET
/api/webhooks/config
const url = 'https://app.lionrapid.com/api/webhooks/config?id=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”id
required
Id
string
Header Parameters
Section titled “Header Parameters”Responses
Section titled “Responses”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
apiBaseUrl
required
Apibaseurl
string
apiKey
required
Apikey
string
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>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}