Accessing the API is done through the PluginLogin mutation, and requires a clientID and clientSecret unique to each one of your Plugins. clientID and clientSecret.
Create a Plugin
- In your HappyCo sandbox (https://manage.happyco.com)
- Click the cog in the top right to open Settings
- Select Admin Center in the left hand menu
- Select Plugins
- Click + Add Plugin and enter basic details (editable later)
- We recommend having at least one “production” Plugin (moves from
Draft to Listed when ready to go live in marketplace) and one “dev” Plugin (kept in Draft permanently for testing) per application
Generate API Credentials
- Select your Plugin created in the previous step
- Click the three dots in the top right and choose Generate Plugin Credentials
- This creates your Plugin’s unique Client ID and Client Secret needed to run the PluginLogin mutation for authenticating with the HappyCo API