Rum Audience Management
Create connection
Create a new data connection and its fields for an entity
post/api/v2/product-analytics/{entity}/mapping/connection
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/product-analytics/{entity}/mapping/connection
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code: /oauth2/v1/authorizeToken URL: /oauth2/v1/token
Path parameters
entitystring required
Example:users
The entity for which to create the connection
Request body
Example request
{
"data": {
"attributes": {
"fields": [
{
"description": "Customer subscription tier from `CRM`",
"display_name": "Customer Tier",
"id": "customer_tier",
"source_name": "subscription_tier",
"type": "string"
},
{
"description": "Customer lifetime value in `USD`",
"display_name": "Lifetime Value",
"id": "lifetime_value",
"source_name": "ltv",
"type": "number"
}
],
"join_attribute": "user_email",
"join_type": "email",
"type": "ref_table"
},
"id": "crm-integration",
"type": "connection_id"
}
}Response
Connection created successfully
Changes
No recorded changes to this operation across all 1 revision of this API.