Skip to main content
Version: Latest (4.1.1)

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 deviceRef in 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 missing operationId
  • 16014: invalid or missing invoke envelope / payload
  • 16015: missing, invalid, or expired Hosted Pages session
  • 16016: session or device binding mismatch
  • 16017: no registry entry for operationId
  • 16018: upstream unreachable or timed out
  • 16019: registry auth type not supported for proxy invoke
  • 16020: registry entry incomplete or invalid for invoke
  • 16021: upstream response body exceeds the 4 MiB proxy limit

See Web API Registry — Integration Proxy.

Request​

Responses​

Upstream success — body and status from the customer API (any 2xx from upstream is returned as-is).