Get shared accounts by user id
GET/v1/users/:target_user_id/shared-accounts
Get shared accounts by user id
This endpoint retrieves shared accounts associated with a given user ID, allowing for filtering and sorting based on various parameters such as account type, name, and creation dates. It supports pagination and can also fetch detailed cryptocurrency information for each account if requested. Access control ensures that only users with common accounts or administrative privileges can view the shared accounts.
Request
Path Parameters
target_user_id uuidrequired
User id
Query Parameters
sort_by string
Sort by
order_by string
Order by
search string
Search
coins boolean
Coins
page int32
Page
page_size int32
Page size
end_date date-time
End date
start_date date-time
Start date
Responses
- 200
- 403
- 404
- 500
User shared accounts found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
address stringrequired
approversQuantity int32nullable
chainPath stringrequired
createdAt date-timerequired
exchangeApiKey stringnullable
exchangeApiSecret stringnullable
id uuidrequired
isActive booleanrequired
name stringrequired
roleName stringnullable
transactionLimit stringrequired
type stringrequired
walletId uuidrequired
[
{
"address": "string",
"approversQuantity": 0,
"chainPath": "string",
"createdAt": "2024-09-25T19:42:12.590Z",
"exchangeApiKey": "string",
"exchangeApiSecret": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"isActive": true,
"name": "string",
"roleName": "string",
"transactionLimit": "string",
"type": "string",
"walletId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Don't have access or invalid user
- text/plain
- Schema
Schema
string
User not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...