Response Results

Yeastar K2 VoIP PBX returns the API responses in JSON format.

The HTTP status code for a success response or an error response is 200 OK.

Success response example

Every successful response has a "Success" status. For some API responses, the relevant response parameters will be displayed.

HTTP/1.1 200 OK
{
    "status": "Success"
}

Error response example

Every error response has a "Failed" status and an error code.

HTTP/1.1 200 OK
{
    "status": "Failed",
    "errno": "10003"
}