Skip to main content
These pages are for agent platforms, and businesses running their own agents, that verify people and businesses and give agents credentials. Verify a person, or a person and their business, once. You can submit details you already collected, or send the person through Baselayer’s hosted enrollment flow. Both give you a lasting individual_ref (and a business_ref when a business is involved), which you use to mint credentials. In the hosted flow, the person:
  1. Enters their phone number, date of birth and country.
  2. Types the code Baselayer texts them.
  3. Confirms their details.
A business is verified from its registered name and address. When a person acts for a business, Baselayer also checks that they may act for it. See Who Can Act for a Business.

Choosing a path

You need an org API key with identity submission permissions (see Authentication). Every organization API key already has them. For every route, webhook and state on each path, see Hosted vs. direct.
Every identity, credential and audit log call goes to https://api.baselayer.com with your key in the X-API-Key header. Baselayer reads your organization and application from that key, never from the request body, and every read is scoped to both. Baselayer’s public signing keys and revocation lists are served from https://registry.baselayer.com and need no key.
The phone and email checks only run in hosted enrollment. A person verified from details you submit directly has neither check, so their credentials carry no verification level.

Path A: Submit details directly

Direct submission needs the person’s full legal name, date of birth, phone number, address and SSN (national_id), all collected by you. A submission missing any of them is refused.
  1. Submit, with type set to INDIVIDUAL (person only) or BUSINESS (person + the business they operate). It returns 202 right away, and verification runs in the background.
    See the API reference.
  2. Poll until state is terminal, or subscribe to the Verification.completed and Verification.failed webhooks. Poll every 2 seconds. A person’s check usually finishes in seconds. A full business check can take minutes.
    See the API reference.
  3. Read the verdict:
    • APPROVED, UNDER_REVIEW, or REJECTED
    • plus the resulting individual_ref
    • and business_ref / business_operator_link_status, for a BUSINESS verification
Every verification needs an Idempotency-Key header. A request without one is refused with 422. Resending the same key and body returns the original verification, marked Idempotent-Replayed: true, instead of starting a second one.

Path B: Use hosted enrollment

Hosted enrollment needs only a journey published in Console. The person enters the rest. Hosted enrollment must be turned on for your organization first (see Hosted Enrollment). Start a session on that journey from your server and send the person to its embed_url, in an iframe or by redirect. You get the outcome by webhook or by polling the session’s results. See Sessions and embedding for the steps and Hosted Enrollment to build the journey, or try the Hosted Enrollment Playground.

Verify someone again

Start a fresh verification cycle against the identity’s most recent submitted attributes. Send it with a new Idempotency-Key. The individual_ref never changes. Use this instead of a fresh submission when an identity has expired.
See the API reference.

Check readiness before minting

Look up the identity to see:
  • Whether it is current (verification_state: CURRENT).
  • Which attributes it can attest to (active_keys).
  • Which businesses a person is linked to (where applicable).
See the API reference. Next: Mint a credential.

Troubleshooting

The reference returns 404

References belong only to the organization and application they were issued to. An individual_ref (starts with prn_) or business_ref (starts with bus_) returns the same 404 when it is:
  • From another organization.
  • From your other environment.
  • One that was never issued.
Call with a key from the application the person was verified in. See Sandbox and Testing.

Verification is still running

Verification runs in the background after the 202, and a full business check can take minutes. Keep polling the original verification, or wait for the webhook. A new Idempotency-Key would start a second verification.

Verification needs review

An operator link lands UNDER_REVIEW instead of VERIFIED unless:
  • The business has a tin.
  • The IRS matches it to the business name.
  • The business is verified against its state registry.
Without a tin, the business can still be APPROVED, but the link waits for review. See Who Can Act for a Business.

Minting is refused

Minting needs:
  • An identity whose verification is CURRENT.
  • For a business credential, a VERIFIED operator link and current business evidence.
To fix it:
  1. Check the identity with GET /issuance/identities/individuals/{individual_ref}.
  2. Re-verify it if it has expired or been superseded.
  3. Mint again.
If the business evidence for the pair is over a year old, re-verifying the person doesn’t clear it: send a new type: BUSINESS verification for the pair. See Minting Credentials.
See every error response in the API Reference for direct verifications and re-verification.