Remind all pending recipients
curl --request POST \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/remind \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/remind"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.circularo.com/api/v2/transactions/{id}/remind', 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}/remind",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/remind"
req, _ := http.NewRequest("POST", 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.post("https://sandbox.circularo.com/api/v2/transactions/{id}/remind")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/remind")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Transactions
Remind all pending recipients
POST /transactions/{id}/remind
Sends an email reminder to every recipient of the transaction whose action is currently awaited, and returns the recipients it was sent to.
To avoid spamming, each recipient is reminded at most once per day — recipients reminded within the last 24 hours are skipped and left out of the response, which is therefore empty when nobody was due. To remind a single recipient, or to remind by SMS, use POST /transactions/{id}/recipients/{recipientId}/remind instead.
Remind all pending recipients
curl --request POST \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/remind \
--header 'Authorization: Bearer <token>'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/remind"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://sandbox.circularo.com/api/v2/transactions/{id}/remind', 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}/remind",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
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}/remind"
req, _ := http.NewRequest("POST", 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.post("https://sandbox.circularo.com/api/v2/transactions/{id}/remind")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/remind")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.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": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Authorizations
Path Parameters
Response
The reminders due were sent; returns the recipients they reached, an empty list when nobody was due.
A list of the transaction's recipients a reminder was sent to.