Authentication is a crucial aspect of using the LogoKit APIs. It ensures that only authorized users can access the API endpoints, providing a secure environment for retrieving branding assets and information. This page outlines how authentication works for both the Logo API and Brand API, detailing the differences between the two.
pk_
and are safe to expose in client-side code. Here’s is an example:
Authorization
header of your request. This token is used to verify your identity and grant access to the API. Make sure to keep this secret API token secure and do not share it publicly. You can find yours in your account under Brand API Tokens. Brand API tokens are prefixed with sk_
and should be kept secret. Here is an example of how to include it in your request: