Enrollment
Version 5 (Adrian Georgescu, 03/07/2011 09:33 pm) → Version 6/11 (Adrian Georgescu, 03/07/2011 09:33 pm)
= Create SIP account =
To create a SIP2SIP account programmatically you can use the HTTP/JSON 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
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 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 HTTP 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 ow value, we have already used this one for the purpose of providing this example.