Hi @Kedar Kekan ,
Before calling this API for fetching channel messages you must request access. For details, see Protected APIs in Microsoft Teams.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.