BoldSales

API Documentation

Get a user

get/api/v1/users/{id}

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

Code snippet

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

Path parameters

idintegerRequiredUnique identifier of the user to retrieve. Must be a valid user ID that exists in the organization.

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,
    "teams": [
      {
        "id": 3,
        "name": "Product Team"
      },
      {
        "id": 9,
        "name": "Design Team"
      }
    ]
  }
}