404 response of api

Yes

For “regular” User Tokens: (response_type = code)

  • Create a web page that has a <a href link with the needed scopes
  • Send the user you need a token for to that page
  • User clicks the link
  • User goes to twitch and acepts (or declines) the link between their Twitch account and yoru ClientID
  • User comes back to your site with a ?code in the query string parameters
  • Your site exchange the ?code for an access and refresh token.