Authentication

An access token is necessary for making API calls to Liferay Analytics Cloud. Navigate to SettingsAPIs to generate an access token.

Choose the duration (e.g. 30 days, 6 months, 1 year, or indefinite) for when the access token expires. Click Generate Token.

Select an expiration date and click generate token.

The generated token is valid for the duration you selected. When the token expires, you must generate a new token to perform additional API calls.

A new token is generated.

To use the new token, click Copy (Copy) to copy the access token to your clipboard. Add this to your request authorization header on every API call. For example, you can set the request header with cURL like this:

curl -i -L -H "Authorization: Bearer {token}"

To delete the access token, click Revoke, and the token is removed.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy