Jump to content
Sign in to follow this  

Is AppKey always needed to Log-In ?

Recommended Posts


I have a demo account on Forex.com. I am doing POST request to Login API call with request body: 

request_body = {
    "UserName": self.username,
    "Password": self.password,
    "AppVersion": "1",
    "AppComments": "",
    "AppKey": self.app_key

Here even if I do not provide any AppKey, or if I give AppKey = blank string "", still this request works and I get the Session Id in response.

I would like to know, when do we need the AppKey then?


Share this post

Link to post

Hi Amruta,

The AppKey should be provided during Login as we will soon be making it a mandatory requirement in the Login call - although as you have noted it is not mandatory currently.  

Kind Regards, PM

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this