List the recipients of a transaction
curl --request GET \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/recipients \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/recipients")
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": [
{
"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"
}
}
}
],
"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": 404,
"type": "RESOURCE:NOT_FOUND",
"message": "Resource not found",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Transactions
List the recipients of a transaction
GET /transactions/{id}/recipients
Lists every recipient of the transaction with the current state of their participation. The list is complete — it is not paginated.
List the recipients of a transaction
curl --request GET \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/recipients \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients"
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', 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",
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"
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")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/recipients")
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": [
{
"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"
}
}
}
],
"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": 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 recipients were returned.
A list of the transaction's recipients.