Update my personal information
Change your address, phone or emergency contact.
PATCH https://cotlet.dev/api/v1/officient/personal-information
write Confirm
Changes only the fields you send, the way the pencil in Personal information does. Your employer uses this data to process payroll, so the change reaches HR. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| address_line_1 string | string | Street and number. |
| zipcode string | string | Postal code. |
| city string | string | City. |
| phone string | string | Phone number. |
| emergency_contact_name string | string | Name of the person to inform. |
| emergency_contact_phone string | string | Phone of the person to inform. |
Request
curl -X PATCH https://cotlet.dev/api/v1/officient/personal-information \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("officient", "update_personal_information") const result = await cotlet.call('officient', 'update_personal_information'); cotlet call officient update_personal_information Example response
{
"updated": [
"address_line_1",
"zipcode",
"city"
],
"address": {
"line_1": "Korte Nieuwstraat 5",
"zipcode": "2000",
"city": "Antwerp"
}
}