Create a staff member

POST /api/v1/client/{client_uuid}/staff-members

Headers

Path parameters

application/json

Body Required

  • account_uuid string Required

    UUID of another client account in Plannr. This account must be an individual.

  • hired_at date Required

    Date (y-m-d) of when the staff member was hired.

  • Date (y-m-d) of when the staff member left.

  • The job title of the staff member.

  • The basic annual salary of the staff member. Must be in pennies, for example: £50,000 would be 5000000.

  • The payroll number of the staff member.

POST /api/v1/client/{client_uuid}/staff-members
curl \
 -X POST https://api.plannrcrm.com/api/v1/client/client_uuid/staff-members \
 -H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 -H "Content-Type: application/json" \
 -H "Accept: application/json" \
 -H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 -d '{"account_uuid":"daf58c8f-4f91-431b-a81d-01413e6518d5","hired_at":"2018-01-15","left_at":"2025-01-15","job_title":"Chief Coffee Maker","basic_annual_salary":5000000,"payroll_number":"#12345"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}

# Payload
{
  "account_uuid": "daf58c8f-4f91-431b-a81d-01413e6518d5",
  "hired_at": "2018-01-15",
  "left_at": "2025-01-15",
  "job_title": "Chief Coffee Maker",
  "basic_annual_salary": 5000000,
  "payroll_number": "#12345"
}