curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/notifications?token='import requests
url = "https://sandbox.circularo.com/api/v1/notifications?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/notifications?token=', 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/v1/notifications?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/v1/notifications?token="
req, _ := http.NewRequest("GET", url, nil)
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/v1/notifications?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/notifications?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"notifications": [
{
"date": "2023-11-07T05:31:56Z",
"definitionType": "ext",
"documentId": "<string>",
"documentTitle": "Contract Agreement",
"documentType": "d_default",
"folder": {
"global": {
"accessible": true,
"level": 123,
"name": "<string>",
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123,
"name": "<string>"
}
],
"username": "john.doe@example.com"
},
"user": {
"accessible": true,
"level": 123,
"name": "<string>",
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123,
"name": "<string>"
}
],
"username": "john.doe@example.com"
}
},
"id": "xN4pZ5gBv9Q1mE7dK2Lr",
"notificationData": {},
"notificationType": "shareForSign",
"read": true,
"user": "john.doe+member@example.com",
"workflowId": "<string>",
"workflowType": "wf_archive"
}
]
}{
"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"
}List your notifications
GET /notifications
Returns the in-app notifications addressed to the caller, newest first - the entries behind the notification bell. Each one names the event it reports and carries the values its message is built from, so a client can render the text itself, together with the current title, type and folder of the document the event happened on.
A notification is always addressed to one person, and only the caller’s own are ever returned. Fetching them changes nothing - marking them as read is a separate call.
A notification whose document has since disappeared is left out and quietly cleaned up, so a page can come back with fewer entries than were asked for. For anything beyond plain paging - filtering by type, or a different ordering - use POST /notifications/search.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
Required user rights: use_notifications_light
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/notifications?token='import requests
url = "https://sandbox.circularo.com/api/v1/notifications?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/notifications?token=', 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/v1/notifications?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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/v1/notifications?token="
req, _ := http.NewRequest("GET", url, nil)
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/v1/notifications?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/notifications?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"notifications": [
{
"date": "2023-11-07T05:31:56Z",
"definitionType": "ext",
"documentId": "<string>",
"documentTitle": "Contract Agreement",
"documentType": "d_default",
"folder": {
"global": {
"accessible": true,
"level": 123,
"name": "<string>",
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123,
"name": "<string>"
}
],
"username": "john.doe@example.com"
},
"user": {
"accessible": true,
"level": 123,
"name": "<string>",
"parentFolderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"path": [
{
"folderId": "97cfb9de-92dd-413a-b5e7-175eff7506d6",
"level": 123,
"name": "<string>"
}
],
"username": "john.doe@example.com"
}
},
"id": "xN4pZ5gBv9Q1mE7dK2Lr",
"notificationData": {},
"notificationType": "shareForSign",
"read": true,
"user": "john.doe+member@example.com",
"workflowId": "<string>",
"workflowType": "wf_archive"
}
]
}{
"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"
}Authorizations
Query Parameters
Response
Returns the requested page of notifications. Having none is a success with an empty list.