curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/users/activation?token='import requests
url = "https://sandbox.circularo.com/api/v1/users/activation?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/users/activation?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/users/activation?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/users/activation?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/users/activation?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/users/activation?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{
"accountActivated": false,
"user": {
"activeSessions": [
{
"authentication": [
{
"address": "*****89",
"attemptsLeft": 2,
"factor": "sms",
"unlocked": false,
"validUntil": "2023-11-07T05:31:56Z"
}
],
"connection": {
"browser": "Chrome",
"browserVersion": "130.0.0.0",
"ip": "203.0.113.42",
"location": {
"city": "Prague",
"country": "Czechia",
"countryCode": "CZ",
"region": "Prague"
},
"os": "Windows 10.0",
"platform": "Microsoft Windows",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
},
"created": "2023-11-07T05:31:56Z",
"lastUsed": "2023-11-07T05:31:56Z",
"system": false,
"username": "john.doe@example.com",
"validForMilliseconds": 2592000000
}
],
"allowBiometricSignature": false,
"authenticationFactors": [
"totp"
],
"autoTimezone": true,
"backgroundJobs": [
{
"fileHash": "<string>",
"finishedOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"queuedOn": "2023-11-07T05:31:56Z",
"result": "<string>",
"startedOn": "2023-11-07T05:31:56Z",
"status": "success"
}
],
"company": "Example Ltd.",
"config": {
"delegation": {
"activationNotificationSent": false,
"deactivationNotificationSent": false,
"time": {
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
},
"user": "jane.doe@example.com"
},
"initials": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"language": "en",
"navigationOpen": true,
"notifications": {
"enableAlerts": true,
"inApp": [
"shareForSign"
],
"mail": [
"shareForSign"
],
"push": [
"shareForSign"
]
},
"photo": {
"big": "<string>",
"medium": "<string>",
"nano": "<string>",
"small": "<string>"
},
"scheduler": true,
"signature": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"view": "tableView"
},
"createType": "internal",
"customFields": {
"department": "Legal"
},
"dateformat": "dd/MM/yyyy",
"defaultStamp": "<string>",
"disabledIntros": [
"<string>"
],
"filters": [
{
"iconClass": "filter",
"name": "Recent contracts",
"q": "{\"documentCategory\":[\"Contract\"],\"multifieldDateItems\":[{\"date\":{\"startDate\":\"now-90d/d\",\"endDate\":\"now\",\"predefined\":\"last_90_days\"},\"queryType\":\"created\"}]}"
}
],
"firstActivityOn": "2023-11-07T05:31:56Z",
"firstDayOfWeek": 1,
"fullname": "John Doe",
"group": [
"<string>"
],
"hasActiveDelegation": false,
"hiddenStorageServices": [
"<string>"
],
"id": "john.doe@example.com",
"identities": [
{
"data": {
"id": "<string>",
"userType": "<string>"
},
"name": "uaePass"
}
],
"image": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"language": "en",
"lastActivity": "2023-11-07T05:31:56Z",
"lastReleaseAnnouncementSeen": "26.1.0",
"mail": "john.doe@example.com",
"marketing": false,
"name": "john.doe@example.com",
"organization": "<string>",
"phone": "+420123456789",
"providers": [
{
"connectedOn": "2023-11-07T05:31:56Z",
"name": "google",
"subName": "<string>"
}
],
"recordType": "internal",
"registeredOn": "2023-11-07T05:31:56Z",
"role": "Head of Legal",
"status": null,
"statusChangedOn": "2023-11-07T05:31:56Z",
"templateUsage": [
{
"count": 12,
"custom": true,
"lastUsed": "2023-11-07T05:31:56Z",
"template": "<string>"
}
],
"termsAccepted": true,
"termsAcceptedOn": "2023-11-07T05:31:56Z",
"timeformat": "h:mm a",
"timezone": "Europe/Prague",
"version": 7
}
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Check whether the caller's account still needs activating
GET /users/activation
Answers whether the account the caller is authenticated as has already been through activation, and returns that account’s own record alongside.
An activation link leads here first: the token it carries is accepted even though the account has not been activated yet, so the client can tell an activation that is still pending from a link that has already been used and send the visitor either to the activation form or straight on. The record answered with it is what fills that form in - the name, the e-mail address and the configuration already stored for the account.
Token authorization: Authorize using a token — either a session token obtained from login or an API key — to call this endpoint.
curl --request GET \
--url 'https://sandbox.circularo.com/api/v1/users/activation?token='import requests
url = "https://sandbox.circularo.com/api/v1/users/activation?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sandbox.circularo.com/api/v1/users/activation?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/users/activation?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/users/activation?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/users/activation?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v1/users/activation?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{
"accountActivated": false,
"user": {
"activeSessions": [
{
"authentication": [
{
"address": "*****89",
"attemptsLeft": 2,
"factor": "sms",
"unlocked": false,
"validUntil": "2023-11-07T05:31:56Z"
}
],
"connection": {
"browser": "Chrome",
"browserVersion": "130.0.0.0",
"ip": "203.0.113.42",
"location": {
"city": "Prague",
"country": "Czechia",
"countryCode": "CZ",
"region": "Prague"
},
"os": "Windows 10.0",
"platform": "Microsoft Windows",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
},
"created": "2023-11-07T05:31:56Z",
"lastUsed": "2023-11-07T05:31:56Z",
"system": false,
"username": "john.doe@example.com",
"validForMilliseconds": 2592000000
}
],
"allowBiometricSignature": false,
"authenticationFactors": [
"totp"
],
"autoTimezone": true,
"backgroundJobs": [
{
"fileHash": "<string>",
"finishedOn": "2023-11-07T05:31:56Z",
"id": "<string>",
"name": "<string>",
"queuedOn": "2023-11-07T05:31:56Z",
"result": "<string>",
"startedOn": "2023-11-07T05:31:56Z",
"status": "success"
}
],
"company": "Example Ltd.",
"config": {
"delegation": {
"activationNotificationSent": false,
"deactivationNotificationSent": false,
"time": {
"end": "2023-11-07T05:31:56Z",
"start": "2023-11-07T05:31:56Z"
},
"user": "jane.doe@example.com"
},
"initials": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"language": "en",
"navigationOpen": true,
"notifications": {
"enableAlerts": true,
"inApp": [
"shareForSign"
],
"mail": [
"shareForSign"
],
"push": [
"shareForSign"
]
},
"photo": {
"big": "<string>",
"medium": "<string>",
"nano": "<string>",
"small": "<string>"
},
"scheduler": true,
"signature": [
{
"imageId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "Full signature"
}
],
"view": "tableView"
},
"createType": "internal",
"customFields": {
"department": "Legal"
},
"dateformat": "dd/MM/yyyy",
"defaultStamp": "<string>",
"disabledIntros": [
"<string>"
],
"filters": [
{
"iconClass": "filter",
"name": "Recent contracts",
"q": "{\"documentCategory\":[\"Contract\"],\"multifieldDateItems\":[{\"date\":{\"startDate\":\"now-90d/d\",\"endDate\":\"now\",\"predefined\":\"last_90_days\"},\"queryType\":\"created\"}]}"
}
],
"firstActivityOn": "2023-11-07T05:31:56Z",
"firstDayOfWeek": 1,
"fullname": "John Doe",
"group": [
"<string>"
],
"hasActiveDelegation": false,
"hiddenStorageServices": [
"<string>"
],
"id": "john.doe@example.com",
"identities": [
{
"data": {
"id": "<string>",
"userType": "<string>"
},
"name": "uaePass"
}
],
"image": "as0ia4jdqecwq0u5s1omd9krs4u244ic2n2545kyhyat9imkwyg1bgec16r94tth",
"language": "en",
"lastActivity": "2023-11-07T05:31:56Z",
"lastReleaseAnnouncementSeen": "26.1.0",
"mail": "john.doe@example.com",
"marketing": false,
"name": "john.doe@example.com",
"organization": "<string>",
"phone": "+420123456789",
"providers": [
{
"connectedOn": "2023-11-07T05:31:56Z",
"name": "google",
"subName": "<string>"
}
],
"recordType": "internal",
"registeredOn": "2023-11-07T05:31:56Z",
"role": "Head of Legal",
"status": null,
"statusChangedOn": "2023-11-07T05:31:56Z",
"templateUsage": [
{
"count": 12,
"custom": true,
"lastUsed": "2023-11-07T05:31:56Z",
"template": "<string>"
}
],
"termsAccepted": true,
"termsAcceptedOn": "2023-11-07T05:31:56Z",
"timeformat": "h:mm a",
"timezone": "Europe/Prague",
"version": 7
}
}{
"status": 401,
"type": "AUTH:UNAUTHORIZED",
"message": "Authentication failed",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Response
Returns whether the account is already activated, together with the caller's own user record.