--- title: Authenticating CPQ API calls description: Secure CPQ API calls with admin API keys, JWT tokens, session cookies, or Google IdP for runtime and Admin tasks. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/order-management/cpq-authenticating-api-calls.html release: australia topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [API overview and resources, CPQ Configurator, Configure, price, quote apps, Configure, Sales Customer Relationship Management] --- # Authenticating CPQ API calls Secure CPQ API calls with admin API keys, JWT tokens, session cookies, or Google IdP for runtime and Admin tasks. ## Authenticating runtime API calls When using CPQ in a headless manner, you authenticate your configuration session by using a runtime client. To create a runtime client, navigate to the CPQ Admin UI, click **Utilities** in the sidebar, and then click **Runtime Clients**. From here, specify the origin of your call, whether it is an external URL or an origin specified in the header of your call. You can also give your client an expiration date. After you save your client, you can copy the token and use it as the bearer token in other runtime API calls. \[Omitted image "cpq-menu-runtime-clients.png"\] Alt text: Menu \[Omitted image "cpq-edit-runtime-client-dialog.png"\] Alt text: Edit Run time client For more information on CPQ runtime calls, see [Intro to runtime API calls](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/order-management/intro_to_runtime_api_calls.md). ## Authenticating admin API calls There are four ways to authenticate your admin API calls: - Admin API keys Admin API keys are the recommended way of authenticating admin API calls. For information about setting up admin API Keys, see: [CPQ: admin API Keys](https://logikio.atlassian.net/wiki/spaces/CS/pages/1615331503). - JWT token To ensure tighter security for long-term admin API authentication, we leverage the Salesforce JWT web token. For steps to initialize this access flow, see: [Admin APIs: Authentication using a Salesforce-connected app](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/order-management/admin-apis-authentication-via-salesforce-connected-app.md) - Session cookies To authenticate a short term admin session, you can leverage your browser’s session cookie. Navigate to the cookies in your browser’s console, and take the session cookie. Enter the cookie in your request header as a keyed pair: `"Cookie”:”SESSION="` \[Omitted image "cpq-matrix-loader-select-cookie.png"\] Alt text: Session cookie in Google Chrome browser - Google IdP If you are not connected to a Salesforce environment and choose not to use admin API keys, you can use Google IdP to authenticate. If you do not use Google IdP, open a support case to discuss options for admin API authentication. **Note:** Create a support case by using the [ServiceNow Support portal](https://support.servicenow.com). For step-by-step instructions, see [Create a case on Now Support for CPQ Customers](https://support.servicenow.com/kb?sys_kb_id=d67d3e71475d7a90f64de825126d4326&id=kb_article_view).