The object represents the user accounts details
| Endpoints |
---|
GET | /account/me |
GET | /account/list |
Get current account details
Returns the current user account associated with the token.
Request
curl -X 'GET' 'https://accounts.mavryx.solutions/account/me' -H 'accept: application/json' -H 'Authorization: access_token iiodias82314312
$account = $api->accounts->setToken($token)->account()->me([])->item();
Response
{
"header": {
"version": 20240101,
"endpoint": "/account/me",
"referer": "https://swagger-dev.mavryx.software",
"raycast": "dd68cf4a998d325570aaf450c09d26a4",
"request_id": "8cd04489a7042cca9878b12149f549de",
"response_id": "3bac087c4c41ea20544fde1d9d20bfaf",
"status": 200,
"message": "OK"
},
"response": {
"response_type": "item",
"type": "Mavryx/Account",
"item": {
"uuid": "f5a033f9-3ba2-ff48-9db2-5bc91e1d58c5",
"type": "Mavryx/Account",
"created_time": 1705331643,
"updated_time": null,
"deleted_time": null,
"is_active": true,
"email": "john.doe@email.com",
"first_name": "John",
"last_name": "Doe"
}
}
}
Was this article helpful to you?
No
Yes