FieldRoutes API docs logoFieldRoutes API

Playground

Build a request

Mock mode shapes responses from the documented schema and never touches the network. Live mode posts straight from your browser to your tenant host.

Credentials

Stored in this browser only, and sent nowhere except the tenant host you type. Use a sandbox keyset.

Request
MockLive
createPOST /document/create
Parameters

No network call. Responses are shaped from the documented schema.

curl (keys redacted)
curl -X POST 'https://{subdomain}.pestroutes.com/api/document/create' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Accept: application/json' \
  --data-urlencode 'authenticationKey=<your-key>' \
  --data-urlencode 'authenticationToken=<your-token>'
javascript
const response = await fetch("https://{subdomain}.pestroutes.com/api/document/create", {
  method: "POST",
  headers: { "Content-Type": "application/x-www-form-urlencoded" },
  body: new URLSearchParams({
    "authenticationKey": "<your-key>",
    "authenticationToken": "<your-token>",
  }),
});
const data = await response.json();