curl --request POST \
--url https://api.sandbox.asapp.com/metadata-ingestion/v1/many-convo-metadata \
--header 'Content-Type: application/json' \
--header 'asapp-api-id: <api-key>' \
--header 'asapp-api-secret: <api-key>' \
--data '{
"items": [
{
"externalConversationId": "id-1389",
"eventId": "eventId-1388",
"lobId": "1038",
"lobName": "manufacturing",
"groupId": "group59",
"groupName": "groupXYZ",
"agentRoutingCode": "route-13988",
"campaign": "campaign-A",
"deviceType": "TABLET",
"platform": "IOS",
"companySegment": [
"Sales",
"Marketing"
],
"companySubdivision": "operating",
"businessRule": "Apply customer'\''s discount",
"entryType": "reactive",
"operatingSystem": "MAC_OS",
"browserType": "Safari",
"browserVersion": "14.1.2",
"attributes": [
{
"name": "attr1_name",
"value": "attr1_value"
},
{
"name": "attr2_name",
"value": "attr2_value"
}
]
},
{
"externlConversationId": "issue1390",
"eventId": "eventId-1268",
"lobId": "930",
"lobName": "retail",
"groupId": "store-93",
"groupName": "PlazaA",
"agentRoutingCode": "route-1983",
"campaign": "campaign-B",
"deviceType": "PHONE",
"platform": "ANDROID",
"companySegment": [
"SALES",
"FINANCE"
],
"companySubdivision": "operating",
"businessRule": "Apply customer'\''s discount",
"entryType": "proactive",
"operatingSystem": "ANDROID",
"browserType": "Chrome",
"browserVersion": "103.0.5060.128",
"attributes": [
{
"name": "attr1_name",
"value": "attr1_value"
},
{
"name": "attr2_name",
"value": "attr2_value"
}
]
}
]
}'