How to get started developing using the API

133 views
Skip to first unread message

Oren Yehezkely

unread,
Feb 25, 2014, 10:16:19 PM2/25/14
to netsapiens-de...@googlegroups.com
Hello,

I am looking for some guidance or some starting points developing with the API.
What kind of credentials does my programmer need to get?
Does he need to get a token? How exactly?
Does the token serve an application/website, or is it per user?

Thanks,

Oren

Chris Aaker

unread,
Feb 25, 2014, 11:09:06 PM2/25/14
to Oren Yehezkely, netsapiens-de...@googlegroups.com
Oren, 

the first step is to assign a "client_id" for the developer and/or application. This process is defined here, http://dox.netsapiens.com/blog/2013/03/10/managing-client-id-secret/ , this will be the ID that the developer will use in conjunction with username and password later. 

The next step is to generate a access token. this process requires 4 pieces of data. The client_id and client_secret are from the step before and also the username and password for a user. The user you choose for this step depends heavily on the app you wish to write. If you wish to write a Provisioning app or back end app then a user with a higher level scope like "Super User" makes sense. If you are writting a app like a click to call or a browser plugin a scope like Basic user would be ideal. the process is defined here, http://dox.netsapiens.com/blog/2012/09/10/authorization-oauth-2-0/

Let me know how that goes

Chris




--
You received this message because you are subscribed to the Google Groups "NetSapiens Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netsapiens-develope...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--

Chris Aaker

NetSapiens Inc.
920 Kline St. #400, La Jolla, CA 92037
Phone: +1 (866) 4-VOIP-IQ x5226 Direct: +1 (858) 764-5226
Email: caa...@netsapiens.com gChat- c.a...@gmail.com
Reply all
Reply to author
Forward
0 new messages