Skip to content

List user accounts

Request

Retrieves a list of the user's accounts.

Security
ZephrHmacHttp
Path
user_idstringrequired

Unique User identifier

cURL
curl -i -X GET \
  'https://demo.api.zephr.com/v3/users/{user_id}/accounts' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

OK

Headers
any
Bodyapplication/json
Array [
user_idstring
Example:"54de866e-dc98-48d6-a2ea-4736a430f273"
account_idstring
Example:"e196ad75-a6d0-471b-90b3-de3843dd7860"
user_typestring
Example:"user"
user_emailstring
Example:"user@example.com"
user_namestring
Example:"username123"
]
Response
{ "results": [ { … } ] }