When getting service information, both configuration and connection settings are returned. Refer to the Custom Service Settings for specifying these settings.
GET /services?accountId=1
curl \
-X GET \
-H "Authorization: Bearer YWIxMjdi883GHBBDnjsdKAJQxNjdjYUUJABbg6hdI.8V6HhxW-" \
"https://api.mparticle.com/v1/services?accountId=1"
{
"data": [
{
"name": "ActionX",
"settings": [
{
"is_required": true,
"name": "advertiserToken",
"description": "The ActionX Advertiser Token for your app.",
"type": "String"
},
{
"is_required": false,
"name": "useCustomerId",
"description": "If enabled, mParticle will forward your Customer ID values to ActionX.",
"type": "Bool"
}
],
"data_type": "service"
}
],
"dataType": "service",
"errors": null
}
GET /services/Indicative?accountId=1
curl \
-X GET \
-H "Authorization: Bearer YWIxMjdi883GHBBDnjsdKAJQxNjdjYUUJABbg6hdI.8V6HhxW-" \
"https://api.mparticle.com/v1/services/Indicative?accountId=1"
{
"data": [
{
"name": "Indicative",
"settings": [
{
"is_required": true,
"name": "apiKey",
"description": "Your app's Indicative API Key. You can find this in the Indicative project settings.",
"type": "String"
},
{
"is_required": true,
"name": "userIdentification",
"description": "To identify users, choose \"Customer ID\" to send Customer ID if provided or or \"Email\" to send Email addresses if provided.",
"type": "String"
},
{
"is_required": false,
"name": "includeEmailAsUserProperty",
"description": "If true, a hashed Customer ID, when available, will be forwarded as User ID",
"type": "Bool"
}
],
"data_type": "service"
}
],
"dataType": "service",
"errors": null
}
Was this page helpful?