Skip to main content

Environments

The Public API runs in four environments. Each has its own base URL, its own data, and its own credentials.

EnvironmentBase URLPurpose
Developmenthttps://publicapi.dev.signerschoice.comActive development. Data is reset without notice
QAhttps://publicapi.qa.signerschoice.comInternal testing
UAThttps://publicapi.uat.signerschoice.comPartner acceptance testing. The right place to validate an integration before go-live
Productionhttps://publicapi.signerschoice.comLive data
Credentials are not portable

A client ID and secret are issued per environment. Production credentials will not authenticate against UAT, and vice versa. Keep them in separate configuration and separate secret stores — this is the main defence against a test run touching live data.

Choosing an environment​

  • Building an integration — start in DEV. Data is disposable, so mistakes are cheap.
  • Validating before go-live — use UAT. It is the closest to production and is where acceptance testing is expected to happen.
  • QA is used by internal SignersChoice testing. Partners are not normally given access.

Configuration​

Make the base URL configurable. Hard-coding it is the most common reason an integration cannot be promoted without a code change.

{
"SignersChoice": {
"BaseUrl": "https://publicapi.uat.signerschoice.com",
"ClientId": "from-secret-store",
"ClientSecret": "from-secret-store"
}
}

Checking availability​

Every environment exposes unauthenticated health endpoints:

curl 'https://publicapi.uat.signerschoice.com/health'

/health reports whether the API itself is running. /health/user/ready also checks its upstream dependencies, so it is the better signal when calls are failing and you need to know whether the problem is yours or ours.

These endpoints need no token, which makes them useful as a first diagnostic step when authentication itself is failing.