User
A person on your team. Each User has an extension that others dial.
Fields
Section titled “Fields”| Field | Type | What it is | On app.onsim |
|---|---|---|---|
id | integer | The ID of the User. It does not change when the extension does. | Not shown. |
extension | string | What others dial to reach it. It can change. | The line under the name. It is also in the address of the page. |
label | string | The label of the extension, as app.onsim and the call records show it. It is not the name of a person. | The name beside the mark. |
first_nameoptional | string | The first name of the person who holds the User, as their account keeps it. It can differ from label. | Not shown. |
last_nameoptional | string | The last name of the person who holds the User, as their account keeps it. | Not shown. |
emailoptional | string | The email address of the person who holds the User, as their account keeps it. | Not shown. |
Example
Section titled “Example”{ "id": 1043, "extension": "203", "label": "Chloe Singh", "first_name": "Chloe", "last_name": "Singh", "email": "chloe.singh@example.com"}Methods
Section titled “Methods”The list gives each one with id, extension and label only. The get gives every field.
List UsersGET /v1/users
Get a UserGET /v1/users/{id}
Related
Section titled “Related”A User has Services: a plan, and what is added to it. Get the Services of an Identity returns them, with the ID of the User.