Enrollment
Version 6 (Adrian Georgescu, 03/07/2011 09:33 pm) → Version 7/11 (Adrian Georgescu, 03/07/2011 09:35 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: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. Oh and of course, replace your username with your own ow value, we have already used this one for the purpose of providing this example.
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:
* 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: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. Oh and of course, replace your username with your own ow value, we have already used this one for the purpose of providing this example.