Create Table Row (v1)
Changed onDeprecated. Use Create Table Row (v1.1) instead (create-table-row-v1_1). Add a new row to the specified employee table by submitting field name/value pairs in JSON or XML. Use this endpoint to append records to tabular employee data such as job information or compensation history.
OAuth Scopes: employee, employee.write, employee:assets.write, employee:compensation.write, employee:custom_fields.write, employee:custom_fields_encrypted.write, employee:education.write, employee:emergency_contacts.write, employee:job, employee:job.write, sensitive_employee:creditcards.write
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:job.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:compensation.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:custom_fields.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:custom_fields_encrypted.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:assets.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:emergency_contacts.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopessensitive_employee:creditcards.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:education.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:job
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The employee ID.
The API name of an employee table. Standard table names: jobInfo, compensation, employmentStatus, contacts, emergencyContacts, dependents, earnings, bonus, commission, benefit_class, employeeVisas, employeeEducation, employeePassports, employeeDriverLicenses, employeeCertifications, employeeStockOptions, employeeAssets, employeeCreditCards, employeeCovidTests, employeeCovidVaccinations, employeeCovidVaccinationExemptions, employeeCovidExposures, employeeEquityGrants, employeeProjectPayRates. Custom company-defined tables also accepted — they use a numeric suffix (e.g., custom1, custom42). Use the list-tabular-fields tool (GET /api/v1/meta/tables) to discover custom table names for a specific company.
The API name of the table to add a row to. See the TableName schema for valid standard values; custom tables use a custom prefix. Use GET /api/v1/meta/tables to discover the complete list.
Request body
Response
Row added successfully. No response body is returned.
Changes
- info
the security scope
employee.writewas added to the endpoint's security schemeoauth - info
the security scope
employee:jobwas removed from the endpoint's security schemeoauth
- info