/
User (/user/)
User (/user/)
You can test API methods on the interactive API browser page and without writing code
Some of the resources described on the page may not be available by default due to the type of application (see Creating and authorizing applications).
The resource is intended for obtaining information about a logged-in user. Can be used to get the user ID.
Description of data structures
Example
After the application is authorized and the token is received, the following request is executed:
System response:
{
"dealer_id": null,
"admin": false,
"extra_params": null,
"access": "full",
"extension_id": null,
"client_id": 100,
"extension_group_id": null,
"timezone": "Europe/Moscow",
"login": "client_login",
"id": 123
}
From the response, it can be seen that the work is done on behalf of a user of the "client" level with the login "client_login" and the ID 100.
Resources
Related content
Client User (/user/client/)
Client User (/user/client/)
More like this
Internal Number User (/user/extension/)
Internal Number User (/user/extension/)
More like this
API Requests with an Access Token
API Requests with an Access Token
More like this
REST API
REST API
More like this
User of the Internal Numbers Group (/user/extension_group/)
User of the Internal Numbers Group (/user/extension_group/)
More like this
Interactive API Browser
Interactive API Browser
More like this