curl --request GET \
--url https://api.example.com/api/accounts{
"success": true,
"accounts": [
{
"id": "<string>",
"name": "<string>",
"owner_id": "<string>",
"role": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
]
}Get all accounts the authenticated user has access to
curl --request GET \
--url https://api.example.com/api/accounts{
"success": true,
"accounts": [
{
"id": "<string>",
"name": "<string>",
"owner_id": "<string>",
"role": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
]
}Show account properties
owner or member.curl -X GET https://api.example.com/api/accounts \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"accounts": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Personal Finances",
"owner_id": "user-uuid-here",
"role": "owner",
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-03-01T14:20:00.000Z"
},
{
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"name": "Shared Household",
"owner_id": "other-user-uuid",
"role": "member",
"created_at": "2026-02-01T09:15:00.000Z"
}
]
}
role field indicates the user’s permission level:
owner: Full control over the account, can invite members, modify settings, and delete the accountmember: Can view and use the account but cannot modify settings or invite otherscurl -X GET https://api.example.com/api/accounts/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer YOUR_TOKEN"
{
"success": true,
"account": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Personal Finances",
"owner_id": "user-uuid-here",
"role": "owner",
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-03-01T14:20:00.000Z"
}
}
{
"error": "Cuenta no encontrada"
}