Skip to main content
Question

Updating Custom Fields in BambooHR

  • December 16, 2024
  • 3 replies
  • 20 views

Hi All,

 

I am trying to update custom fields in HR, which means I can't use the native Update Employee action as it only has a limited number of fields.

I am using a POST web hook with form data

I know my URL, employee Id, field name and Auth code are right because if I do the same thing in Postman it works fine (Using raw JSON as the body)

However I specifically want it in this form method, as I have a LOT of fields to send eventually.




 

Failed to create a request in Webhooks by Zapier

The app returned "Bad Request" (HTTP Status Code: 400)

So the error seems to be in the formatting, am I missing quotes somewhere or something?

Did this topic help you find an answer to your question?

3 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30727 replies
  • December 16, 2024

Hi ​@Peter Marchant 

Help us have more info by posting the link to the BambooHR API endpoint documentation you referenced to configure the API request in the Zap step.



Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30727 replies
  • December 16, 2024

@Peter Marchant 

Try using the Basic Auth field for the authentication.

Help link from BambooHR about their Authentication: https://documentation.bamboohr.com/docs/getting-started#section-authentication

Make sure to click the field label to see a tooltip for more info about how to format the field value.

Then remove the “authorization” header.

API_KEY|x

Need these headers:

  • Accept: Application/xml
  • Content-Type: application/json