If the YouTube channel uses a custom URL (like https://www.youtube.com/c/ChannelName or https://www.youtube.com/user/ChannelName), follow these steps to find the channel ID:
UC. It typically appears in a line like: "externalId":"UCXXXXXXXXXXXXXXXXXXXXXXXXX"."externalId": is the channel ID.