Authentication
Last updated
Last updated
The Liquid Modules methods use API keys to authenticate requests. You can request your keys from your Partnerships liaison.
Development mode secret keys have the prefix dev_
and Production ready secret keys have the prefix prod_
.
Once you create a new instance of the LiquidModules()
library it will generate an access token that then automatically attaches to each request, the access token has a 1 hour expiry that continues to refresh on each call. If an hour has passed without using the token, you must authenticate again to fetch a fresh access token.
All API requests in production must be made over . Calls made over plain HTTP will fail. API requests without authentication will also fail.