curl --request POST \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"recipient": "laura.bennett@example.com"
}
'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign"
payload = { "recipient": "laura.bennett@example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({recipient: 'laura.bennett@example.com'})
};
fetch('https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign', 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}/reassign",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'recipient' => 'laura.bennett@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign"
payload := strings.NewReader("{\n \"recipient\": \"laura.bennett@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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}/recipients/{recipientId}/reassign")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"recipient\": \"laura.bennett@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"recipient\": \"laura.bennett@example.com\"\n}"
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": 409,
"type": "RESOURCE:STATE_CONFLICT",
"message": "Resource state conflict",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}{
"status": 429,
"type": "SYSTEM:RATE_LIMIT_EXCEEDED",
"message": "Rate limit exceeded",
"requestId": "3fa85f6457174562b3fc2c963f66afa6"
}Reassign a recipient of a transaction
POST /transactions/{id}/recipients/{recipientId}/reassign
Hands a recipient’s participation in a running transaction over to someone else. The previous participation is removed from the transaction — its identifier no longer resolves — and a new one, with a new identifier returned in the response, takes its place, inheriting every setting you do not override. The new recipient is notified right away.
Verification tied to the previous recipient personally — SMS, email, OAuth, Nafath, or the expected identity data of a KYC check — does not carry over: provide a new verification, or set it to null to remove it. For KYC, supply the new recipient’s expected identity data, or set expectedData to null to keep the check without an identity match. A verification that carries nothing personal — a password, or a KYC check without expected identity data — is inherited unchanged. The recipient’s private message is not carried over either and cannot be re-supplied here. Transaction editing must be enabled in your organization’s Circularo settings.
curl --request POST \
--url https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"recipient": "laura.bennett@example.com"
}
'import requests
url = "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign"
payload = { "recipient": "laura.bennett@example.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({recipient: 'laura.bennett@example.com'})
};
fetch('https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign', 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}/reassign",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'recipient' => 'laura.bennett@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign"
payload := strings.NewReader("{\n \"recipient\": \"laura.bennett@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
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}/recipients/{recipientId}/reassign")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"recipient\": \"laura.bennett@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.circularo.com/api/v2/transactions/{id}/recipients/{recipientId}/reassign")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"recipient\": \"laura.bennett@example.com\"\n}"
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": 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
Body
The new recipient of the participation, with optional overrides of its settings. An omitted field is inherited from the current participation; a null field is restored to its default.
Identifier or email address of the new recipient. A user is looked up by identifier first, then by email address; an email address that matches no user makes the new recipient an external party without a Circularo account. Recipients outside your organization are allowed only when you may share outside it. A suspended user cannot become the new recipient.
1^[A-Za-z0-9.@_+-]+$"john.doe+member@example.com"
What the recipient is allowed to do with the shared document. Replaces the current permissions; an empty array removes all of them, null restores the default set.
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 Response
Returns the new participation that replaces the previous one.
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"