This article gives instructions on how to create API users and apply API tokens in Postman.
API stands for Application Programming Interface and is a connection between computers or between computer programs.
In contrast to a UI (user interface), which connects a computer to a person, an API connects computers or pieces of software to each other.
WARNING: An API token allows access to domain code. APIs are not intended to be used directly by individuals (end users). Only a programmer or developer should use APIs, when they need to implement the Acquia Optimize API on in other applications or CMS systems, for example.
Always verify the user identity and role before sending out an API token to an individual.
Acquia Optimize supports API use. The API can be based on the customer location, and so we have 3 APIs.
See the Acquia Optimize for Developers article for the most updated information about API user setup:
To use the Acquia Optimize API, your application has to present user credentials (the token) in an authentication software program (such as postman). The API user account can only be used for API access. It is recommended to create a new user account specifically for this purpose and assign the API user scope to it via the free-text field.
The responsibility/troubleshooting for making API calls lies solely with the customer. Acquia Optimize cannot assist or troubleshoot beyond the topics in this article.
Acquia Optimize is unable to support or troubleshoot API calls. This function is solely a customer responsibility.
An API token allows access to domain code. APIs are not intended to be used directly by individuals (end users). Only a programmer or developer should use APIs, when they need to implement the Acquia Optimize API on in other applications or CMS systems, for example.
See the Acquia Optimize for Developers article for the most updated information about API user setup:
This capability is not yet available to all customers, please contact support if you would like to implement API Users for your website.
This section gives instructions on how to add an API user account. Only users that are assigned Admin status can access and create API users.
Click Admin Settings (the gear icon) on the top menu bar. The Admin Settings page opens.
The Domain Settings page opens.
Click API Users from the menu on the left side of the page.
The API Users page opens.
The page is a chart that shows your current API users with their scope.
Click Add API User, on the upper right side of the page.
The API User page opens.
User Type: Tick the box to select the user type. In most cases, Customer is sufficient. See below for the differences in API user types.
Only users with Admin permissions can access and create API users. Other users must request the API token from an admin.
For more information, see the user guide article:
CMS: Receives the CMS user type via the API. CMS permissions are restricted to:
CMS users must contact a site admin in order to receive the API token.
For more information about how to set up a CMS for the Acquia Optimize scan, see the article in Acquia Optimize for Developers:
Customer: Receives the Customer permission via the API. Customer tokens cannot be used to edit the account, they can only be used to edit on the module level.
Customer users must contact a site admin and request the API token.
For more information, see the user guide articles:
The responsibility/troubleshooting for making API calls lies solely with the customer. Acquia Optimize support cannot assist or troubleshoot external applications.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Wed Oct 23 2024 18:19:26 GMT+0000 (Coordinated Universal Time)