Skip to main content
Sandbox Mode lets you test the public API without changing service, request, or invoice data. Create a Sandbox API key in API Center. Sandbox keys use the sk_test_ prefix.

Authentication And Access

Send the Sandbox API key as a Bearer token on every request.
Sandbox Mode does not bypass the API firewall. A restricted Sandbox key fails when its IP whitelist is empty or when the caller IP is not on the whitelist. A Sandbox request updates the key’s Last Used time, uses the key’s rate limit, and creates an API log.

Simulated Operations

Simulated business responses include mode: "test" and simulated: true. The auth-check response identifies the API key mode as test instead.

Identifier Formats

Sandbox Mode uses public identifiers only.
  • Generated request IDs use REQ- and six digits, such as REQ-004219.
  • Generated service numbers are nine-digit numbers.
  • The request management path accepts REQ- followed by digits. Matching is not case-sensitive. The response uses uppercase REQ- and pads the number to at least six digits.
  • Service paths accept a numeric service number.
A generated identifier is not stored. You cannot use it to test a later state change. For example, a create response does not add its service to the service list response.

Test Scenarios

Use the optional X-Test-Scenario header to test selected response paths. Header values are not case-sensitive. An unknown value uses the success scenario. The endpoint validates its path, query, and body input before it applies a test scenario. A malformed request can therefore return a normal validation error instead of the selected scenario. A denial in the request management endpoint also uses the denial response before it applies nycservers_review.

Limitations

Sandbox Mode tests request structure, authentication, permissions, filters, and response handling. It does not test these live behaviors:
  • Record ownership, record existence, or the current service state.
  • Provisioning, upstream password changes, plan changes, and cancellations.
  • Email delivery, report generation, or report attachments.
  • Persistent state or workflows that use an identifier from an earlier response.
  • Live data volumes. List endpoints return at most one generated row, and report totals are fixed.
Generated timestamps use the time of each request. Request IDs for service creation, plan changes, and cancellations can change between requests. Use a Live key only when you are ready to run a real operation.
Last modified on August 2, 2026