curl --request POST \
--url https://orchestrator.control.coincover.com/v1/backup/recover \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"user_identifier": "john.doe@example.com",
"verification_id": "inq_abc123xyz",
"gpg_public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"
}
'import requests
url = "https://orchestrator.control.coincover.com/v1/backup/recover"
payload = {
"user_identifier": "john.doe@example.com",
"verification_id": "inq_abc123xyz",
"gpg_public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_identifier: 'john.doe@example.com',
verification_id: 'inq_abc123xyz',
gpg_public_key: '-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----'
})
};
fetch('https://orchestrator.control.coincover.com/v1/backup/recover', 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://orchestrator.control.coincover.com/v1/backup/recover",
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([
'user_identifier' => 'john.doe@example.com',
'verification_id' => 'inq_abc123xyz',
'gpg_public_key' => '-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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://orchestrator.control.coincover.com/v1/backup/recover"
payload := strings.NewReader("{\n \"user_identifier\": \"john.doe@example.com\",\n \"verification_id\": \"inq_abc123xyz\",\n \"gpg_public_key\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n...\\n-----END PGP PUBLIC KEY BLOCK-----\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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://orchestrator.control.coincover.com/v1/backup/recover")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user_identifier\": \"john.doe@example.com\",\n \"verification_id\": \"inq_abc123xyz\",\n \"gpg_public_key\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n...\\n-----END PGP PUBLIC KEY BLOCK-----\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://orchestrator.control.coincover.com/v1/backup/recover")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_identifier\": \"john.doe@example.com\",\n \"verification_id\": \"inq_abc123xyz\",\n \"gpg_public_key\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n...\\n-----END PGP PUBLIC KEY BLOCK-----\"\n}"
response = http.request(request)
puts response.read_body{
"backup": [
{
"backup_id": "550e8400-e29b-41d4-a716-446655440000",
"backup_item_key": "seed_phrase",
"recovery_id": "660e8400-e29b-41d4-a716-446655440001",
"recovery_package": {
"algorithm": "gpg",
"data": "LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tCkNpY2VsbGEgZGljdGEgc2VkIGVsZWlmZW5kLi4uCg=="
},
"original_filename": "backup.json",
"content_type": "application/json",
"original_size": "1024"
}
]
}Recover encrypted backup data
Recovers previously stored backup data. Requires successful identity verification (verification_id must be approved/successful). Requires a GPG public key for encrypting the recovered data. Returns an array of backup recovery results, each containing recovery information or error details. This endpoint calls the hot-keys orchestrator recover-backup endpoint for each backup associated with the user.
curl --request POST \
--url https://orchestrator.control.coincover.com/v1/backup/recover \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"user_identifier": "john.doe@example.com",
"verification_id": "inq_abc123xyz",
"gpg_public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"
}
'import requests
url = "https://orchestrator.control.coincover.com/v1/backup/recover"
payload = {
"user_identifier": "john.doe@example.com",
"verification_id": "inq_abc123xyz",
"gpg_public_key": "-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user_identifier: 'john.doe@example.com',
verification_id: 'inq_abc123xyz',
gpg_public_key: '-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----'
})
};
fetch('https://orchestrator.control.coincover.com/v1/backup/recover', 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://orchestrator.control.coincover.com/v1/backup/recover",
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([
'user_identifier' => 'john.doe@example.com',
'verification_id' => 'inq_abc123xyz',
'gpg_public_key' => '-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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://orchestrator.control.coincover.com/v1/backup/recover"
payload := strings.NewReader("{\n \"user_identifier\": \"john.doe@example.com\",\n \"verification_id\": \"inq_abc123xyz\",\n \"gpg_public_key\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n...\\n-----END PGP PUBLIC KEY BLOCK-----\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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://orchestrator.control.coincover.com/v1/backup/recover")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user_identifier\": \"john.doe@example.com\",\n \"verification_id\": \"inq_abc123xyz\",\n \"gpg_public_key\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n...\\n-----END PGP PUBLIC KEY BLOCK-----\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://orchestrator.control.coincover.com/v1/backup/recover")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user_identifier\": \"john.doe@example.com\",\n \"verification_id\": \"inq_abc123xyz\",\n \"gpg_public_key\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n...\\n-----END PGP PUBLIC KEY BLOCK-----\"\n}"
response = http.request(request)
puts response.read_body{
"backup": [
{
"backup_id": "550e8400-e29b-41d4-a716-446655440000",
"backup_item_key": "seed_phrase",
"recovery_id": "660e8400-e29b-41d4-a716-446655440001",
"recovery_package": {
"algorithm": "gpg",
"data": "LS0tLS1CRUdJTiBQR1AgTUVTU0FHRS0tLS0tCkNpY2VsbGEgZGljdGEgc2VkIGVsZWlmZW5kLi4uCg=="
},
"original_filename": "backup.json",
"content_type": "application/json",
"original_size": "1024"
}
]
}Authorizations
API key for authentication and authorization
Body
User identifier (REQUIRED)
"john.doe@example.com"
Verification ID from a successful verification. (REQUIRED) Must be approved/successful.
"inq_abc123xyz"
GPG public key in PGP public key block format for encrypting the recovered data. (REQUIRED)
^-----BEGIN PGP PUBLIC KEY BLOCK-----[\s\S]*?-----END PGP PUBLIC KEY BLOCK-----$"-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"
Response
Backup recovered successfully
Array of recovered backup items. Each item contains recovery information or error details.
Show child attributes
Show child attributes