Need to send content out from Hubb - website, mobile apps, and more? No problem! We got an API for that.
Check out the following article to get you up and running!
Note: The following instructions require you to have credentials. To acquire the necessary credentials, please see this article .
Getting Your Authorization Token:
Use this as the POST request:
In the header of the request, make sure you have:
In the body of the request, use the credentials that were given to you (replace the part in red):
This request will return something like this:
The "access_token" in is what you will need in all of your future requests.
Here's a link to all the endpoints we offer: http://ngapi.hubb.me/swagger/ui/index
Let's run through an example request so you get the gist of it.
Using the Sessions endpoint:
Make a GET request:
Replace the event ID with the four-digit event ID you were given by your Customer Success Manager.
In the header, include:
Authorization: bearer [access_token]
Replace the part in red above with the actual access token you received in the first step.
Including the access_token in your request will authenticate you and return the data.
Huzzah! You're all ready to start getting that data!