List users
curl --request GET \
--url https://sandbox.circularo.com/api/v2/users \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/users"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.circularo.com/api/v2/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v2/users",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/users"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v2/users")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/users")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pagination": {
"limit": 20,
"nextCursor": "9f1c4e2a7b0d83f65a1e94c7d2b8061f3ac59e470b2d8f1a6c3e90b7d45f2a18",
"offset": 0
},
"results": [
{
"company": "Acme Corporation",
"dateFormat": "dd/MM/yyyy",
"email": "jane.doe+2024@example.com",
"firstActivityAt": "2024-11-02T09:15:30.000Z",
"fullname": "John Doe",
"groupIds": [
"4f2011df-92b1-4adf-ab09-a16eb3d3f6ab"
],
"id": "john.doe+member@example.com",
"jobTitle": "Accountant",
"language": "en",
"organizationId": "4f2011df-92b1-4adf-ab09-a16eb3d3f6ab",
"phone": "+493012345678",
"registeredAt": "2024-11-02T09:15:30.000Z",
"role": "member",
"status": "active",
"statusChangedAt": "2024-11-02T09:15:30.000Z",
"timeFormat": "h:mm a",
"timezone": "Europe/Prague"
}
],
"total": 42
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Users
List users
GET /users
Lists the users in your organization.
Filter by account status, role, granted permissions and group membership, or search by name, identifier, email or job title. Every supplied filter must match (filters are combined with AND; multiple values of groupId match any of them, while multiple values of rights must ALL be held).
Required user rights: view_users
List users
curl --request GET \
--url https://sandbox.circularo.com/api/v2/users \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/users"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.circularo.com/api/v2/users', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.circularo.com/api/v2/users",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/users"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://sandbox.circularo.com/api/v2/users")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/users")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"pagination": {
"limit": 20,
"nextCursor": "9f1c4e2a7b0d83f65a1e94c7d2b8061f3ac59e470b2d8f1a6c3e90b7d45f2a18",
"offset": 0
},
"results": [
{
"company": "Acme Corporation",
"dateFormat": "dd/MM/yyyy",
"email": "jane.doe+2024@example.com",
"firstActivityAt": "2024-11-02T09:15:30.000Z",
"fullname": "John Doe",
"groupIds": [
"4f2011df-92b1-4adf-ab09-a16eb3d3f6ab"
],
"id": "john.doe+member@example.com",
"jobTitle": "Accountant",
"language": "en",
"organizationId": "4f2011df-92b1-4adf-ab09-a16eb3d3f6ab",
"phone": "+493012345678",
"registeredAt": "2024-11-02T09:15:30.000Z",
"role": "member",
"status": "active",
"statusChangedAt": "2024-11-02T09:15:30.000Z",
"timeFormat": "h:mm a",
"timezone": "Europe/Prague"
}
],
"total": 42
}{
"status": 400,
"type": "VALIDATION:INPUT_INVALID",
"message": "Invalid input",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 403,
"type": "AUTH:ACCESS_DENIED",
"message": "Access denied",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Query Parameters
Return only users holding this role.
admin: Full administrative rights within the organization: manage members, groups and organization settings, on top of every member capability.member: A regular organization member with full access to documents and signing features (within the subscription plan), but who cannot manage the organization, its groups or its members.preparer: A lite member who can only upload and prepare documents for others to sign and create templates.reader: A lite member who can only view documents shared with them, with no further interaction.signer: A lite member who can only sign documents sent to them and cannot initiate signing.
Available options:
admin, member, preparer, reader, signer Return only users with this account status.
active: The account is active and can be used.newly_created: The account has been created but not yet activated.password_change_requested: The account must set a new password before it can be used.suspended: The account has been suspended and cannot be used until it is reactivated.
Available options:
active, newly_created, password_change_requested, suspended Response
Returns the matching users and pagination metadata.
A page of organization members.