Create a person (as a learner) or change their employment fields, found by email
PUT
/v1/integration-api/people
const url = 'https://api.academy.example.com/v1/integration-api/people';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"email":"ada@example.com","name":"Ada Lovelace","jobTitle":"Analyst","department":"Research","employeeNumber":"E-1042","entryDate":"2026-11-03","managerEmail":"grace@example.com","invite":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
email
required
string format: email
name
string
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}Responses
Section titled “Responses”Success
Media typeapplication/json
object
person
required
created
required
boolean
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"}default
Section titled “default”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"}