HTTP API: other platforms

No dedicated module for your platform? The API accepts signed events from any backend.

The endpoint

POST https://serverside.datafirefly.com/v1/events

Three required headers:

HeaderContent
X-Dfss-TenantYour Site ID
X-Dfss-TimestampUnix timestamp in seconds, 300-second tolerance. NTP-synced clock recommended.
X-Dfss-SignatureHMAC-SHA256 of the exact raw body sent, lowercase hex, computed with your HMAC secret

The golden rule of signing

Serialize the JSON once, sign that string, send that same string. Nearly every invalid_signature error comes from re-encoding the body between signing and sending.

Complete PHP and Node examples are provided in the Custom platform guide of your client area, on the Modules page.

The browser channel

POST https://serverside.datafirefly.com/v1/collect/YOUR-PUBLIC-TOKEN
Content-Type: text/plain

This lightweight channel uses the Public pixel token from your site page. It is designed to be called from pages: it only accepts browsing events and refuses purchases and refunds by design, which must go through the signed server channel.

If something goes wrong

Updated: September 1, 2026