You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
Purpose
Returns information about the user whose ID is in the token
Specification
Input parameter | Values | Type | Description | Example |
---|
id | | String | Required | d290f1ee-6c54-4b01-90e6-d701748f0851
|
Request structure
See on Apiary
Authorize
Request to process the request using a token in the headers
Наприклад:
Content-Type:application/json
Authorization:Bearer {{access_token}}
Request data validation
API paragraph not found
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