Create REST API Key

Follow

Our REST API has a wide range of functionality. However, each and every request requires you to authenticate using a REST API key.

This article aims to explain the basics behind creating that key.

 

Step 1

Log into LeadByte and click on Admin tab > Tech Hub > REST API

c47566fd-e39c-4629-b52d-7f71bc8622db.gif

 

Step 2

Next click on "Add new API Key" button and you'll be greeted with the below options

3f45fdf5-c2e3-4117-b7ca-a2e2206e3d8b.png

 

The Key type restricts the various options your key will have. An administrator key has ALL permissions available to it whereas Supplier and Buyer keys have permissions limited to what Suppliers and Buyers will need. It's also worth noting that a Supplier and Buyer key is linked to 1 specific Supplier/Buyer whereas an administrator key doesn't have this restriction.

Add your reference and leave the API version as 1.3 unless advised otherwise.

Finally, activate your key before use.

 

Step 3

Add the Permissions you want this key to handle by checking the relevant boxes

a3418ab6-082a-49a3-9eb7-cfd12a0bf8b7.png

 

Clicking a Permission will also expand developer instructions further down the page

3a93563e-569a-4167-bdaf-907094e7e1b2.gif

 

Step 4

Save changes and test!

 

The above is a VERY basic introduction into creating a REST API key. If you have any further questions or concerns, please don't hesitate to raise a support ticket.

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

Comments