Skip to content

Find User by Email

Returns the internal user ID, Uber ID, and Agency ID for the given email address.

HeaderRequiredValue
api-keyyesImport API key
ParameterTypeRequiredDescription
emailstringyesExact email address
GET /api/users/find-by-email?email=john.doe@example.com
api-key: <key>

HTTP 200 OK

{
"success": true,
"user_id": 42,
"uber_id": "abc123",
"agency_id": null
}
FieldTypeDescription
user_idintInternal user ID
uber_idstring | nullThe user’s Uber ID, or null
agency_idstring | nullThe user’s agency identifier, or null
StatusDescription
401Missing api-key header
403Invalid api-key value
404No user with that email
422Invalid email format