Sign in

Create employee (Management V2)

documented

Create a new employee in Deputy via the V2 management API.

POST /api/management/v2/employeesEmployeesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$install}}.{{$geo}}.deputy.com/api/management/v2/employees" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"data":{"firstName":"{{$first_name}}","lastName":"{{$last_name}}","primaryLocation":{"id":"{{$location_id}}"},"displayName":"{{$display_name}}"},"fieldMask":"{{$field_mask}}"}'
Create employee (Management V2) · Deputy · OpenIntegrations