Magidoc

🚀 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:

  1. Log in to your Hive account.
  2. Navigate to the main menu in the top right corner.
  3. Select "Edit Profile".
  4. Click on the "API Info" tab.
  5. 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.