I was following a reply at Getting user IDs? and I couldn’t get the API to retrieve my Bot’s Channel ID. I decided to check the Developer Wiki and came across a Curl command for Linux. I have Windows so I decided to install it as a subsystem. Almost an hour had passed trying to install it, finally did, typed out the command, got at 401 error telling me "Must provide a valid Client-ID or OAuth Token. I honestly thought that the Bearer token was where I put my Client-ID, so I authorized with that, nothing.
You don’t need to install Linux or anything like that. API requests are just HTTP requests, they can be done from pretty much anything with an internet connection, or any operating system, in almost any programming language.
The Getting Started guide to the API explains how to send your client id as a header when making requests: https://dev.twitch.tv/docs/api
That being said though, why do you even need to be verified? Bot verification is only for accounts that have a specific need to have increased rate limits, personal bots are unlikely to be given verified/known bot status as the default limits are perfectly reasonable for bots on a small number of channels. If by Verified you mean so you can get the verified check mark next to the bots name, you wont be given that.
I’ve tried doing it on my browser with my bot’s username as the login parameter, but it still returns with a 401 and the same message. I thought using Linux would be better since I could use that Curl command.
As for why I need it verified, it’s so my bot can send whispers. The Bot I’m using, PhantomBot, has the option on the dashboard to sent all default command responses in a whisper, so, in turn, people can link their Discord with a code that is private, not open to the public with the chance to be used by someone else.
I’ve tried Postman, but it returned with a 401 as with the previous ways. And I didn’t know I could use an OAuth token as the authorization header, I thought it was the client ID that went there. As for trying it yourself, the bot’s username is NNJBot, if you really want to try. PhantomBot only needs an OAuth token for the channel you want the bot on from the PhantomBot website, and a token from twitchapps.com/tmi/ for the bot to connect. It does not need or supply any other information.