Every API request includes identifiers used for tracing, debugging, and support.
Response Headers
| Header | Description |
|---|---|
X-HG-Request-Id | Unique ID generated by Health Gorilla for this request |
X-Request-Id | Client-provided ID (if included in the request) |
X-Correlation-Id | Links the client request ID to the Health Gorilla request ID |
How They Work Together
- Include
X-Request-Idin your request - Health Gorilla generates
X-HG-Request-Id X-Correlation-Idconnects the client and server request IDs
Best Practices
- Include
X-Request-Idon all requests - Log
X-HG-Request-IdandX-Correlation-Idin your application logs - Provide these IDs when contacting Health Gorilla support

