---
schema_version: "1"
id: eb0b091e4bcb472a9d288c5640c09cb85f92d4aa2266bb7264ed2c544173201c
title: API Access for Territory Planning
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/territory_planning_api_access.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.territory_planning_api_access.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fa4f2b87db72a7ed78c600939bbdcd3ae316e2ae639564a1ae48419c4ddae9b4
description: Territory Planning relies on Salesforce API endpoints under /services/ and access to these endpoints typically requires that you turn on API access for users. To help you determine how to grant API access, review the Web Services APIs that Territory Planning depends on.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# API Access for Territory Planning

Territory Planning relies on Salesforce API endpoints under /services/ and access to these endpoints typically requires that you turn on API access for users. To help you determine how to grant API access, review the Web Services APIs that Territory Planning depends on.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with <a href="https://help.salesforce.com/s/articleView?id=sales.territory_planning_api_access.htm&amp;type=5&amp;language=en_US" target="_blank">Web Services API enabled</a></td></tr></tbody></table>

## Options for Granting API Access

In each Territory Planning user’s profile or permission set, we recommend that you turn on the API Enabled system permission. See [Supported Editions and Required Permissions](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_rest_compatible_editions.htm) in the REST API Developer Guide.

If your environment restricts users from accessing Salesforce APIs with API Access Control settings, also turn on the **Allow Visualforce pages to access APIs** option. See [Restrict Access to APIs with Connected Apps](https://help.salesforce.com/s/articleView?id=xcloud.security_api_access_control_all_users.htm&type=5&language=en_US).

## Required APIs

Granting API access makes sure that these resources are available for Territory Planning users.

- Salesforce REST API and Tooling API for retrieving records, configuration metadata, and approval workflows.
- CRM Analytics REST API for creating and retrieving CRM Analytics datasets used with Territory Planning.
- Reports and Dashboards REST API for retrieving Salesforce reports used with Territory Planning.
- Analytics External Data API for importing .csv files to CRM Analytics datasets.
- Apex REST endpoints for accessing Sales Planning managed package resources required for Territory Planning.
- Connect REST API for generative AI prompts.
- OAuth endpoints for authorizing access and redirecting users.

#### See Also

- [Which API Do I Use?](https://help.salesforce.com/s/articleView?id=platform.integrate_what_is_api.htm&type=5&language=en_US)
- [_Salesforce Developers_: REST API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_rest.htm)
- [_Salesforce Developers_: Tooling API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/intro_api_tooling.htm)
- [_Salesforce Developers_: CRM Analytics REST API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_rest.meta/bi_dev_guide_rest/bi_rest_overview.htm)
- [_Salesforce Developers_: Salesforce Reports and Dashboards REST API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.api_analytics.meta/api_analytics/sforce_analytics_rest_api_intro.htm)
- [_Salesforce Developers_: Analytics External Data API Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.bi_dev_guide_ext_data.meta/bi_dev_guide_ext_data/bi_ext_data_overview.htm)
- [OAuth Endpoints](https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_endpoints.htm&type=5&language=en_US)