General
Team platform

Get employee details

Retrieves details for a specific employee by ID.

Scopes required:

  • workspace:read
get/v1/employees/{employee_id}

Request

  • Base URL: https://public-api.tryriot.com
  • URL: https://public-api.tryriot.com/v1/employees/{employee_id}
  • Auth: API key in header x-api-key

Path parameters

employee_idstring uuid required

ID of the employee to retrieve

Response

Employee details

Example response

{
  "data": {
    "country_code": "FR",
    "cyber_posture": {
      "score_percentage": 87.5
    },
    "department": {
      "name": "Devs"
    },
    "email_addresses": [
      {
        "address": "john.doe@tryriot.com",
        "source": "google"
      }
    ],
    "google_user_id": "112233445566778899000",
    "job_title": "Account manager",
    "language": "english",
    "manager": {
      "name": "John Doe",
      "primary_email_address": "john.doe@tryriot.com"
    },
    "microsoft_user_id": "f9a7ceeb-6c82-48b1-a522-faf335c7d623",
    "name": "John Doe",
    "okta_user_id": "00u1abcdef2GhIjKlMn3",
    "primary_email_address": "john.doe@tryriot.com",
    "slack_user_id": "U01234ABCDE",
    "timezone": "Europe/Paris"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.