Skip to main content
POST
/
v1
/
worker-dependents
Create a worker dependent
curl --request POST \
  --url https://api.plane.com/v1/worker-dependents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "worker": "<string>",
  "name": {},
  "dob": "<string>",
  "relationship": "<string>",
  "status": "<string>"
}
'
{
  "worker": "wrkr_8oWZpQ2rL4sk",
  "name": { "first": "Amara", "last": "Okafor" },
  "dob": "1990-04-12",
  "relationship": "spouse"
}

Parameters

worker
string
required
ID of the worker this dependent belongs to.
name
object
required
The dependent’s name. Same shape as a worker’s name (e.g. first, last).
dob
string
required
Date of birth.
relationship
string
required
Relationship to the worker. One of spouse, child, domestic_partner, step_child, adopted_child, foster_child, grandchild, civil_union, legal_guardianship, ex_spouse, or other.
status
string
Dependent status. One of active or inactive. Defaults to active.

Returns

Returns the created Worker dependent object.
{
  "worker": "wrkr_8oWZpQ2rL4sk",
  "name": { "first": "Amara", "last": "Okafor" },
  "dob": "1990-04-12",
  "relationship": "spouse"
}