curl --request GET \
--url https://sandbox.circularo.com/api/v2/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/me"
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/me', 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/me",
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/me"
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/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/me")
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{
"company": "Acme Corporation",
"customFields": {
"employeeId": "12345"
},
"dateFormat": "dd/MM/yyyy",
"documentViews": [
{
"id": "12",
"name": "Deadline This Week"
}
],
"email": "jane.doe+2024@example.com",
"firstActivityAt": "2024-11-02T09:15:30.000Z",
"firstDayOfWeek": 1,
"fullname": "John Doe",
"groupIds": [
"4f2011df-92b1-4adf-ab09-a16eb3d3f6ab"
],
"id": "john.doe+member@example.com",
"initials": [
{
"fileId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "My signature"
}
],
"isLiteUser": false,
"isOrganizationAdmin": false,
"isTimezoneAutomatic": true,
"jobTitle": "Accountant",
"language": "en",
"organizationId": "4f2011df-92b1-4adf-ab09-a16eb3d3f6ab",
"permissionProfile": "organization_user",
"phone": "+493012345678",
"photoId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"registeredAt": "2024-11-02T09:15:30.000Z",
"rights": [
"use_sign",
"view_attachments"
],
"role": "member",
"settings": {
"allowedKycProviders": [
"identomat"
],
"allowedSealProviders": [
"internal",
"company-qseal"
],
"allowedSignatureProviders": [
"internal",
"uaePassSign"
],
"availableSealProviders": [
{
"isDefault": true,
"name": "company-qseal",
"type": "internal"
}
],
"availableTsaServers": [
{
"isDefault": true,
"name": "primary"
}
],
"canShareWithExternalUsers": true,
"dateFormat": "dd/MM/yyyy",
"documentCategories": [
"contract",
"invoice"
],
"firstDayOfWeek": 1,
"language": "en",
"timeFormat": "h:mm a",
"transactionRecipientEditing": "until-recipient-acts"
},
"signatures": [
{
"fileId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "My signature"
}
],
"status": "active",
"statusChangedAt": "2024-11-02T09:15:30.000Z",
"subscriptionId": "zufpYZUBmvIz_dFpis9r",
"tenant": "default",
"termsAcceptedAt": "2024-11-02T09:15:30.000Z",
"timeFormat": "h:mm a",
"timezone": "Europe/Prague"
}{
"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"
}Retrieve your account
GET /me
Returns the account that the API key you authenticate with belongs to — your identity, role, granted permissions, locale preferences and account status.
Call this to discover which account a key is connected to and what it is allowed to do, for example to show the connected account in your integration or to check the available permissions before performing an operation. The response also carries reusable account artifacts: your configured signature images and your saved document views, ready to reference in signing and document-search calls.
curl --request GET \
--url https://sandbox.circularo.com/api/v2/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/me"
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/me', 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/me",
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/me"
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/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/me")
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{
"company": "Acme Corporation",
"customFields": {
"employeeId": "12345"
},
"dateFormat": "dd/MM/yyyy",
"documentViews": [
{
"id": "12",
"name": "Deadline This Week"
}
],
"email": "jane.doe+2024@example.com",
"firstActivityAt": "2024-11-02T09:15:30.000Z",
"firstDayOfWeek": 1,
"fullname": "John Doe",
"groupIds": [
"4f2011df-92b1-4adf-ab09-a16eb3d3f6ab"
],
"id": "john.doe+member@example.com",
"initials": [
{
"fileId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "My signature"
}
],
"isLiteUser": false,
"isOrganizationAdmin": false,
"isTimezoneAutomatic": true,
"jobTitle": "Accountant",
"language": "en",
"organizationId": "4f2011df-92b1-4adf-ab09-a16eb3d3f6ab",
"permissionProfile": "organization_user",
"phone": "+493012345678",
"photoId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"registeredAt": "2024-11-02T09:15:30.000Z",
"rights": [
"use_sign",
"view_attachments"
],
"role": "member",
"settings": {
"allowedKycProviders": [
"identomat"
],
"allowedSealProviders": [
"internal",
"company-qseal"
],
"allowedSignatureProviders": [
"internal",
"uaePassSign"
],
"availableSealProviders": [
{
"isDefault": true,
"name": "company-qseal",
"type": "internal"
}
],
"availableTsaServers": [
{
"isDefault": true,
"name": "primary"
}
],
"canShareWithExternalUsers": true,
"dateFormat": "dd/MM/yyyy",
"documentCategories": [
"contract",
"invoice"
],
"firstDayOfWeek": 1,
"language": "en",
"timeFormat": "h:mm a",
"transactionRecipientEditing": "until-recipient-acts"
},
"signatures": [
{
"fileId": "s1pss1atbzli272pinbt48n2ssy96ax2pwgqrz5qyzklwxg1kl0tq6anvz1p97xj",
"name": "My signature"
}
],
"status": "active",
"statusChangedAt": "2024-11-02T09:15:30.000Z",
"subscriptionId": "zufpYZUBmvIz_dFpis9r",
"tenant": "default",
"termsAcceptedAt": "2024-11-02T09:15:30.000Z",
"timeFormat": "h:mm a",
"timezone": "Europe/Prague"
}{
"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
Response
Returns the authenticated account.
The authenticated account: identity, role and permission profile, granted permissions, group membership, locale preferences, account status, environment settings, configured signatures and saved document views.
Where your account stands on the platform. Operations that state a required user permission profile refer to this value; what you may do inside your organization is role.
organization_user: A regular member of an organization.user: An individual account that does not belong to an organization.organization_admin: An administrator of an organization, able to manage its users and settings.admin: A system administrator with full access across the platform.
organization_user, user, organization_admin, admin "organization_user"
What you may do inside your organization. Null when you hold no role, or when your account belongs to no organization.
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.
admin, member, preparer, reader, signer, null "member"