hello, i created the custom reward by the api:
import requests
headers = {
'Client-Id': 'vdevjpxyrzii52pqjuomsvomixeazr',
'Authorization': 'Bearer %s' % session.access_token,
'Content-Type': 'application/json;'
}
payload = {
'title' : 'teste api aureo',
'cost' : 100
}
url = 'https://api.twitch.tv/helix/channel_points/custom_rewards?broadcaster_id=168327867'
r = requests.post(url,headers=headers,params=payload)
and the error is the same when i try to get the redemptions, i think:
{"error":"Unauthorized","status":401,"message":"incorrect user authorization"}