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.
POST https://auth.mapp.com/oauth2/token
Authorization: Basic <authentication>
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentialsHere, <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:
curl -X POST "https://auth.mapp.com/oauth2/token" \
-u "<client-id>:<client-secret>" \
-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
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.
Authorization: Bearer <access-token>Example request
curl -X GET \
"https://api.mapp.com/api/product-catalog/v1/catalogs/{catalogId}/variants?variantId={variantId}" \
-H "Authorization: Bearer <access-token>"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.