Enrollment

Version 3 (Adrian Georgescu, 03/07/2011 09:32 pm) → Version 4/11 (Adrian Georgescu, 03/07/2011 09:32 pm)

= Create SIP account =

To create a SIP2SIP account programmatically you can use the HTTP 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 https://blink.sipthor.net/enrollment.phtml?email=abcd@example.com&password=1234&dsiplay_name=Example&username=test456

Will create the sip address:

{{{
sip:test456@sip2sip.info
}}}

The result of the operation including the SIP account credentials is returned as a json structure that you can parse using your program.