cURL
curl --request GET \ --url http://localhost:9001/api/v1/accounts/{account_id}/users \ --header 'Authorization: Bearer <token>'
{ "users": [ { "id": "<string>", "email": "jsmith@example.com", "name": "<string>", "profile_pic_url": "<string>", "status": "ACTIVE", "is_verified": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "authentication_type": "google-oauth2", "authentication_partner": "AUTH0", "authentication_partner_id": "<string>" } ], "total": 5, "message": "Users retrieved successfully" }
Retrieves all users associated with the specified account. Requires authentication and account access verification.
JWT token from Auth0
Account's external ID (format: acct-xxx-v1)
"acct-xyz789-v1"
Users retrieved successfully
Show child attributes
Total number of users
5
"Users retrieved successfully"