---
title: "Creates a Family situation"
method: POST
path: "/api/2026-10-01/resources/payroll/family_situations"
tags: ["Payroll > FamilySituation"]
---

# Creates a Family situation

`POST /api/2026-10-01/resources/payroll/family_situations`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/payroll/family_situations`
- Auth: API key in header `x-api-key`

Create a family situation.

## Request body

- object
  - `employee_id` string, required: Employee id.
  - `civil_status` 'single' | 'cohabitating' | 'divorced' | 'married' | 'civil_partnership' | 'separated' | 'widow' | 'not_applicable' | 'unknown': Civil status of the employee.
  - `number_of_dependants` integer: Number of dependants of the employee.

## Response `201`

CREATED

- PayrollFamilySituation
  - `id` string, required: ID of the family situation.
  - `employee_id` string, required: Employee id of the family situation.
  - `civil_status` 'single' | 'cohabitating' | 'divorced' | 'married' | 'unknown' | 'civil_partnership' | 'separated' | 'widow' | 'not_applicable': Civil status of the employee.
  - `number_of_dependants` integer: Number of dependants of the employee.

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/payroll/family_situations/post.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
