Read people
GET
/v1/integration-api/people
const url = 'https://api.academy.example.com/v1/integration-api/people?limit=50';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.academy.example.com/v1/integration-api/people?limit=50' \ --header 'Authorization: Bearer <token>'Read an organisation-scoped cursor page of people.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”after
string format: uuid
limit
integer
email
string format: email
employeeNumber
string
Responses
Section titled “Responses”Success
Media typeapplication/json
object
items
required
Example
{ "items": [ { "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 } ], "next": null}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"}