Skip to main content

Quick start

This guide walks a developer through issuing and verifying a first credential with the Hovi Connect API: get an API key, issue a credential, receive it and verify it.

Don't write code?

You can do all of this in Hovi Studio without an API: set up an ecosystem, design a credential, issue it and verify it.

1. Get Your API Key​

Before interacting with Hovi APIs, you need to retrieve an API key to authenticate your requests.

Step 1: Register for a Hovi Studio Account​

  1. Visit Hovi Studio.

  2. Click "Get started" to access the sign-up page.

  3. Fill in the required details and click "Create account" to complete the registration process.

Step 2: Complete the Onboarding Process​

  1. Sign in using your registered credentials.

  2. Create your first ecosystem by providing a "Name" and select a network for your ecosystem from the available options.

Once the onboarding is complete, you’ll be directed to the Hovi Studio dashboard.

Step 3: Retrieve Your API Key​

  1. Click on the "API Keys" tab from the left-hand navigation menu.

  2. Your pre-generated API key will be available under the "Active API Keys" section.

You can now use this key to authenticate your API requests.

2. Issue Your First Credential​

Follow these steps to issue a verifiable credential using Hovi.

Step 1: Log in to Hovi Studio​

  1. Use your registered credentials to sign in to Hovi Studio.

Step 2: Create an Organization​

  1. In the dashboard, click on the "Organizations" tab.

  2. Click the "Create Organization" button located at the top-right corner.

  3. Fill in the required details and click "Create Organization" to create a new organization.

  4. Your seed organization's secret and DID seed phrases will be generated. Copy or download them, as they won’t be displayed again.

Your new organization has been created.

Step 3: Create a Credential Template​

  1. Navigate to the "Credential Templates" tab.

  2. Click the "Create Template" button located at the top-right corner.

  3. Fill in the required details and click "Create Template" to create a new credential template.

Your credential template is now ready for use.

Step 4: Use API-Key to Issue a Credential​

Use the API key you generated earlier to issue a credential using Hovi’s API.

  1. Visit the API Reference.

  2. Navigate to your ecosystem's POST - Offer Credentials endpoint and click “Test Request”.

  3. Enter the API key as a Bearer Token, add your organization ID in the x-organization-id header, provide the body parameters, and click “Send”. The credential will be issued to the recipient/holder.

3. Receive Your First Credential​

Once the credential is issued:

  1. The holder will scan the QR code using their digital wallet (e.g., Hovi Wallet or compatible wallet) and receive the credential.
note

To see the complete list of supported wallets, please refer here: Supported Wallets List.

They can now securely store the credentials or share them with third-party verifiers as needed.

Using Cloud Wallet API​

Alternatively, you can programmatically manage credentials using the Cloud Wallet API. This is ideal for applications that need to automate wallet operations or integrate wallet functionality directly into their backend systems.

Step 1: Create a Wallet​

Create a cloud wallet for your user using a Cloud Wallet API key (available on the Growth plan and above). This will return a wallet with a unique access token for subsequent operations.

tip

Learn more in the Cloud Wallet Guide.

Step 2: Accept the Credential Offer​

Use the wallet access token to accept the credential offer URL and store the credential in the wallet.

tip

See the Cloud Wallet Guide for details.

Step 3: Submit a Proof Presentation​

When a verifier requests proof, submit a presentation using the stored credentials and the wallet access token.

tip

Learn more in the Cloud Wallet Guide.

info

The Cloud Wallet API allows you to build headless wallet solutions, automate credential management, and integrate wallet functionality seamlessly into your applications without requiring users to scan QR codes manually.

4. Verify Your First Credential​

Follow these steps to verify a credential using Hovi Studio and APIs.

Step 1: Log in to Hovi Studio​

  1. Sign in to your Hovi Studio account.

Step 2: Create an Organization​

  1. If you don’t already have one, follow the same steps from earlier to create an organization for verification.

Step 3: Create a Verification Template​

  1. Navigate to the “Verification Template” tab.

  2. Click the “Create Template” button at the top right corner.

  3. Fill in the required information and click “Create Template” to create a new verification template.

Step 4: Use API-Key to Verify a Credential​

Follow these steps to verify a credential using Hovi APIs.

  1. Visit the API Reference.

  2. Navigate to your ecosystem's POST - Send Proof Request endpoint and click “Test Request”.

  3. Enter your API key as a Bearer Token, fill in the body parameters, and click “Send".

  4. The verificationUrl will lead you to a QR code that the recipient can scan using their digital wallet to accept the verification request.

  5. To check the verification status, you can use the GET - Get Proof Requests endpoint to check if the holder has accepted the verification request or not.

    pending state indicates that the holder has yet to accept the verification request.

  6. Once the holder scans the QR code, the credentials will be verified successfully, and the state will change to done.