Conversation History API Invalid SDK Credentials

Hi,
Conversation history is working fine and giving proper response on bots.kore.ai environment but when i change the host url to intranet url, the reponse is 401 (Invalid SDK credentials)

Please help me on this.