Get started
Authentication
Every request after onboarding carries your business key in the X-Business-Key header.
Get a business key
Call Request business key with your NRS Business ID, Entity ID and business address. It is the only endpoint that needs no key. Qorpy verifies your details with NRS and returns a businessKey.
Each business has one active key at a time. Calling the endpoint again for a registered business returns 02 and no new key.
Send the key
Add the key to every request in the X-Business-Key header.
X-Business-Keystringrequired
Your business key, for example
BK-XXXX...-DEV-XXXX.curl "$QORPY_BASE_URL/external/businesses/$BUSINESS_ID/settings" \
-H "Accept: application/json" \
-H "X-Business-Key: $QORPY_BUSINESS_KEY"A missing or wrong key returns HTTP 401.
Keep it safe
- Store the key in environment variables or a secrets manager such as AWS Secrets Manager or Azure Key Vault.
- Never commit the key to source control, write it to logs, or send it to a browser or mobile app.
- Call the API from your servers only.
Rotate the key
Use Regenerate business key after a suspected leak, when someone with access leaves, or on a regular schedule. Every 90 days is a good default.
The old key stops working the moment a new one is issued. There is no grace period, so update every system that uses the key straight away. You can regenerate once every 24 hours and up to 10 times a month.
Qorpy API by Qucoon Limited, an NRS-approved Access PointAPI version v1