API Keys and Auth

Getting your API key + User ID

Before you get started, you'll want to generate an API key and grab your User ID. To get those, log into your Hive account, go to the main menu in the top right, select "My profile" and then click on the "API info" tab. From there, generate a key for use throughout the API.

2562

Location of the API information menu

2648

API information tab

Minimum Required Parameters

All requests require a user id in the URL query string parameters and an API key passed in a request header. The user id parameter is written as "user_id", and the API key is passed in a header called "api_key". You can go ahead and test your credentials by hitting the endpoint below with your generated API key and user id:

curl -X GET -H "api_key: API_KEY" "https://app.hive.com/api/v1/testcredentials?user_id=USER_ID"

You should get a User authenticated success message. Great job!