Login - client ip , local ip , mac address


  • Hi

    I am writing a script for multiple users using a single web app by logging in with their client id , password , api key and otp. Therefore the workflow should be dynamic. I am struggling with the understanding of why public and local ip and mac address is required? and if its okay to have a same ips for all?

    If not,

    • Is there a way where I can provide generic / Dynamic parameters values? (Client local ip, public ip and mac address)

    • Or is there any provision that If in case I remove these parameters the api request will still be successful?

    The parameters used are in the below header
    API Doc link - LINK

    Tech Stack - Google Apps Script , Javascript
    headers : {
    'Content-Type': 'application/json',
    'Accept': 'application/json',
    'X-UserType': 'USER',
    'X-SourceID': 'WEB',
    'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
    'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
    'X-MACAddress': 'MAC_ADDRESS',
    'X-PrivateKey': 'API_KEY'
    }

    @admin @admin123 @adminatkremlin @admintrav @administrators kindly help
    Any help or leads are appreciated