Extensions

Get extensions list

This endpoint allows your application to get a list of your company's users, or extensions, as well as their current phone presence status (free, oncall).

GET or POST https://api.ubity.com/extensions?key=KKKK

Parameter Description
key Your Ubity API key
% curl -H "Accept: application/json;version=0" "http://api.ubity.com/call?key=KKKK&exten=EEE&number=NNN"
{
  "api_key": "KKKK",
  "code": 200,
  "diagnostic": "Success",
  "extensions": {
    "42": {
      "callerid": "Foo Bar",
      "state": "free",
      "updated": 1518636657.0
    },
    "43": {
      "callerid": "Baz Qwe",
      "state": "oncall",
      "updated": 1518627835.0
    },
  },
  "stamp": "2018-02-14 15:37",
  "url": "http://api.ubity.com/extensions?key=KKKK",
  "version": 0
}