Question3Replies60Views TariniDash Member since 2011 25 posts Cognizant Technology Solutions India Ltd. Posted: 8 months agoLast activity: 8 months 2 weeks ago Custom authentication header for Pega APIHi, According to compliance with TPA we need a token in the header always . By using Pega API is there a way to pass a custom header in each request ? The idea is disable the basic authentication and use this token in header to authenticate. Pega Platform 8.3.1 Low-Code App Development Dev/Designer Studio Financial Services Lead System Architect ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 8 months agoPraneethPurighalla PEGA replied to TariniDashYes, you can configure 'api' service package to use custom authentication and write your logic in the authentication activity. Posted: 8 months agoTariniDash Cognizant Technology Solutions India Ltd. replied to TariniDashService package is ok to change the authentication type but how the service rule will accept the new header. It is a final rule . Posted: 8 months agoPraneethPurighalla PEGA replied to TariniDashYou need the token (header) only for authentication, correct? Why does the service rule require the header? The headers can be retrieved in the authentication activity from HTTPServletRequest object.