Skip to main content

Get All Users

GET 

/users

Fetches all SDP users within the organization, whether they are active yet or not.

Responses

Returns a paginated list of User Details

Schema
  • Array [
  • idstringrequired
    Example: 1736bed3-7b92-4760-8ff2-51fb08ee079f
    first_namestringrequired
    Example: John
    last_namestringrequired
    Example: Doe
    emailstringrequired
    rolesstring[]required
    is_activebooleanrequired
  • ]

Authorization: Authorization

name: Authorizationtype: apiKeydescription: JWT used for authentication, signed with an ES256 private key.in: header
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/users");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
Auth
ResponseClear

Click the Send API Request button above and see the response here!

Did you find this page helpful?