Introduction

CM.com's Events API enables you to enrich your profiles within the Customer Data Platform (CDP) environment. You can integrate this in your application by communicating with our API.

The CDP Events API is a REST API that uses JSON to communicate.

Authentication

Your account has a tenant Id, which you need to submit events. You can find the tenant Id in the settings page in your CDP environment.

A product token is a tenant specific token that allows you to authorize an application within the CDP environment. The settings page in your CDP environment allows you to view and create new product tokens.

For most methods described in this API, the product token should be provided by including it in the X-CM-PRODUCTTOKEN header.

Getting started

We have an open source .NET standard library available (link) that enables you to use the API directly from a .NET application. You can install it from NuGet using the following command in NuGet Package Manager Console:

Install-Package CM.Cdp.Events.Sdk

Or search for CM.Cdp.Events.Sdk in the NuGet Pacakage Manager.

This is the easiest way to send your first event, but if you are using another programming language or platform, sending a POST command with a JSON body should be self explanatory.


What’s Next