API Authentication: Difference between revisions

From Golden Retriever Wiki

Created page with "In order to use the API you will need to generate an API Key from within the Admin Portal. Once logged into the Admin portal use the side menu to open the "My Profile" page. thumb|left Near the bottom of the page you will find a section where you can generate an API Key. Click on the "Generate API Key" button to generate a new API Key. thumb|left Once you have generated an API Key it will show up in the list. You wi..."
 
No edit summary
Line 1: Line 1:
In order to use the API you will need to generate an API Key from within the Admin Portal. Once logged into the Admin portal use the side menu to open the "My Profile" page.
In order to use the API you will need to generate an API Key from within the Admin Portal. Once logged into the Admin portal use the side menu to open the "My Profile" page.


[[File:API Menu.png|thumb|left]]
[[File:API Menu.png|thumb|center]]


Near the bottom of the page you will find a section where you can generate an API Key. Click on the "Generate API Key" button to generate a new API Key.
Near the bottom of the page you will find a section where you can generate an API Key. Click on the "Generate API Key" button to generate a new API Key.


[[File:Generate API KEY.png|thumb|left]]
[[File:Generate API KEY.png|thumb|center]]


Once you have generated an API Key it will show up in the list. You will also be able to delete the key.
Once you have generated an API Key it will show up in the list. You will also be able to delete the key.


[[File:Generated API Key.png|thumb|left]]
[[File:Generated API Key.png|thumb|center]]


When using any of the API endpoints you will be required to pass a valid API Key as a header in the following format:
When using any of the API endpoints you will be required to pass a valid API Key as a header in the following format:


<nowiki>authorization: CgHxb18BvJu4IMSnGDrNXsfWHJISjT227JJFB2gwVDrCrKc7koY3wARyK4BiBvR7</nowiki>
authorization: CgHxb18BvJu4IMSnGDrNXsfWHJISjT227JJFB2gwVDrCrKc7koY3wARyK4BiBvR7

Revision as of 15:56, 22 December 2023

In order to use the API you will need to generate an API Key from within the Admin Portal. Once logged into the Admin portal use the side menu to open the "My Profile" page.

Near the bottom of the page you will find a section where you can generate an API Key. Click on the "Generate API Key" button to generate a new API Key.

Once you have generated an API Key it will show up in the list. You will also be able to delete the key.

When using any of the API endpoints you will be required to pass a valid API Key as a header in the following format:

authorization: CgHxb18BvJu4IMSnGDrNXsfWHJISjT227JJFB2gwVDrCrKc7koY3wARyK4BiBvR7