Endpoints
What Is an Endpoint?
Section titled “What Is an Endpoint?”An endpoint is an HTTP POST URL where Context Bro sends the compiled template payload. You configure endpoints in Settings with:
- Name — a friendly label (e.g. “Work API”, “Personal KB”)
- URL — the POST target
- Headers — custom key-value HTTP headers
- Enabled — toggle on/off
Setting Up an Endpoint
Section titled “Setting Up an Endpoint”- Open Context Bro Settings (gear icon in popup, or right-click → Options)
- Go to the Endpoints tab
- Click + Add endpoint
- Fill in the details:
| Field | Example |
|---|---|
| Name | My AI Agent |
| URL | https://api.example.com/context |
| Headers | Authorization: Bearer sk-xxx |
Content-Type: application/json |
- Toggle Enabled
- Click Save
Custom Headers
Section titled “Custom Headers”Headers are fully flexible key-value pairs. Common use cases:
Authorization: Bearer YOUR_TOKENX-API-Key: YOUR_KEYContent-Type: application/jsonX-Source: context-broEach endpoint has its own headers, so you can use different auth for different targets.
Multiple Endpoints
Section titled “Multiple Endpoints”You can configure multiple endpoints. In the popup, select which endpoint to send to using the Endpoint dropdown.
For quick sharing (keyboard shortcut, context menu, floating button), Context Bro uses the first enabled endpoint.
Testing
Section titled “Testing”Use https://httpbin.org/post as a test endpoint — it echoes back the full request including headers and body. Verify in your browser’s Network tab that the payload matches your template.
What Gets Sent
Section titled “What Gets Sent”The compiled template output is sent as the raw POST body (not form-encoded). The Content-Type header from your endpoint config controls how the server interprets it.
A typical request looks like:
POST /context HTTP/1.1Host: api.example.comAuthorization: Bearer sk-xxxContent-Type: application/json
{ "title": "How to fix CORS in Vite", "url": "https://stackoverflow.com/q/12345", "content": "The full article text...", "clippedAt": "2026-02-22 14:30"}