Developer Hub

Integrate secure, privacy-first identification and verification into your stack with just a few lines of code.

Integration Flow

1. Generate your Private Key

Changefly ID required. Initialize your API access by generating your unique API Private Key. You only need to do this once.

•••
curl -X POST https://services.changeflyapi.com/v1/api/generate-private-key \ -d '{ "admin_changefly_id": "YOUR CHANGEFLY ID" }'

2. Generate your Connection Key

Create a connection key to establish a unique bond between you and your users. You only need to do this once.

•••
curl -X POST https://services.changeflyapi.com/v1/api/generate-connection-key \ -d '{ "admin_changefly_id": "YOUR CHANGEFLY ID" }'

3. Verify Changefly ID's

Now that you have your api_private_key and api_connection_key, you are ready to verify any Changefly ID.


Use the verify endpoint to receive a unique changefly_connection_id. Attach this unique identifier in your internal database for each user account.

•••
curl -X POST https://services.changeflyapi.com/v1/api/verify \ -d '{ "api_private_key": "YOUR API PRIVATE KEY", "api_connection_key": "YOUR API CONNECTION KEY", "changefly_id": "USER CHANGEFLY ID" }' # Response { "success": 1, "changefly_connection_id":"USER CONNECTION ID", "identity": { "type": "person", "country": "US", "minimum_age": 18 } }

Need help integrating?

Contact our developer team for Changefly API support and SDK's.

developer@changefly.com