Config
Learn how to configure API Credential.
Overview
API credentials allow you to push user data to Galxe via the API, suitable for simple use cases such as whitelist checks.
Config process
1. Finding the Config in Task Settings
The option to configure API credential can be found in step 3, Task Settings of quest creation on the Galxe Dashboard, under the Import Your Own Data
task type.
2. Basic Config
- ID Type
ID Type
provides various identity options, including social accounts, blockchain addresses, and other unique identifiers. Choose the one appropriate to your task.
- Title
Give your credential a descriptive title relevant to the task at hand.
- Credential Source
Choose API
type
- Description:
Description of the task, supports rich text input, maximum 200 characters.
- Call-to-Action Link:
Guide users to the specific URL where they can complete the task.
- Participation End Time(Optional):
Control the time range of the credential, prohibiting new verifications 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.
3. API Update
Use the Galxe GraphQL API to push data to the credential.
- GraphQL Example:
- Code Examples:
Was this page helpful?