Retrieves the details of an existing user. You need only supply the unique user identifier that was returned upon user creation.
Arguments | |
---|---|
id | The identifier of the user to be retrieved. |
Returns
Returns a user if a valid user ID was provided. Returns an error otherwise.
GET /users/{user.id}
GET /users/ea3a81 HTTP/1.1
Authorization: Bearer YOUR_ACCESS_TOKEN
HTTP/1.1 200 OK
Content-Type: application/json
{
"type": "user",
"id": "ea3a81",
"email": "[email protected]",
"mobile": "+61410888666",
"firstName": "Joe",
"lastName": "Bloggs",
"connections": {
"type": "list",
"count": 1,
"data": [
{
"type": "connection",
"id": "aaaf2c3b",
"links": {
"self": "https://au-api.basiq.io/users/ea3a81/connections/aaaf2c3b"
}
}
]
},
"links": {
"self": "https://au-api.basiq.io/users/ea3a81",
"connections": "https://au-api.basiq.io/users/ea3a81/connections"
}
}