#inbound Endpoints (5)

GET/v1/inbound/settingsopen-api (Python :8010)#inbound

Get Inbound Settings

Returns the organization's inbound lead capture settings (`publishable_key`, `allowed_inbound_origins`, `inbound_form_settings`). Auto-provisions a publishable key if none exists.

PUT/v1/inbound/settingsopen-api (Python :8010)#inbound

Update Inbound Settings

Updates the organization's allowed CORS origins and inbound form settings, immediately updating the Redis `pk:{publishable_key}` cache used by the Go `/v1/inbound/submit` gateway.

POST/v1/inbound/publishable-key/rotateopen-api (Python :8010)#inbound

Rotate Publishable Key

Rotates the organization's `publishable_key`, invalidating the old key in Redis and `external_account_routing` and registering a new `pk_live_...` key.

POST/v1/inbound/submitopen-worker (Go :8080)#inbound

High-Throughput Public Form & Lead Ingestion (Go)

Ingests public web form submissions, sanitizes fields against the tenant's PostgreSQL schema cache, inserts the target record (`lead`, `contact`, `ticket`), broadcasts real-time CUD over WebSockets, and relays async triggers.

POST/v1/inbound/webhookopen-worker (Go :8080)#inbound

High-Throughput Inbound Webhook Ingestion (Go)

Ingests external webhook payloads directly into tenant PostgreSQL tables and enqueues downstream workflow triggers via native Go `PlatformContext`.