curl --request GET \
--url https://sandbox.circularo.com/api/v2/reports \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/reports"
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/reports', 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/reports",
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/reports"
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/reports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/reports")
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": [
{
"actionCount": 4,
"category": "Contracts",
"completedAt": "2024-11-02T09:15:30.000Z",
"completedRecipientCount": 2,
"createdAt": "2024-11-02T09:15:30.000Z",
"createdBy": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"delegations": [
{
"delegatedAt": "2024-11-02T09:15:30.000Z",
"fromRecipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"fromRecipientId": "f3a91c2e77d54b1a",
"order": 1,
"purpose": "sign",
"toRecipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"toRecipientId": "a1b2c3d4e5f60718"
}
],
"durationMs": 86400000,
"id": "a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"initiatedBy": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"metadataDefinition": "d_default",
"metadataFields": {
"D_DEFAULT_DESCRIPTION": "Quarterly maintenance contract"
},
"owner": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"pageCount": 3,
"pendingRecipientCount": 1,
"recipientCount": 3,
"recipients": [
{
"actedAt": "2024-11-02T09:15:30.000Z",
"actionDurationMs": 120000,
"expiresAt": "2024-11-02T09:15:30.000Z",
"hasOpened": true,
"isDelegated": true,
"isSelfSigned": true,
"lastRemindedAt": "2024-11-02T09:15:30.000Z",
"order": 1,
"purpose": "sign",
"receivedAt": "2024-11-02T09:15:30.000Z",
"recipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"recipientId": "f3a91c2e77d54b1a",
"status": "completed",
"verificationMethod": "sms"
}
],
"size": 215040,
"startedAt": "2024-11-02T09:15:30.000Z",
"status": "completed",
"tags": [
"<string>"
],
"templateId": "cba71ea5-9a68-431a-a5c2-6d9932792ec7",
"title": "Client agreement",
"uniqueCompletedRecipientCount": 2
}
],
"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"
}List organization reports
GET /reports
Generates a report across the documents in your organization and their transactions, one row per document.
Each row summarizes a document (title, metadata definition, category, owner, creator and creation time) together with its transaction (status, who started it, when it started and finished, and how long it ran), activity counts, and every recipient with the state of their participation.
Filter with query parameters — every filter you supply must match: by creation time, completion time, transaction status, metadata definition, category, creator and owner. Page through the results with an offset for shallow access, or by following the opaque nextCursor returned in the pagination metadata for deep traversal; when you page with the cursor, send it on its own.
Required user rights: use_all_documents_export
curl --request GET \
--url https://sandbox.circularo.com/api/v2/reports \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/reports"
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/reports', 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/reports",
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/reports"
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/reports")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/reports")
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": [
{
"actionCount": 4,
"category": "Contracts",
"completedAt": "2024-11-02T09:15:30.000Z",
"completedRecipientCount": 2,
"createdAt": "2024-11-02T09:15:30.000Z",
"createdBy": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"delegations": [
{
"delegatedAt": "2024-11-02T09:15:30.000Z",
"fromRecipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"fromRecipientId": "f3a91c2e77d54b1a",
"order": 1,
"purpose": "sign",
"toRecipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"toRecipientId": "a1b2c3d4e5f60718"
}
],
"durationMs": 86400000,
"id": "a0d01c9d-f72f-4c57-af11-e26bda19cc59",
"initiatedBy": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"metadataDefinition": "d_default",
"metadataFields": {
"D_DEFAULT_DESCRIPTION": "Quarterly maintenance contract"
},
"owner": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"pageCount": 3,
"pendingRecipientCount": 1,
"recipientCount": 3,
"recipients": [
{
"actedAt": "2024-11-02T09:15:30.000Z",
"actionDurationMs": 120000,
"expiresAt": "2024-11-02T09:15:30.000Z",
"hasOpened": true,
"isDelegated": true,
"isSelfSigned": true,
"lastRemindedAt": "2024-11-02T09:15:30.000Z",
"order": 1,
"purpose": "sign",
"receivedAt": "2024-11-02T09:15:30.000Z",
"recipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"recipientId": "f3a91c2e77d54b1a",
"status": "completed",
"verificationMethod": "sms"
}
],
"size": 215040,
"startedAt": "2024-11-02T09:15:30.000Z",
"status": "completed",
"tags": [
"<string>"
],
"templateId": "cba71ea5-9a68-431a-a5c2-6d9932792ec7",
"title": "Client agreement",
"uniqueCompletedRecipientCount": 2
}
],
"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
Report only on documents whose transaction is in any of these statuses.
not-started: The document has been created, but no transaction has started over it yet.in-progress: A transaction is in progress: the document has been shared and is awaiting action from one or more recipients.completed: The transaction completed successfully — every requested recipient finished their action.rejected: The transaction ended because a recipient rejected the document.cancelled: The transaction was cancelled before completion.expired: The transaction expired before completion.
not-started, in-progress, completed, rejected, cancelled, expired ["completed"]
Response
Returns the matching report rows and pagination metadata.
A page of organization-wide transaction report rows.