Config
Learn how to configure API Credential.
Overview
GraphQL Single-Dimensional Credential allows you to fetch user data via GraphQL APIs and validate user eligibility based on a single condition. It is suitable for simple use cases such as whitelist checks or balance validations.
Config process
1. Basic Config
- ID Type
ID Type
provides various identity options, including social accounts, blockchain addresses, and other unique identifiers.
- Title
Give your credential an enticing title.
- Credential Source
Choose API
type
- Description:
Description of the certificate, supports rich text input, maximum 200 characters.
- Call-to-Action Link:
Guide users to specific operation pages to complete interactive tasks.
- Participation End Time(Optional):
Control the time range of the credential, prohibiting new validations after the deadline.
- Update Frequency (Optional):
Remind users of the frequency of API data source updates, such as once a day or once every two days.
2. API Update
Use the Galxe GraphQL API to push data to the credential.
- GraphQL Example:
- Code Examples: