Skip to content

Create a person (as a learner) or change their employment fields, found by email

PUT
/v1/integration-api/people
curl --request PUT \
--url https://api.academy.example.com/v1/integration-api/people \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "email": "ada@example.com", "name": "Ada Lovelace", "jobTitle": "Analyst", "department": "Research", "employeeNumber": "E-1042", "entryDate": "2026-11-03", "managerEmail": "grace@example.com", "invite": true }'

Versioned integration contract.

Media typeapplication/json
object
jobTitle
Any of:
string
<= 200 characters
department
Any of:
string
<= 200 characters
location
Any of:
string
<= 200 characters
employeeNumber
Any of:
string
<= 100 characters
entryDate
Any of:
string format: date
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$/
managerId
Any of:
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
email
required
string format: email
<= 320 characters /^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
name
string
>= 1 characters <= 200 characters
managerEmail
Any of:
string format: email
<= 320 characters /^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/
invite
boolean

Example

{
"email": "ada@example.com",
"name": "Ada Lovelace",
"jobTitle": "Analyst",
"department": "Research",
"employeeNumber": "E-1042",
"entryDate": "2026-11-03",
"managerEmail": "grace@example.com",
"invite": true
}

Success

Media typeapplication/json
object
person
required
object
id
required
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
name
required
string
email
required
string
status
required
string
Allowed values: active inactive
department
required
string | null
managerId
required
Any of:
string format: uuid
/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/
employeeNumber
required
string | null
joinedAt
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
created
required
boolean
invitation
required
Any of:
string
Allowed values: sent failed

Example

{
"person": {
"id": "6f1c2a10-0000-4000-8000-0000000000a1",
"name": "Ada Lovelace",
"email": "ada@example.com",
"status": "active",
"department": "Research",
"managerId": "6f1c2a10-0000-4000-8000-0000000000a2",
"employeeNumber": "E-1042",
"joinedAt": null
},
"created": true,
"invitation": "sent"
}

Error; error and message identify the reason

Media typeapplication/json
object
error
required

Stable code, e.g. insufficient_scope, not_found, validation_failed

string
message
string

Example generated

{
"error": "example",
"message": "example"
}