Quickstart
Search for a sandbox company and retrieve its company, officer and ownership record.
Before you start
Request credentials enabled for KYB and set UMBRELLA_BASE_URL to the sandbox gateway in Environments. Set UMBRELLA_API_KEY and UMBRELLA_CUSTOMER_ID on your backend. This walkthrough uses an invented register number from the sandbox fixtures, not a real business.
1. Authenticate
curl --fail-with-body -X POST "$UMBRELLA_BASE_URL/auth" \
-H "Api-Key: $UMBRELLA_API_KEY" \
-H "Customer-Id: $UMBRELLA_CUSTOMER_ID" \
-H "Content-Type: application/x-www-form-urlencoded"Set ACCESS_TOKEN to the returned access_token. Keep it on your backend. See Authentication for expiry.
2. Find the company
curl --fail-with-body -X POST "$UMBRELLA_BASE_URL/kyb/search" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"identifier": { "scheme": "REGISTRATION_NUMBER", "value": "HRB 99990" },
"country": "DE",
"court": "Amtsgericht München"
}'Choose a result row in data. Copy its transaction_id and company_id into the shell variables TRANSACTION_ID and COMPANY_ID. Keep the pair together: a company from another search transaction is not valid for this details request.
For name search instead, send name and country, plus locality where required. Do not combine name, identifier and pick; select exactly one search mode. The sandbox does not simulate pick.
3. Retrieve the record you need
curl --fail-with-body -X POST "$UMBRELLA_BASE_URL/kyb/company/details" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d "{
\"transaction_id\": \"$TRANSACTION_ID\",
\"company_id\": \"$COMPANY_ID\",
\"include\": { \"officers\": true, \"ownerships\": true },
\"visibility\": \"minimal\"
}"Read the company record, officerships, shareholdings and their linked parties. Unrequested sections are empty arrays: that does not mean the company has no officers or owners. Available sections and missing values depend on the record and source.
4. Check evidence before deciding
Inspect metadata warnings, data freshness and the returned ownership and signing evidence. For source-level claims and conflicts, use visibility: extended. Request additional sections only when needed; production details can incur charges, including refreshes and billable features.
A successful lookup is not a completed business-onboarding decision. Identity checks, screening, account checks and signing can be combined with KYB in your application or in Poros.
Next
- KYB introduction and integration details: search modes, include flags and response conventions.
- Sandbox test data: ownership structures, missing data and signing-rule cases.
- Reference: exact operations and schemas.