--- title: "Authentication" slug: "product-catalog-api-authentification" description: "Authentication (Product Catalog): Authenticate with the Mapp Product Catalog API: create a Client ID and Secret, request an access token from auth.mapp.com and " status: "update" updated: 2026-11-20T09:00:45Z published: 2026-11-20T09:00:45Z canonical: "docs.mapp.com/product-catalog-api-authentification" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Authentication The Product Catalog API uses OAuth-based authentication. To access the API, you need an API Client ID and Client Secret. These credentials are used to request an access token. The access token must then be included in Product Catalog API requests. --- ## Enable API access API access must be enabled for your account before you can use the Product Catalog API. If API access is not available for your account, contact your Customer Success Manager. --- ## Create API credentials Create an API Client ID and Client Secret in Mapp Intelligence under *Settings > Mapp Cloud > API Client IDs*. You can create multiple API clients if different integrations require separate credentials. Depending on your account configuration, you may be able to: - Create multiple API Client IDs. - Add a description for an API Client. - Define token validity settings. - Deactivate API credentials temporarily. - Delete API credentials permanently. Store your Client Secret securely. Do not expose credentials in frontend applications, browser code, public repositories, or logs. --- ## Request an access token Request an access token from the token endpoint using the Client Credentials flow. Authenticate with HTTP Basic Auth: set the `Authorization` header to `Basic` followed by the Base64 encoding of `client-id:client-secret`. The request body contains only the grant type. ```http POST https://auth.mapp.com/oauth2/token Authorization: Basic Content-Type: application/x-www-form-urlencoded grant_type=client_credentials ``` Here, `<authentication>` is the Base64-encoded value of `client-id:client-secret`. The following example uses curl, which builds the Basic Auth header automatically from the credentials you pass: ```bash curl -X POST "https://auth.mapp.com/oauth2/token" \  -u ":" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d "grant_type=client_credentials" ``` The response returns the access token in the `access_token` field. The token remains valid until it expires or is revoked. > [!NOTE] > Note > > The token endpoint is the same for all Mapp Cloud APIs on `api.mapp.com`, including Mapp Engage, Mapp Intelligence, the Product Catalog and webhooks. --- ## Use the access token Include the access token in the `Authorization` header of every API request. ```bash Authorization: Bearer ``` --- ## Example request ```bash curl -X GET \ "https://api.mapp.com/api/product-catalog/v1/catalogs/{catalogId}/variants?variantId={variantId}" \ -H "Authorization: Bearer " ``` > [!NOTE] > Note > > Requests are routed based on the authenticated account associated with the access token. --- ## Token management Access tokens can expire or become invalid. Applications should be able to request a new token automatically when needed. Applications should not store access tokens permanently. --- ## Security recommendations - Store Client Secrets only in secure backend systems. - Do not share credentials between environments. - Rotate credentials regularly. - Remove unused API credentials. - Do not log access tokens. - Do not expose Client Secrets in client-side applications.