Simplex is designed to be easily integrated into your product. You can put any Simplex script into a serverless function and then invoke it as needed.

Simplex scripts terminate and throw a ValueError (Python) or an Error (TypeScript) if they fail. It is up to you how to handle these errors — customers usually propagate them directly to the user.

Showing Replays and Logs

We provide API endpoints to pull session replays and logs. You can show Simplex’s replays and logs to your end users using the Retrieve Session Replay and Retrieve Session Logs endpoints.

Webhooks

If you need webhooks for running Simplex jobs (instead of waiting for the serverless function to finish synchronously), let us know in Slack!