Information about the publisher¶
Parameters¶
HTTP method |
Access rights |
URL | Note |
---|---|---|---|
GET | https://api.admitad.com/me/ |
|
* Returns the result in the JSON format.
** Returns the additional email parameter.
*** Returns the additional phone parameter.
Example of use¶
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/me/
Example of the response from the API server in the JSON format:
{
"username": "user",
"first_name": "name",
"last_name": "surname",
"id": 96,
"language": "ru"
"default_currency": "RUB",
"phone": "+375xxxxxxxxxx",
"email": "user@site.com"
"country": "RU"
}
Description of API server response fields¶
Name |
Description |
---|---|
id | Publisher ID |
username | Publisher’s login |
first_name | Publisher’s name |
last_name | Publisher’s last name |
language | Publisher’s language |
default_currency | Publisher’s currency |
country | Publisher’s country |
phone | Publisher’s phone (for the private_data_phone access rights) |
Publisher’s email (for the private_data_email access rights) |