GET /acc/meΒΆ
Retrieve account information.
GET /acc/me
Authorization: <bearer-token>
HTTP/1.1 200 OK
{
"properties": {
"_id": {
"pattern": "^[a-fA-F0-9]{24}$",
"type": "string"
},
"created_date": {
"type": "number"
},
"email": {
"pattern": "^[a-zA-Z0-9-._]{1,64}\\@[a-zA-Z0-9\\[]{1}[a-zA-Z0-9.-:]{1,61}[a-zA-Z0-9\\]]{1}$",
"type": "string"
},
"last_action": {
"type": "string"
},
"modified_date": {
"type": "number"
},
"name": {
"pattern": "^[a-z0-9-]{2,32}$",
"type": "string"
},
"phone": {
"pattern": "^\\+[0-9]{2}\\s[0-9]{3}\\s([0-9]{3}|[0-9]{4})\\s[0-9]{4}$",
"type": [
"string",
"null"
]
}
},
"required": [
"_id",
"name",
"email",
"phone",
"created_date",
"modified_date",
"last_action"
],
"type": "object"
}