Get Multiple Recommendations Copy
This feature is available in accounts with Amplitude Recommend.
Retrieves multiple recommendations for a user.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
user_id | number | Required unless device_id is set. String. The user ID to be queried. | |
get_recs | boolean | Optional. Boolean. Returns a recommendation result for the user. Defaults to false. | |
rec_id | string | Required if get_recs is true . String. Recommendations to be retrieved. Fetch more recommendations by separating multiple rec_id with commas. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null |
RESPONSES
status: OK
{"userData":{"recommendations":null,"user_id":"12345","amp_props":{"computed-prop-2":"3"},"propensity":83}}