Skip to content

Conversation

@alexluong
Copy link
Collaborator

@alexluong alexluong commented Dec 10, 2025

destwebhook custom headers

Adds support for custom HTTP headers on webhook destinations.

Features

  • Custom Headers Config: New custom_headers field in destination config allows setting additional HTTP headers sent with every webhook request
  • Portal UI: Key-value editor for managing custom headers in destination settings
  • Display: Custom headers shown in destination details view

API

{
  "config": {
    "custom_headers": "{\"x-api-key\":\"secret123\",\"x-tenant-id\":\"customer-456\"}"
  }
}

Headers are stored as a JSON string. Reserved headers (Content-Type, Host, etc.) cannot be overridden.

UI

create flow

CleanShot.2025-12-10.at.23.48.44.mp4

details section

CleanShot 2025-12-10 at 23 49 38

settings config form

CleanShot 2025-12-10 at 23 50 04

@vercel
Copy link

vercel bot commented Dec 10, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
outpost-docs Ready Ready Preview Comment Dec 12, 2025 7:38pm
outpost-website Ready Ready Preview Comment Dec 12, 2025 7:38pm

@alexbouchardd
Copy link
Contributor

@alexluong UI fix pushed. Ready to merge once the global config has been added

@alexluong alexluong changed the base branch from main to v0.10.0 December 16, 2025 08:05
@alexluong alexluong merged commit bf3be2d into v0.10.0 Dec 16, 2025
4 checks passed
@alexluong alexluong deleted the destwebhook-custom-headers branch December 16, 2025 08:06
alexluong added a commit that referenced this pull request Dec 16, 2025
Combines both features:
- Destination filter (PR #594)
- Custom headers (PR #590)

Resolved conflict in Destination.scss by keeping styles from both branches.
alexluong added a commit that referenced this pull request Dec 17, 2025
* test: destwebhook.config.custom_headers tests

* feat: implement destwebhook.config.custom_headers

* feat: port custom headers implementation to destwebhookstandard

* docs: openapi.yaml

* chore: remove unused func

* feat: key value map portal ui

* fix: Fix custom header display and form logic

* chore: Remove left over console log

---------

Co-authored-by: Alexandre Bouchard <alexbouchardd@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants