For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Once you have your Client ID and Secret, see Authenticating by Region for which Identity and Public API servers to call.

Step 1: Accessing the API Manager

  1. Log in to your SchoolsBuddy administrative portal.

  2. Click on the Settings (cog icon) in the top right-hand navigation bar.

  3. 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:

  1. Client ID & Secret: Click the Refresh/Rotate icons next to the Client Id and Client Secret fields to generate unique identifiers for this integration.

  2. 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.

  3. Description: (Optional) Add internal notes regarding who requested the token or what system it is connecting to.

  4. 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.

  5. 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.

  1. Use the Copy buttons next to the Client Id and Client Secret.

  2. 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