« Previous - Version 10/11 (diff) - Next » - Current version
Adrian Georgescu, 03/09/2011 07:24 pm


= Create SIP account =

To create a SIP2SIP account programmatically you can use the HTTP/JSON API available at this address:

https://enrollment.sipthor.net/enrollment.phtml?query

The following query parameters are mandatory:

  • email
  • password
  • display_name
  • username

Example:

https://enrollment.sipthor.net/enrollment.phtml?email=abcd@example.com&password=1234&display_name=Example&username=test456

Will create the sip address:

{{{
sip:
}}}

The result of the operation including the SIP account credentials is returned as a json structure that you can parse using your program. Oh and of course, replace your username with your own value, we have already used this one for the purpose of providing this example.

SIP Clients using this API: