• Using the API via the Webtrekk server 
    GET https://r.mateti.net/segments/v2/1234567891234/23232323?customerId=04ee2ab263eeb5f0ca1139d7110f


  • Using the API with your own tracking domain
    GET https:// {{OWN_TRACKING_DOMAIN}} /segments/v2/1234567891234/23232323?customerId=04ee2ab263eeb5f0ca1139d7110f


Headers

content-type: application/json


Response Syntax

{ 
    "user": <everID>, 
    "segments": {  
"<segment name>" : <true|false>
"<segment name>" : <true|false>
    },  
"categories": [
       { 
         "id": <urm category id> 
         "title": "<urm category title>" 
         "value": "<urm category value>" 
       }, 
       {  
"id": <urm category id>
        "title": "<urm category title>" 
        "value": "<urm category value>" 
       } 
   ] 
} 


Example Response
{     
"everId": "87235498273549765",
"segments": {
"men" : true,
"high frequency buyer" : false
},
"categories": [
{
"id": 1
"title": "URM Custom Profile Macro Status"
"value": "6"
},
{
"id": 2
"title": "URM RFM Status"
"value": "322"
},
     {  
"id": 3
"title": "URM Predicted conversion probability %"
"value": ""
}
            
]
}


Please note that some of the URM values are returned as numerical values. You can find the corresponding meaning of the numbers in the "Mapping Table for URM Status".