The HappyCo External API is a GraphQL API, allowing you to make deeply-nested or shallow queries to get as much or as little data as you need for any scenario.
The endpoint for all API calls is https://externalgraph.happyco.com
You can explore the API schema and practice making queries using the API explorer.
**Here is a short video** to show you around the API explorer with some tips on how to use it efficiently. And here is a shorter video showing a more surgical strike at how to get the graph to show you the location of an inspection.
To log into the API as a plugin partner you must have a plugin ID and client secret, which are unique to each one of your Plugins (Follow these instructions to generate your credentials if you haven’t done so already)
To log in as a customer you must have user credentials to log into HappyCo’s web application. The same credentials will work for your API login.
There are two ways to sign into the API — as a customer, or as a plugin partner. Each kind of client has some API calls that the other can’t make, but most API calls are available to both. The main difference is how you log in and which data are available to you.