🚀 Getting Started with Hive API
Welcome to the Hive API! This guide will help you set up your API key and test your credentials against our GraphQL server.
🔑 Generating Your API Key and User ID
#
Before you can start using the API, you'll need an API key. Follow these steps to generate your API Key:
- Log in to your Hive account.
- Navigate to the main menu in the top right corner.
- Select "Edit Profile".
- Click on the "API Info" tab.
- Generate or copy your existing API key for use throughout the API.
🧪 Testing Your Credentials
#
With your API key in hand, you can verify your credentials by querying our GraphQL server.
Endpoint
#
GraphQL URL:
https://prod-gql.hive.com/graphql
Example Query
#
To test your credentials, use the getUser
query provided below. This query will return your userId
and email
.
Schema
#
Below is the schema for the getUser
query:
Testing with cURL
#
Here’s how you can test your credentials using cURL:
Expected Response
#
🎉 Congratulations!
#
If you received the expected response, you’ve successfully authenticated with the Hive API! You’re now ready to start building amazing integrations and automations with Hive.
getGoal