Using the New API and getting Invalid OAuth token

I understand. I confuse with examples.
Actually, i need this:

curl -X POST “https://id.twitch.tv/oauth2/token?client_id=MY_ID&client_secret=MY_SECRET&grant_type=client_credentials
curl -X GET https://api.twitch.tv/helix/search/channels?query=l1zzka -H “Authorization: Bearer TOKEN” -H “Client-Id: MY_ID”