API Reference
POST /api/public/webhooks/segment
Used to consume segment.io webhook payloads. Must be exposed publicly to the internet.
POST
/
api
/
public
/
webhooks
/
segment
Header
Body
curl --request POST \
--url http://localhost/api/public/webhooks/segment \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--data '{
"messageId": "<string>",
"timestamp": "<string>"
}'
Headers
x-signature
string
requireddf-workspace-id
string
Id of the workspace which will receive the segment payload. Defaults to the default workspace id, for single tenant systems
Body
application/json
messageId
string
requiredtimestamp
string
requiredcurl --request POST \
--url http://localhost/api/public/webhooks/segment \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--data '{
"messageId": "<string>",
"timestamp": "<string>"
}'