Downloading API Keys

LeagueApps connects with an endless amount of apps and online services. Our APIs are used for Integration Center integrations, custom integration projects, and it powers Zapier Integrations and pre-built add-ons for your LeagueApps site.

LeagueApps Admins (with permission levels of Org Account Owner, Org Account Admin, Site Admin, Site Director, and Site Manager) can now generate API Access for a LeagueApps site, directly from the Admin Console.

• Generate a Public API Key to access public data or use Zapier.
• Generate a Private API Key to access admin level data. 
• Read more about our Public and Private APIs.

Note: You must have a LeagueApps account to generate a Private or Public API Key. If you're not a LeagueApps partner but want to integrate with LeagueApps, contact our team to set up a conversation.

 

Video Tutorial

Please view the video below to learn how to download API Keys.

Note: No individual outside of your organization will be able to access these API Keys.

 

Generate a Public API Key

  1. Login to LeagueApps. Within the LeagueApps Admin Dashboard, go to the Top Menu > Connect > API SettingsScreen_Shot_2021-10-27_at_11.32.11_AM.png

     

  2. Enter a name for the API key, then select "Generate Public API Key"Screen_Shot_2021-10-27_at_11.32.29_AM.png

  3. A pop-up will emerge. Select "Generate"Untitled__68_.png

  4. The API key will be added to the table. The key is also known as the client IDScreen_Shot_2021-10-27_at_11.32.58_AM.png

NOTE: This API key can be used to access information across the site. However, if your organization has multiple sites, you will need to generate a new API key on each site.

TIP: If you’ve already created a Private API Key for the Private API, you can use the Client ID provided by that step as the Public API Key for the Public API.


 

Generate a Private API Key

Please note that the Private API Key used to be referred to as a Service Account.

Follow these steps to generate access to the Private API:

  1. Login to LeagueApps. Within the LeagueApps Admin Dashboard, go to the Top Menu > Connect > API Settings.Untitled__69_.png

  2. Enter a name for the API Key, then select "Generate Private API Key"Screen_Shot_2021-10-27_at_11.41.22_AM.png

  3. A pop-up will emerge. Select "Generate" and a a PKCS12 file with a filename of <client-id>.p12 will download to your computer. "X" out of the window to close it.Untitled__70_.png

  4. The Private API Key will be added to the table. The key is also known as the client IDUntitled__71_.png

NOTE: This Private API Key can be used to access information across the site. However, if your organization has multiple sites, you will need to generate a new service account on each site.

TIP: If you'd also like to access Public API endpoints, you can use the key provided by that service account the Public API Key for the Public API.

Optional steps (to convert to PEM):

  • The p12 file (also known as PKCS12) has a default password of notasecret
  • Depending on your programming language, the p12 file may need to be converted to the PEM or other format. On MacOS or Linux, run the following from the command line within the folder that the p12 file is saved: openssl pkcs12 -nodes -in <client-id>.p12 -out <client-id>.pem
  • Depending on security requirements, the PKCS12 default password should be changed using openssl or another tool that can modify PKCS12 files.

 

How do I get my LeagueApps Site ID #?

  1. Login to your LeagueApps Admin Console
  1. The URL will look like this: *https://manager.leagueapps.com/console/sites/00000*
  1. Copy the numbers after "sites/####”https://support.leagueapps.com/hc/article_attachments/360100290833/Screen_Shot_2020-11-20_at_3.23.52_PM.png

More questions about our API? Visit our documentation or contact our Connect Team.

Was this article helpful?
0 out of 0 found this helpful