Skip to main content
POST
/
api
/
webhook
/
v1
/
employee
/
update
Update Employee
curl --request POST \
  --url https://{env}.tartanhq.com/api/webhook/v1/employee/update/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "0f61cf7d-e669-4a50-9841-edbe0dec2c0f",
  "client_secret": "0f61cf7d-e669-4a50-9841-edbe0dec2c0f",
  "api_id": "update_personal_info",
  "employee_id": "0f61cf7d-e669-4a50-9841-edbe0dec2c0f",
  "fields": {
    "firstName": "John",
    "lastName": "Doe"
  }
}
'

Body

application/json
client_id
string
Example:

"0f61cf7d-e669-4a50-9841-edbe0dec2c0f"

client_secret
string
Example:

"0f61cf7d-e669-4a50-9841-edbe0dec2c0f"

api_id
string
Example:

"update_personal_info"

employee_id
string<uuid>
Example:

"0f61cf7d-e669-4a50-9841-edbe0dec2c0f"

fields
object

Response

Employee updated successfully