Access the API from an external system
In this topic, you learn how to access the API from an external system. After downloading the API, you need to enable authentication and authorizations between the two systems. Authorization is executed using a JWT token.
Prerequisites
-
You have downloaded an API from the store.
Procedure
-
Add a new user with the following details:
-
Assign the role ACL.
-
In the API Token tab, toggle the Enable button to On and select Generate token.
-
Copy the generated JWT token and select Save.
-
-
Create a new authentication method.
-
In the Headers tab, select Add.
-
Enter a meaningful name.
-
In Value, write
Bearer
followed by your generated JWT token.
-
-
Open the API in the API Designer and go to the Authentication tab.
-
Select Add.
Result: The Proxy Authentication dialog opens.
-
Select the Role and Proxy Authentication you just created.