Exclia
API docs

Sandbox

Test keys that are never metered, and the fixture names that return each screening result.

Build and test your integration with a test key. Test keys start with exk_test_; live keys start with exk_live_. Choose the mode when you create the key under API keys.

A test-key call is never metered. It does not count toward your plan's allowances and is never billed. It also never touches live data: it returns fixture results, does not read your monitored records, and does not change them.

Fixture identities

The result depends only on the name you send. Matching ignores case and surrounding spaces.

RequestResult
{"type": "person", "name": "Sandbox Match"}potential_match with one LEIE record
{"type": "organization", "legalName": "Sandbox Match Clinic LLC"}potential_match with one SAM record
Any other name, e.g. "Sandbox Clear"clear

The fixture record's state is CA. Send "state": "CA" to see a matching state field, or another state to see it differ.

curl https://api.exclia.com/v1/screen \
  -H "Authorization: Bearer $EXCLIA_TEST_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type": "person", "name": "Sandbox Match"}'

Endpoints in test mode

  • POST /v1/screen returns a fixture result.
  • POST /v1/batch accepts up to 50 items. The job is complete as soon as it is accepted, so GET /v1/batch/{jobId} returns every result on the first poll.
  • PUT /v1/monitor returns a fixture result and an id that stays the same for the same subject. Nothing is enrolled, and DELETE /v1/monitor/{id} always succeeds.
  • GET /v1/lists and GET /v1/usage return the same data as with a live key.

Requests are validated exactly as in live mode, and the same rate limits apply. Webhooks do not fire for test-mode calls.

Going live

Swap the test key for a live key. Nothing else changes: the request and response shapes are the same in both modes.