get https://api.bamboohr.com/api/gateway.php//v1/meta/fields/
This endpoint can help with discovery of fields that are available in an account.
Sample Response
[
{
"id": 1,
"name": "First name",
"type": "text",
"alias": "firstName"
},
{
"id": 2,
"name": "Last name",
"type": "text",
"alias": "lastName"
},
{
"id": 3,
"name": "My custom list",
"type": "list"
}
]
<fields>
<field id="1" type="text" alias="firstName">First name</field>
<field id="2" type="text" alias="lastName">Last name</field>
<field id="3" type="list">My custom list</field>
</fields>