improved

Employee API: added email filter

We just added an email query parameter to the /company/employees endpoint, which allows you to find an employee with their given email address. The response is still a list, containing only the filtered employee.

Find more information here

import requests

url = "https://api.personio.de/v1/company/employees"

querystring = {"limit":"200","offset":"0","email":"[email protected]"}

headers = {
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN_HERE"
}

response = requests.request("GET", url, headers=headers, params=querystring)

print(response.text)