How to use Subcriptions : Insert of Youtube API?

I have read several topics about how to use the API, including the topic of Youtube Api which is used to display video lists, but that did not make me successful.

this is the API that I want to use


Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json

“snippet”: {
“resourceId”: {
“kind”: “youtube#channel”,
“channelId”: “UC_x5XG1OV2P6uZZ5FSM9Ttw”

Source : Subscriptions: insert  |  YouTube Data API  |  Google Developers

What is wrong with my block?


Help me !!!

Check if it works with token from Firebase Authentication Component

I did not find information about that.
YouTube API requires an access token, but on the Google Auth component I write the variable “token id” I don’t know whether they are the same.

Just check
and reply if it works or not

This results from the variable “ID Token” Google Auth component

it doesn’t work because “google auth” requires 3 scopes that it doesn’t have in the firebase auth.