List all the users that the authorization token has access to.
Filter users by the program they are currently enrolled in, given as a Program ID from /programs. Matches members of any of the program's tiers, and excludes users who have since left it. An unknown Program ID yields an empty page, and an empty value leaves the list unfiltered.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/users
- Live API for both production and sandbox requests.https://api.ev.energy/v2/users
- Staging server for internal testing only.https://api-staging.ev.energy/v2/users
curl -i -X GET \
'https://developers.ev.energy/_mock/ev.energy-api-v2/users?page_before=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_after=xmpl01HNFZM7Q8FXASZXYZ6XM3TQRR&page_size=10&expand=default_location.tariff&email=user%40example.com&program_id=prog01JCDYNYDWHS7VN72SJ05X0NFR&include_deleted=true' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-User: user01HN2NJ9NMRZBXT1H6FT9N7735' \
-H 'EvEnergy-Version: 2'Returns a list of Users.
Provides links to the previous and next pages of data, if they exist.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
Unique identifier for the given user.
The date and time when the user joined the platform.
When the user gave their terms and conditions consent, or null if they have not.
When the user's account was deleted, or null if it is still live. Deleted accounts are anonymised, so the remaining fields hold placeholder values rather than the user's data. Reaching a deleted user requires include_deleted=true.
Location model for charging locations.
Address validation: Address fields are optional as a group, but each field independently triggers the requirement. If any of address_1, address_2, city, state, postal_code, country_code, or coordinates is provided with a non-null value, then address_1, city, postal_code, and country_code must all be provided as non-null values. Sending the keys with explicit null values is allowed and does not trigger the requirement (this is how addresses are cleared via PATCH). Partial addresses are rejected with a 400.
[ "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H" ]
[ { "id": "user01HN2NJ9NMRZBXT1H6FT9N7735", "url": "https://api.ev.energy/v2/users/user01HN2NJ9NMRZBXT1H6FT9N7735", "email": "user@example.com", "full_name": "Frodo Baggins", "joined_at": "2023-06-15T10:00:00Z", "terms_consent_datetime": "2023-06-15T10:00:00Z", "deleted_at": "2024-08-01T12:00:00Z", "default_location": { … }, "vehicles": [ … ], "evses": [ … ] } ]