Skip to content
Thomas Pedersen edited this page Aug 27, 2013 · 4 revisions

POST /account/add (But implemented in current git master as GET for convenience)

Notice that this call only adds an account, but does not register it. For that see the Register account call.

Parameters.

domain=pbx hostname
username=user (or extension)
password=the signon password

Condition: Success.

HTTP 200 OK with a JSON status body echoing back the identifier of the account added.

{
   "message": "Added account username@domain."
}

Condition: Error.

HTTP 500 Server error with empty body.

Clone this wiki locally