Gitlab api calls failing if the private token is present in headers along with oauth token

Is there a way to differentiate between oAuth tokens and private/personal access tokens. My request is like that I need to send both tokens in the headers, or know a way how to differentiate between oAuth tokens and private/personal access tokens.