Skip to main content

Get your API key

Sign in to the VerifiedX dashboard and open API keys. Create a new runtime key for your workspace. All VerifiedX API keys start with vxpk_.

Configure your environment

For the hosted service, VERIFIEDX_API_KEY is the only required variable.
Never hardcode your API key in source code. Always load it from an environment variable.
.env
VERIFIEDX_API_KEY=vxpk_your_runtime_key
The SDK reads this automatically on initialization.
This is enough for the normal hosted setup. Most builders do not need any other auth or runtime configuration to get started.

Optional environment variables

Use these only if you need to override the default hosted setup or attach extra runtime metadata.
VariableRequiredDefaultDescription
VERIFIEDX_BASE_URLNohttps://api.verifiedx.meOverride the VerifiedX API base URL.
VERIFIEDX_ORG_IDNoorg_1Runtime org identifier. For hosted requests, the API key scope is authoritative.
VERIFIEDX_PROJECT_IDNoproject_1Runtime project identifier. For hosted requests, the API key scope is authoritative.
VERIFIEDX_ENVIRONMENTNoprodRuntime environment label, for example prod, staging, or dev. For hosted requests, the API key scope is authoritative.
VERIFIEDX_AGENT_IDNoAuto-generatedAgent identifier shown in runtime context and logs.
VERIFIEDX_SOURCE_SYSTEMNoSDK defaultSource-system label for the runtime.
For the hosted API, org, project, and environment are aligned to the API key scope server-side.

Missing or invalid keys

Missing and invalid keys do not behave exactly the same across SDKs.
  • In Python, init_verifiedx() fails fast if VERIFIEDX_API_KEY is missing from env.
  • Invalid, unrecognized, or revoked keys are rejected by the VerifiedX API on the first real request.
  • In TypeScript, missing auth usually surfaces when the first VerifiedX request is made rather than at initVerifiedX() time.
  • If you rotate a key in the dashboard, update the environment variable and restart your process.
Before sending live traffic, run:
verifiedx doctor
That reports your loaded config and, when a key is present, checks connectivity to the VerifiedX API.