Webhook allows you to send traces to any HTTP endpoint that can receive JSON payloads. This is useful for integrating with custom observability systems, internal tools, or any service that accepts HTTP requests.
Click Test Connection to verify the setup. The configuration only saves if the test passes. During the test, OpenRouter sends an empty OTLP payload with an X-Test-Connection: true header to your endpoint.
Your endpoint should return a 2xx status code for the test to pass. A 400 status code is also accepted, as some endpoints reject empty payloads.
Custom analytics pipelines: Send traces to your own data warehouse or analytics system
Internal monitoring tools: Integrate with proprietary observability platforms
Event-driven architectures: Trigger workflows based on LLM usage
Compliance logging: Store traces in systems that meet specific regulatory requirements
Development and testing: Use services like webhook.site to inspect trace payloads
For production use, ensure your webhook endpoint is highly available and can handle the expected volume of traces. Consider implementing retry logic on your end for any failed deliveries.
When Privacy Mode is enabled for this destination, prompt and completion content is excluded from traces. All other trace data — token usage, costs, timing, model information, and custom metadata — is still sent normally. See Privacy Mode for details.