Edit

Share via


Manage Customer Insights - Data APIs

Note

Customer Insights - Data tables can also be accessed using Dataverse APIs. We recommend you use Dataverse APIs to query Customer Insights data as they offer more extensive filtering, greater throughput, and lower latency. For more information, see Dataverse APIs for Customer Insights.

Set up the keys to use the Dynamics 365 Customer Insights - Data APIs and view the API usage.

Manage API keys

View and manage the keys to use the Customer Insights - Data APIs with the data in your environment.

  1. Go to Settings > Permissions and select the APIs tab.

  2. If API access to the environment hasn't been set up, select Enable. Or, to block API access to the environment, select Disable, and confirm.

  3. Manage the primary and secondary API keys:

    1. To show the primary or secondary API key, select the Show symbol.

    2. To copy the primary or secondary API key, select the Copy symbol.

    3. To create new primary or secondary API keys, select Regenerate primary or Regenerate secondary.

View API usage

View details about the real-time Customer Insights - Data API usage and see which events happened in a given time frame.

  1. Go to Settings > System and select the API usage tab.

  2. Select a time frame to view.

    The API usage page contains three sections:

    • API calls - a chart that visualizes the aggregated number of calls to the API in the selected time frame.
    • Data transfer - a chart that shows the amount of data that was transferred through the API in the selected time frame.
    • Operations - a table with rows for each available API operation and details about the usage of the operations. Select an operation name to go to the API reference.