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


= Create SIP account =

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

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

The following query parameters are mandatory:

  • email
  • password
  • display_name
  • username

Example:

https://blink.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 ow value, we have already used this one for the purpose of providing this example.