Public
Documentation Settings

Tinyphone

POSTlogin

localhost:6060/login
HEADERS
Content-Type

application/json

Bodyraw
{
	"username":"john",
	"password" : "your-password",
	"domain" : "sip.example.com"
}
Example Request
curl
curl --location 'localhost:6060/login' \
--header 'Content-Type: application/json' \
--data '{
	"username":"john",
	"password" : "your-password",
	"domain" : "sip.example.com"
}'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

GETaccounts

localhost:6060/accounts
Example Request
curl
curl --location 'localhost:6060/accounts'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTaccount logout

localhost:6060/accounts/john@sip.example.com/logout
Example Request
curl
curl --location --request POST 'localhost:6060/accounts/john@sip.example.com/logout'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTaccount reregister

localhost:6060/accounts/john@sip.example.com/reregister
Example Request
curl
curl --location --request POST 'localhost:6060/accounts/john@sip.example.com/reregister'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers