CM's Events API enables you to enrich your profiles within the CDP environment. You can integrate this in your application by communicating with our API.
The Events API is a REST API that uses JSON to communicate.
Your account has a tenant Id, which you need to submit events. You can find it 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 enviroment 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.
We have an open source .NET standard library available @ https://github.com/cmdotcom/cdp-events-sdk-dotnet 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:
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.