Mock server

Build and test your client before you have a key.

A mock server generated from the contract returns the contract's example responses. You can use it to build your client before you have a key.

npx @stoplight/prism-cli@5 mock vojo-api.openapi.yaml --host 127.0.0.1 --port 4020
curl http://127.0.0.1:4020/v1/screens \
  -H "Authorization: Bearer vojo_live_anything"

Ask your Vojo contact for the contract file.

The mock checks the shape of your requests and returns examples, but it stores nothing and has no separate organisations. Test your real flow against a development organisation. It also doesn't send webhooks: see Test your endpoint.