Get Custom Reward Redemptions "missing redemption status"
Declares that only broadcasterid and rewardid are required.
A call to
results in
{
"error": "Bad Request",
"status": 400,
"message": "missing redemption status"
}
The documentation lists status as not required

-
YorVeX commented
I also got an error when I specified only broadcaster_id and status=UNFULFILLED, because I wanted to query for any pending custom reward redemptions and trigger an action if there is at least one (basically just like having https://www.twitch.tv/popout/user/reward-queue open to watch out for new redemptions) but it seems that API endpoint wasn't made for this? I wonder what it was made for then, why would I only query for a single reward type out of 10?
The documentation doesn't say anything about being able to specify a list of rewards, I was just about to program separate queries for all 10 custom rewards I have currently configured when I read the comment. And now I wonder how I specify that list, separate the ID's by commas? Just repeat this parameter? Guess I will have to try.
Also I don't get the point of having a reward_id and id query parameter which only seem to differ in returning the results with or without pagination.
Either way, yes, please clarify the documentation.
-
aezo11 commented
Ah, we can clarify the documentation here.
The api requires one of:
"status" or a list of redemption ids to fetch.