Purpose
Returns my user details based on the user in access_token
Specification
Authorize
Request to process the request using a token in the headers
Request structure
See on Apiary
Наприклад:
Content-Type:application/json
Authorization:Bearer {{access_token}}
api-key:{{secret}}
Response structure
Example:
Response example
{
"meta": {
"code": 200,
"url": "https://example.com/resource",
"type": "object",
"request_id": "6617aeec-15e2-4d6f-b9bd-53559c358f97#17810"
},
"data": {
"id": "7c3da506-804d-4550-8993-bf17f9ee0402",
"email": "example@gmail.com",
"is_blocked": "false",
"block_reason": "User has fakes data",
"person_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"tax_id": "3126509816",
"settings": {},
"inserted_at": "2017-05-05T14:09:59.232112",
"updated_at": "2017-05-05T14:09:59.232112"
}
}
HTTP status codes