Blocklet Service icon

Blocklet Service

Consume Blocklet Service API

User → Get User

AI-generated

Overview

This node operation retrieves detailed information about a specific user identified by their DID (Decentralized Identifier) from the Blocklet Service API. It supports options to include additional related data such as the user's connected accounts, tags, and passports. This operation is useful in scenarios where you need to fetch comprehensive user profiles for identity verification, user management, or integration with other systems.

Use Case Examples

  1. Fetch a user's profile by their DID to display user details in an application.
  2. Retrieve a user's connected accounts and tags to analyze user activity and preferences.
  3. Include passports information for identity verification processes.

Properties

Name Meaning
User DID The DID of the user to retrieve information for.
Enabled Connected Account Whether to include the user's enabled connected account information in the response.
Include Tags Whether to include the tags associated with the user in the response.
Include Connected Accounts Whether to include all connected accounts of the user in the response.
Include Passports Whether to include the passports associated with the user in the response.

Output

JSON

  • did - The Decentralized Identifier of the user.
  • name - The name of the user.
  • email - The email address of the user.
  • connectedAccounts - Details of the user's connected accounts, if included.
  • tags - Tags associated with the user, if included.
  • passports - Passports associated with the user, if included.

Dependencies

  • Blocklet Service API
  • an API key credential for authentication

Troubleshooting

  • Ensure the provided User DID is correct and exists in the Blocklet Service system to avoid 'user not found' errors.
  • Verify that the API key credential is valid and has the necessary permissions to access user data.
  • If optional fields like tags, connected accounts, or passports are not appearing, check that the corresponding boolean input properties are set to true.
  • Handle API rate limits or network issues that might cause request failures by enabling 'Continue On Fail' to process other items.

Links

Discussion