Get a CSV file with the persons of the studio, without the bots. Each row gives the name, email, phone, role, departments, studio, country, contract type, position, seniority, daily salary and active status. Only an administrator gets the daily salary column. You must be a manager.
GET
/export/csv/persons.csv
curl
curl -X GET "http://api.example.com/export/csv/persons.csv" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"
import requests
url = "http://api.example.com/export/csv/persons.csv"
headers = {
"Authorization": "Bearer YOUR_API_TOKEN",
"Accept": "application/json"
}
params = {}
payload = None
response = requests.get(
url,
headers=headers,
params=params,
json=payload
)
response.raise_for_status()
if response.content:
print(response.json())
Response examples (200)
First Name;Last Name;Email;Phone;Role;Departments;Studio;Country;Contract Type;Position;Seniority;Daily Salary;Active John;Doe;john.doe@example.com;+1234567890;user;Animation;Paris;FR;freelance;artist;mid;320;yes