Hi @Rahul Verma
After searching, only the following methods are provided for accessing sensitive tags through the Graph API, this functionality is not currently available for access the permissions enforced by the "encrypt with template" label action, you can provide feedback here.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.