When successful, returns:
{
"predictions": [
{
"timestamp": "2025-01-01 01:00:00",
"prediction": 0.01
},
{
"timestamp": "2025-01-01 02:00:00",
"prediction": 0.05
},
...
],
"best_prediction": {
"timestamp": "2025-01-01 05:00:00",
"prediction": 12,34
}
}curl --location --request POST 'https://api.mpc.dev.placewise.com/v2/ml/sending/recommend_time' \
--header 'X-User-Agent: ApiDog' \
--header 'X-Product-Name: default' \
--header 'X-Loyalty-Club-Slug: infinity-mall' \
--header 'X-Customer: 447' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel": "sms",
"kpi": "open_rate",
"sending_date": "2024-04-20",
"sending_hour": 16,
"text": "Canis acervus maxime trepide conculco strues. Calco placeat ipsam tibi."
}'{
"predictions": [
{
"timestamp": "2022-11-09T16:25:58.099512Z",
"prediction": 0
}
],
"best_prediction": {
"timestamp": "2022-11-09T16:25:58.099512Z",
"prediction": 0
}
}