BoldSales

API Documentation

Get a user by email

get/api/v1/users/{emailAddress}

Retrieves comprehensive user information by email, including personal details, contact information, role assignments, reporting hierarchy, and account metadata.

Code snippet

curl -X 'GET' \
  'https://{yourdomain}/api/v1/users/{emailAddress}' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}'

Path parameters

emailAddressstringRequiredThe email address of the user to retrieve.

Example response

200 Success

{
  "data": {
    "id": 1234,
    "firstName": "John",
    "lastName": "Smith",
    "displayName": "John Smith",
    "emailAddress": "[email protected]",
    "reportsTo": {
      "id": 101,
      "name": "Sarah Johnson"
    },
    "status": {
      "id": 1,
      "name": "Active"
    },
    "timezone": {
      "id": 15,
      "name": "(UTC-04:00) New York, Washington DC, Atlanta, Miami"
    },
    "role": {
      "id": 2,
      "name": "Sales Manager"
    },
    "permissionSet": {
      "id": 1,
      "name": "Admin"
    },
    "creator": {
      "id": 1001,
      "name": "Emily Parker"
    },
    "createdOn": "2024-03-15T10:22:35.000Z",
    "modifier": {
      "id": 1002,
      "name": "Michael Chen"
    },
    "modifiedOn": "2024-06-12T08:45:10.000Z",
    "isEmailVerified": true
  }
}