Get the data of a user by its external ID.
cURL
curl --request GET \ --url https://api.example.com/api/partners/v2.0/org/{org_id}/users/by-ext-id/{external_id} \ --header 'Authorization: Bearer <token>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "role": "admin", "email": "<string>", "num_inverters": 123, "num_heat_pumps": 123, "num_electric_vehicles": 123, "num_wallboxes": 123, "external_user_id": "<string>", "first_name": "<string>", "last_name": "<string>", "is_onboarded": true, "street_and_number": "<string>", "street_add_info": "<string>", "zip_code": "<string>", "town": "<string>", "country": "<string>", "latitude": 123, "longitude": 123, "last_login": "2023-11-07T05:31:56Z", "joined_at": "2023-11-07T05:31:56Z" }
The access token received from the authorization server in the OAuth 2.0 flow.
The organization ID of the user's organization
The external ID of the user
OK
admin
staff
user
guest
Was this page helpful?