Recommendations API

Fetch the recommendations for a user

post

Fetch the recommendations for a user

Authorizations
Body
profileIdstringRequired

Unique identifier of the profile

Example: abcd-1234-abcd-1234
modelIdstringRequired

ID of the model you're using

Example: abcd-1234-abcd-1234
topNintegerRequired

Number of results to retrieve

Example: 10
Responses
200

Fetched recommendations successfully

No content

post
POST /recommendations HTTP/1.1
Host: product-api.userflux.co
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 306

{
  "profileId": "abcd-1234-abcd-1234",
  "modelId": "abcd-1234-abcd-1234",
  "filter": {
    "propertyFilters": [
      {
        "property": "category",
        "operator": "ALL",
        "conditions": [
          {
            "property": "startDate",
            "operator": "EQUALS",
            "valueType": "STRING",
            "value": "business"
          }
        ]
      }
    ],
    "geoFilter": {
      "type": "PROFILE_LOCATION",
      "distance": 25000
    }
  },
  "topN": 10
}

No content

Last updated