internal

Proxy To Internal Service

Proxy a request to an internal service.

This endpoint is only available in staging/development environments. Requires user authentication (same as other gateway endpoints).

The authenticated user's ID is passed to internal services via the Axel-User-Id header, so there is no privilege escalation.

post/internal/proxy

Request body

method'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' required

HTTP method to use

service'content' | 'travel' | 'users' | 'payments' | 'communications' | 'axel-brain' | 'conv-brain' | 'travel-email' required

Target internal service

pathstring required

API path on the service (e.g., /api/v1/hotels/123/images)

headersobject nullable

Additional headers to include

timeoutinteger

Request timeout in seconds (1-120)

query_paramsobject nullable

Query parameters to append to the path

Response

Successful Response

status_codeinteger required

HTTP status code from internal service

headersobject required

Response headers

{"stackTrail":"components:schemas:InternalProxyResponse:properties:body","oasType":"schema","type":"unknown","title":"Body","description":"Response body (parsed JSON or raw text)"}
elapsed_msinteger required

Request duration in milliseconds

servicestring required

Service that was called

pathstring required

Path that was called

Changes

No recorded changes to this endpoint across all 1 revision of this API.