cURL
curl --request POST \
--url https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'X-API-Key: <api-key>' \
--data '
{
"answers": [
{
"question_id": "<string>",
"boolean_value": true,
"explanation": "<string>",
"text_value": "<string>"
}
],
"documents_uploaded": true
}
'import requests
url = "https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response"
payload = {
"answers": [
{
"question_id": "<string>",
"boolean_value": True,
"explanation": "<string>",
"text_value": "<string>"
}
],
"documents_uploaded": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json; charset=utf-8"
}
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; charset=utf-8'},
body: JSON.stringify({
answers: [
{
question_id: '<string>',
boolean_value: true,
explanation: '<string>',
text_value: '<string>'
}
],
documents_uploaded: true
})
};
fetch('https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response', 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://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response",
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([
'answers' => [
[
'question_id' => '<string>',
'boolean_value' => true,
'explanation' => '<string>',
'text_value' => '<string>'
]
],
'documents_uploaded' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json; charset=utf-8",
"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://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response"
payload := strings.NewReader("{\n \"answers\": [\n {\n \"question_id\": \"<string>\",\n \"boolean_value\": true,\n \"explanation\": \"<string>\",\n \"text_value\": \"<string>\"\n }\n ],\n \"documents_uploaded\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json; charset=utf-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json; charset=utf-8")
.body("{\n \"answers\": [\n {\n \"question_id\": \"<string>\",\n \"boolean_value\": true,\n \"explanation\": \"<string>\",\n \"text_value\": \"<string>\"\n }\n ],\n \"documents_uploaded\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response")
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; charset=utf-8'
request.body = "{\n \"answers\": [\n {\n \"question_id\": \"<string>\",\n \"boolean_value\": true,\n \"explanation\": \"<string>\",\n \"text_value\": \"<string>\"\n }\n ],\n \"documents_uploaded\": true\n}"
response = http.request(request)
puts response.read_body"<string>"FraudRfi
Post fraud rfis response
POST
/
fraud-rfis
/
{rfi_id}
/
response
cURL
curl --request POST \
--url https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'X-API-Key: <api-key>' \
--data '
{
"answers": [
{
"question_id": "<string>",
"boolean_value": true,
"explanation": "<string>",
"text_value": "<string>"
}
],
"documents_uploaded": true
}
'import requests
url = "https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response"
payload = {
"answers": [
{
"question_id": "<string>",
"boolean_value": True,
"explanation": "<string>",
"text_value": "<string>"
}
],
"documents_uploaded": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json; charset=utf-8"
}
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; charset=utf-8'},
body: JSON.stringify({
answers: [
{
question_id: '<string>',
boolean_value: true,
explanation: '<string>',
text_value: '<string>'
}
],
documents_uploaded: true
})
};
fetch('https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response', 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://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response",
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([
'answers' => [
[
'question_id' => '<string>',
'boolean_value' => true,
'explanation' => '<string>',
'text_value' => '<string>'
]
],
'documents_uploaded' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json; charset=utf-8",
"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://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response"
payload := strings.NewReader("{\n \"answers\": [\n {\n \"question_id\": \"<string>\",\n \"boolean_value\": true,\n \"explanation\": \"<string>\",\n \"text_value\": \"<string>\"\n }\n ],\n \"documents_uploaded\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json; charset=utf-8")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json; charset=utf-8")
.body("{\n \"answers\": [\n {\n \"question_id\": \"<string>\",\n \"boolean_value\": true,\n \"explanation\": \"<string>\",\n \"text_value\": \"<string>\"\n }\n ],\n \"documents_uploaded\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/fraud-rfis/{rfi_id}/response")
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; charset=utf-8'
request.body = "{\n \"answers\": [\n {\n \"question_id\": \"<string>\",\n \"boolean_value\": true,\n \"explanation\": \"<string>\",\n \"text_value\": \"<string>\"\n }\n ],\n \"documents_uploaded\": true\n}"
response = http.request(request)
puts response.read_body"<string>"Authorizations
API Key
Headers
Selects the API version for this request, as an ISO date (YYYY-MM-DD). Omit to use the default version (2025-03-13). Supported versions: 2025-03-13, 2026-07-01, 2026-08-01.
Path Parameters
Body
application/json; charset=utf-8
Response
Was this page helpful?