Skip to main content
POST
/
v1
/
employees
Hire employee
curl --request POST \
  --url https://api.usenaive.ai/v1/employees \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "role": "employee",
  "title": "<string>",
  "department": "<string>",
  "metadata": {}
}
'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

application/json
name
string
required
role
string
default:employee
title
string
department
string
metadata
object

Response

Hired.

The response is of type object.