EventDay / Infusionsoft.net

A C# Wrapper around the Infusionsoft.com API
15 stars 22 forks source link

Question: What is the "application" value expected? #50

Open hfloyd opened 7 years ago

hfloyd commented 7 years ago

The code sample includes this:

const string application = "YOUR APPLICATION NAME";

In the Infusionsoft Developer Portal (https://keys.developer.infusionsoft.com/apps/mykeys), under "My API Keys" I see "Application" - which I had created when I requested the key. However, if I use this text string as the "application", I get an error about it not being a valid URI. So, I attempted to instead use the Infusionsoft Account portal url (ex: xx999.infusionsoft.com), but then I get the error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

So, what URL is expected by the api here? Thanks

hfloyd commented 7 years ago

Okay, so I think I've figured this out (for anyone else who might not know what to use here)

The "application" url is: xx999.infusionsoft.com:443/api/xmlrpc/v1

And the API key is not one from the developer section, but rather from the Account Portal (Admin > Settings > Application Settings : Application)