List other Users
GET
/api/v1/files/people
const url = 'https://example.com/api/v1/files/people';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://example.com/api/v1/files/people \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. It returns enabled Users other than the caller, or 403 when access is denied. Route: /api/v1/files/people. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
display_name
required
string
id
required
string
username
required
string
Examplegenerated
[ { "display_name": "example", "id": "example", "username": "example" }]Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}