Invoke Integration Proxy
POST/hostedpages-srv/integration-proxy/requests
Invokes a registered Web API operation from a Hosted Pages browser session (cidaas 4.1.1+ / hostedpages-srv v1.16.1).
cidaas looks up the operation in the tenant Web API Registry, attaches the stored credentials, and forwards the call. The browser never sees registry secrets.
Authentication (session, not admin OAuth):
HP-Process-Id— cookie or request header (required)HP-Session-Context— cookie or request header (required for session validation)- Optional
deviceRefin the body for soft device binding
Request body: { operationId, payload, queryParams?, deviceRef? }.
operationId must match ^[a-z0-9-]+$. payload is required on the envelope (use {} when empty).
Invoke body size is capped at 4 MiB.
Success response: HTTP status and body from the upstream customer API (not a cidaas success envelope).
Only a subset of upstream response headers is forwarded (Content-Type, Cache-Control, ETag, Last-Modified, Content-Language, Vary).
Service error codes (cidaas envelope when the proxy rejects before/without a usable upstream response):
16013: invalid or missingoperationId16014: invalid or missing invoke envelope / payload16015: missing, invalid, or expired Hosted Pages session16016: session or device binding mismatch16017: no registry entry foroperationId16018: upstream unreachable or timed out16019: registry auth type not supported for proxy invoke16020: registry entry incomplete or invalid for invoke16021: upstream response body exceeds the 4 MiB proxy limit
See Web API Registry — Integration Proxy.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 504
Upstream success — body and status from the customer API (any 2xx from upstream is returned as-is).
Bad Request — missing process id, invalid envelope, invalid operationId,
misconfigured/unsupported registry entry, or body too large.
Codes include 16013, 16014, 16019, 16020, 16021.
Unauthorized — missing, invalid, or expired Hosted Pages session (16015).
Forbidden — session or device binding mismatch (16016).
Not Found — no registry operation for operationId (16017).
Gateway Timeout — upstream unreachable or timed out (16018).