Skip to main content
POST
Create Employee

Authorizations

X-Api-Key
string
header
required

Your API key (yativo_pk_...) from Developers → API Keys. Send together with X-Api-Secret.

X-Api-Secret
string
header
required

Your API secret (yativo_sk_...), shown once when the key is created.

Body

customer_id
string
required
Example:

"cus_123"

full_name
string
required
Maximum string length: 191
Example:

"Jane Doe"

email
string<email>
Example:

"jane@example.com"

dob
string<date>

YYYY-MM-DD.

Example:

"1990-04-12"

occupation
string
Maximum string length: 191
Example:

"Operations Manager"

metadata
object
Example:
selfie_image
file

File or base64 data URI. jpeg, png or webp, up to 10 MB.

selfie_image_url
string

Hosted image URL, instead of selfie_image.

Response

Employee created

status
string
Example:

"success"

status_code
integer
Example:

201

message
string
Example:

"Request successful"

data
object