Check if user is a affilate partner to twitch


is there a way to use the API as a method to sign up for a wordpress website and at the same time it is checked if the twitch user is a affilate partner?

I want to create a sign up form and you check up with twitch, but if are not a affilate partner you can’t sign up…

Greetz and thanks

You can use the Get Users endpoint with their Access Token you get from their logging in to your site and the response will contain a broadcaster_type field which will indicate if they are a partner, affiliate, or neither.

Thank i will try. If i don’t get it can i write you a message?