curl --request GET \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}"
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/transactions/{id}/recipients/{recipientId}', 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/transactions/{id}/recipients/{recipientId}",
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/transactions/{id}/recipients/{recipientId}"
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/transactions/{id}/recipients/{recipientId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}")
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{
"completedAt": "2024-11-02T09:15:30.000Z",
"expiresAt": "2024-11-02T09:15:30.000Z",
"id": "sd0oAvfpB4k0yDf787x4",
"isMandatory": true,
"language": "en",
"message": "Please sign by Friday.",
"order": 1,
"permissions": [
"print"
],
"purpose": "view",
"quorum": 1,
"recipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"reminder": {
"intervalDays": 3,
"startAt": "2024-11-02T09:15:30.000Z"
},
"status": "pending",
"turnStartedAt": "2024-11-02T09:15:30.000Z",
"verification": {
"email": {
"address": "j*****e@example.com"
},
"kyc": {
"documentTypes": [
"idCard"
],
"factors": [
"idVerification"
],
"providers": [
"identomat"
],
"requiredMatches": [
"dateOfBirth"
]
},
"nafath": {
"personId": "********890"
},
"oauth": {
"factors": [
{
"type": "email",
"value": "j*****e@example.com"
}
],
"providers": [
"uaePass"
]
},
"password": {},
"sms": {
"phone": "*****78"
}
}
}{
"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": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Retrieve a recipient of a transaction
GET /transactions/{id}/recipients/{recipientId}
Retrieves one recipient of the transaction with the current state of their participation.
The recipient identifier is returned when the transaction is created, in the transaction detail and in the recipient list. A person asked to act repeatedly in a sequential transaction has one participation — and one identifier — per round.
curl --request GET \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}"
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/transactions/{id}/recipients/{recipientId}', 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/transactions/{id}/recipients/{recipientId}",
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/transactions/{id}/recipients/{recipientId}"
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/transactions/{id}/recipients/{recipientId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}")
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{
"completedAt": "2024-11-02T09:15:30.000Z",
"expiresAt": "2024-11-02T09:15:30.000Z",
"id": "sd0oAvfpB4k0yDf787x4",
"isMandatory": true,
"language": "en",
"message": "Please sign by Friday.",
"order": 1,
"permissions": [
"print"
],
"purpose": "view",
"quorum": 1,
"recipient": {
"email": "jane.doe@example.com",
"fullname": "Jane Doe",
"userId": "jane.doe@example.com"
},
"reminder": {
"intervalDays": 3,
"startAt": "2024-11-02T09:15:30.000Z"
},
"status": "pending",
"turnStartedAt": "2024-11-02T09:15:30.000Z",
"verification": {
"email": {
"address": "j*****e@example.com"
},
"kyc": {
"documentTypes": [
"idCard"
],
"factors": [
"idVerification"
],
"providers": [
"identomat"
],
"requiredMatches": [
"dateOfBirth"
]
},
"nafath": {
"personId": "********890"
},
"oauth": {
"factors": [
{
"type": "email",
"value": "j*****e@example.com"
}
],
"providers": [
"uaePass"
]
},
"password": {},
"sms": {
"phone": "*****78"
}
}
}{
"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": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Path Parameters
Response
The recipient was found and returned.
A recipient of the transaction and the current state of their participation.
The recipient's round in a sequential transaction — recipients act from the lowest order upwards, and recipients sharing an order act together in the same round. The value is relative: only the ordering and which recipients share a value are significant, not the absolute number. Null for parallel transactions and for the document owner's own signature.
1
What the recipient is allowed to do with the shared document. Null for the document owner's own signature.
print: The recipient may print the document.delegate: The recipient may delegate their action to someone else.viewMetadata: The recipient may view the document's metadata.annotateOnReject: The recipient may add annotations when rejecting.rejectWithoutComment: The recipient may reject without providing a comment.uploadFiles: The recipient may upload attachment files to the document freely, beyond filling any pre-placed attachment fields.
print, delegate, viewMetadata, annotateOnReject, rejectWithoutComment, uploadFiles What the recipient is asked to do with the document.
view: The recipient is given read-only access to the document.sign: The recipient is requested to sign the document.approve: The recipient is requested to approve the document.review: The recipient is requested to review the document.accept: The recipient is requested to accept the document.edit: The recipient is requested to edit the document.execute: The recipient is requested to perform a workflow action on the document.
view, sign, approve, review, accept, edit, execute, null Current state of the recipient's participation. Live statuses (queued, pending, viewed) describe a running transaction; once the transaction reaches a terminal status, recipients that did not act keep the status they had.
queued: The recipient is not up yet — earlier recipients act first.pending: The recipient is up and their action is awaited.viewed: The recipient has opened the document.completed: The recipient has completed their action.superseded: The recipient did not act; a peer meeting thequorumcompleted the action for their order group.rejected: The recipient has rejected the request.cancelled: The recipient's participation was cancelled before they completed their action.expired: The recipient's deadline passed before they completed their action.
queued, pending, viewed, completed, superseded, rejected, cancelled, expired "pending"