Skip to main content

Server API Destination

Server Source code Package

The server API destination sends events from Node.js to any HTTP(S) endpoint using native HTTP/HTTPS modules. It auto-selects HTTP or HTTPS from the URL, supports configurable timeouts (default 5000ms), custom transforms, and dependency injection for testing.

Where this fits

Server API is a server destination in the walkerOS flow:

Sends events server-side to any HTTP endpoint using Node.js native modules with configurable request formatting and batching.

Installation

Loading...

Configuration

This destination uses the standard destination config wrapper (consent, data, env, id, ...). For the shared fields see destination configuration. Package-specific fields live under config.settings and are listed below.

Settings

PropertyTypeDescriptionMore
url*stringThe API endpoint URL to send events to
headersRecord<string, string>Custom HTTP headers to include with requests
methodstringHTTP method to use (default: POST)
timeoutnumberRequest timeout in milliseconds (default: 5000)
* Required fields

Mapping

This package does not define custom rule-level settings. For the standard rule fields (consent, condition, data, batch, name, policy) see mapping.

Examples

custom headers

Event
Mapping
Out

custom transform

Event
Mapping
Out

full event

Event
Mapping
Out

Usage

Basic usage

Loading...

With headers and timeout

Loading...

With custom transform

Loading...

Use cases

Webhook integration

Loading...

Custom analytics backend

Loading...

With event mapping

Loading...
💡 Need implementation support?
elbwalker offers hands-on support: setup review, measurement planning, destination mapping, and live troubleshooting. Book a 2-hour session (€399)