Simulate a new Cloud Action

This endpoint can be called to simulate a Cloud Action provided in the request body. It can be used to help build
and debug any Cloud Actions that are part of your solution. The provided JavaScript will be
executed, but the output Events will not be persisted. Instead, all results will be shown to the user.
The supplied Event is used as the input (argument) to the supplied JavaScript function.
The simulator output will contain the function return value: a map of destinations to list of Events.
As well as a log, which is a list of the variables of your running script on each line number in the order they were executed.
The variables that are unchanged will not be reprinted.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The company name

Body Params
event
object
required

The Event to pass to the JavaScript function

string

The function must take an Event as input and return a map of destinations to list of Events. Must be specified if destination is unspecified.

mocks
object

Mocked responses for external services by URL

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json