SchoolsBuddy API Authentication: Creating an Auth Client
This guide explains how to generate a Client ID and Client Secret within SchoolsBuddy. These credentials are required to authenticate third-party integrations and custom scripts via the SchoolsBuddy P
Step 1: Accessing the API Manager
Log in to your SchoolsBuddy administrative portal.
Click on the Settings (cog icon) in the top right-hand navigation bar.
In the left-hand sidebar menu, under Main Settings, select API Manager.

Step 2: Creating a New Client
Once in the API Manager, click the button to initiate a new client creation. A modal titled "Create new client" will appear:
Client ID & Secret: Click the Refresh/Rotate icons next to the Client Id and Client Secret fields to generate unique identifiers for this integration.
Client Name: Enter a descriptive name (e.g., "Demo API Token" or "Data Sync Integration") to help you identify the purpose of this client later.
Description: (Optional) Add internal notes regarding who requested the token or what system it is connecting to.
Allowed Scopes: Select the specific permissions this client should have. For example:
Contacts: Read or Write access to contact data.
Events: Read access to school events.
Click + Create Client.

Step 3: Saving Your Credentials
After clicking create, a confirmation screen will appear displaying your active credentials.
Important Security Warning: This is the only time you will be able to view the Client Secret. Make sure to copy it and store it in a secure location (such as a password manager) immediately.
Use the Copy buttons next to the Client Id and Client Secret.
Once you have securely saved both strings, click Done

Troubleshooting & Security
Secret Visibility: If you lose your Client Secret, you cannot retrieve it. you will need to delete the existing client in the API Manager and create a new one.
Scopes: Always follow the Principle of Least Privilege - only select the minimum scopes required for your integration to function.
Deactivation: If you believe a Client Secret has been compromised, navigate back to the API Manager to revoke or delete the client immediately.
Last updated