---
schema_version: "1"
id: ec7af180c262b233e0efcf1a4ad09617193ec9444fba586d5a8f215c55476b49
title: Generate API Tokens to Authorize Data Changes
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mc_pers_api_token_generate.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mc_pers_api_token_generate.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: deb66b5e7c9d27aa795c84532a52df8a2bf6568c1046b53f8ac2f5aa38248d1f
description: Authorize all data changes by creating a token for use in API calls. You generate the API token with the User Look-Up and Deletion API. This API exports individual user data to satisfy right of access requests.
products:
  - Marketing
  - Salesforce Personalization
release: "264"
---
# Generate API Tokens to Authorize Data Changes

Authorize all data changes by creating a token for use in API calls. You generate the API token with the User Look-Up and Deletion API. This API exports individual user data to satisfy right of access requests.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d31608e38">Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d31608e38 ">To create API tokens:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d31608e38 ">Administrator access</td>

          </tr>
        </tbody>
      </table>

1. Select the production dataset associated with the individual that you want to edit.
2. On the main navigation, select **Security** | **API Tokens**.
3. Click **Create Token**, and optionally add notes about the token.
4. Keep the default permissions.
    
    **Can access API** isn’t selected. **Can send events** is selected.
5. If you want to restrict access to specific datasets in your account, add them in Restrict to Specific Datasets. If you don’t restrict any datasets, the token applies to all current and future datasets in your account.
6. To limit which IP addresses can use the token, add them to the IP Accept List. The API rejects any requests that originate from addresses not on the accept list.
7. Click **OK**.
8. To access the token value, on the API Tokens screen, double-click the token. The value is in the **Editing API Token** field.
9. To use an API to retrieve and delete user data in Personalization, see [User Look-Up and Deletion API](https://developer.salesforce.com/docs/marketing/personalization/guide/user-look-up-deletion-api.html).