Enrollment » History » Version 4
Adrian Georgescu, 03/07/2011 09:32 PM
| 1 | 1 | Adrian Georgescu | = Create SIP account = |
|---|---|---|---|
| 2 | |||
| 3 | To create a SIP2SIP account programmatically you can use the HTTP API available at this address: |
||
| 4 | |||
| 5 | 2 | Adrian Georgescu | https://blink.sipthor.net/enrollment.phtml?query |
| 6 | 1 | Adrian Georgescu | |
| 7 | 2 | Adrian Georgescu | The following query parameters are mandatory: |
| 8 | 1 | Adrian Georgescu | |
| 9 | |||
| 10 | * password |
||
| 11 | * display_name |
||
| 12 | * username |
||
| 13 | 2 | Adrian Georgescu | |
| 14 | Example: |
||
| 15 | |||
| 16 | 4 | Adrian Georgescu | https://blink.sipthor.net/enrollment.phtml?email=abcd@example.com&password=1234&display_name=Example&username=test456 |
| 17 | 2 | Adrian Georgescu | |
| 18 | Will create the sip address: |
||
| 19 | |||
| 20 | {{{ |
||
| 21 | sip:test456@sip2sip.info |
||
| 22 | }}} |
||
| 23 | |||
| 24 | 3 | Adrian Georgescu | The result of the operation including the SIP account credentials is returned as a json structure that you can parse using your program. |