Example REST Activity

config.json

index.html

Every custom activity must have an index.html in the root of its endpoint.

customActivity.js

Postmonger is required for communication between Journey Builder and the activity.

Sample Request

Sample POST data sent to https://some-endpoint.com/execute.

Sample Response

Sample 200 OK response expected from the server.