Create a scoped machine identity; secret shown once
POST
/v1/integrations/machine-clients
const url = 'https://api.academy.example.com/v1/integrations/machine-clients';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"n8n onboarding","scopes":["people:write","teams:write","requirements:write","course-runs:write","enrollments:write"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.academy.example.com/v1/integrations/machine-clients \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "n8n onboarding", "scopes": [ "people:write", "teams:write", "requirements:write", "course-runs:write", "enrollments:write" ] }'Versioned integration contract.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
name
required
string
scopes
required
Array<string>
Example
{ "name": "n8n onboarding", "scopes": [ "people:write", "teams:write", "requirements:write", "course-runs:write", "enrollments:write" ]}Responses
Section titled “Responses”Success
Media typeapplication/json
object
client
required
secret
required
string
tokenUrl
required
string
Example
{ "client": { "id": "6f1c2a10-0000-4000-8000-000000000201", "name": "n8n onboarding", "scopes": [ "people:write", "teams:write", "requirements:write", "course-runs:write", "enrollments:write" ], "createdAt": "2026-11-03T08:00:00.000Z", "revokedAt": null, "lastUsedAt": null }, "secret": "kQ9…", "tokenUrl": "https://api.example.com/v1/integration-oauth/token"}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"}