Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

How to make a call to the API with a C# private app? have the consumer and secret Key.. need Token?

Started by Roberto Palma -   in API Authentication

Hello i have a private desktop application developed with c#, i have already register the app and i have the consumerKey and the SecretKey. I need to request a token?

If possible show me one call to the API using private APP with c#.
@Roberto - not sure if you've seen our C# examples on Github?

https://github.com/XeroAPI/DevDefined.OAuth/tree/master/Source/Xero.ScreenCast

You can set your private consumer key in the ConsumerSessionFactory class then see the PrivateApps class for an example of making a call.

I've updated our C# code samples page on our developer site so our Github examples are easier to find too!
 

Tony Rule (Xero Staff)