General
Put custom field mappings
Changed onUpdates the mapping of a given custom field. If the custom field is already mapped, it will be updated.
put/integrations/{integration_id}/custom-fields/{custom_field_id}
Request
- Base URLhttps://api.kombo.dev/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
integration_idstring required
The unique ID of the integration where the custom field mapping should be updated
custom_field_idstring required
The unique ID of the custom field that should be updated
Request body
Response
PUT /integrations/:integration_id/custom-fields/:custom_field_id Positive response
Example response
{
"data": {
"id": "EU3Bwa4iDfGspEELW71WDvvu",
"key": "tshirt_size",
"integration_field": {
"id": "3n6geaAmKL5tFonXVAtsMDmr",
"key": "custom.tshirt_size",
"type": "CUSTOM",
"label": "T-Shirt Size"
},
"model": "hris_employees",
"label": "T-Shirt Size",
"description": "Map this to the employee's tshirt size"
}
}Changes
- info
endpoint added
- info