curl --request PATCH \
--url https://enterprise.tavrn.ai/v2/requestors/{requestor_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"provider_invoice_limit": 1,
"letter_of_rep": {
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"rfc_form": {
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"affidavits": {
"declared_families": [],
"documents": [
{
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"generic": {
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"correspondence": {
"custom_letter_body": "<string>",
"custom_letter_body_requires_rfc": true,
"notice": {
"title": "<string>",
"body": "<string>",
"suppress_prepayment_sentence": true,
"suppress_provider_cost_threshold_paragraph": true
},
"billing_request": {
"special_instruction": "<string>",
"cover_letter_ask": "<string>",
"auth_scope_stamp_label": "<string>"
}
}
}
'import requests
url = "https://enterprise.tavrn.ai/v2/requestors/{requestor_id}"
payload = {
"name": "<string>",
"provider_invoice_limit": 1,
"letter_of_rep": { "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" },
"rfc_form": { "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" },
"affidavits": {
"declared_families": [],
"documents": [{ "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }],
"generic": { "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
},
"correspondence": {
"custom_letter_body": "<string>",
"custom_letter_body_requires_rfc": True,
"notice": {
"title": "<string>",
"body": "<string>",
"suppress_prepayment_sentence": True,
"suppress_provider_cost_threshold_paragraph": True
},
"billing_request": {
"special_instruction": "<string>",
"cover_letter_ask": "<string>",
"auth_scope_stamp_label": "<string>"
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
provider_invoice_limit: 1,
letter_of_rep: {upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
rfc_form: {upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
affidavits: {
declared_families: [],
documents: [{upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}],
generic: {upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}
},
correspondence: {
custom_letter_body: '<string>',
custom_letter_body_requires_rfc: true,
notice: {
title: '<string>',
body: JSON.stringify('<string>'),
suppress_prepayment_sentence: true,
suppress_provider_cost_threshold_paragraph: true
},
billing_request: {
special_instruction: '<string>',
cover_letter_ask: '<string>',
auth_scope_stamp_label: '<string>'
}
}
})
};
fetch('https://enterprise.tavrn.ai/v2/requestors/{requestor_id}', 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://enterprise.tavrn.ai/v2/requestors/{requestor_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'provider_invoice_limit' => 1,
'letter_of_rep' => [
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'rfc_form' => [
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'affidavits' => [
'declared_families' => [
],
'documents' => [
[
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'generic' => [
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'correspondence' => [
'custom_letter_body' => '<string>',
'custom_letter_body_requires_rfc' => true,
'notice' => [
'title' => '<string>',
'body' => '<string>',
'suppress_prepayment_sentence' => true,
'suppress_provider_cost_threshold_paragraph' => true
],
'billing_request' => [
'special_instruction' => '<string>',
'cover_letter_ask' => '<string>',
'auth_scope_stamp_label' => '<string>'
]
]
]),
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://enterprise.tavrn.ai/v2/requestors/{requestor_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"provider_invoice_limit\": 1,\n \"letter_of_rep\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"rfc_form\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"affidavits\": {\n \"declared_families\": [],\n \"documents\": [\n {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"generic\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n },\n \"correspondence\": {\n \"custom_letter_body\": \"<string>\",\n \"custom_letter_body_requires_rfc\": true,\n \"notice\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\",\n \"suppress_prepayment_sentence\": true,\n \"suppress_provider_cost_threshold_paragraph\": true\n },\n \"billing_request\": {\n \"special_instruction\": \"<string>\",\n \"cover_letter_ask\": \"<string>\",\n \"auth_scope_stamp_label\": \"<string>\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://enterprise.tavrn.ai/v2/requestors/{requestor_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"provider_invoice_limit\": 1,\n \"letter_of_rep\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"rfc_form\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"affidavits\": {\n \"declared_families\": [],\n \"documents\": [\n {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"generic\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n },\n \"correspondence\": {\n \"custom_letter_body\": \"<string>\",\n \"custom_letter_body_requires_rfc\": true,\n \"notice\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\",\n \"suppress_prepayment_sentence\": true,\n \"suppress_provider_cost_threshold_paragraph\": true\n },\n \"billing_request\": {\n \"special_instruction\": \"<string>\",\n \"cover_letter_ask\": \"<string>\",\n \"auth_scope_stamp_label\": \"<string>\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://enterprise.tavrn.ai/v2/requestors/{requestor_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"provider_invoice_limit\": 1,\n \"letter_of_rep\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"rfc_form\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"affidavits\": {\n \"declared_families\": [],\n \"documents\": [\n {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"generic\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n },\n \"correspondence\": {\n \"custom_letter_body\": \"<string>\",\n \"custom_letter_body_requires_rfc\": true,\n \"notice\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\",\n \"suppress_prepayment_sentence\": true,\n \"suppress_provider_cost_threshold_paragraph\": true\n },\n \"billing_request\": {\n \"special_instruction\": \"<string>\",\n \"cover_letter_ask\": \"<string>\",\n \"auth_scope_stamp_label\": \"<string>\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "111111111111111111111111",
"name": "<string>",
"is_default": true,
"provider_invoice_limit": 1,
"effective_provider_invoice_limit": 1,
"letter_of_rep": {
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
},
"rfc_form": {
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
},
"affidavits": {
"declared_families": [
"records"
],
"documents": [
{
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z",
"family": "records",
"source": "FIRM_UPLOAD"
}
],
"generic": {
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
},
"config_revision": 123
},
"correspondence": {
"custom_letter_body": "<string>",
"custom_letter_body_requires_rfc": true,
"notice": {
"title": "<string>",
"body": "<string>",
"suppress_prepayment_sentence": true,
"suppress_provider_cost_threshold_paragraph": true
},
"billing_request": {
"special_instruction": "<string>",
"cover_letter_ask": "<string>",
"auth_scope_stamp_label": "<string>"
}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#internal_error"
}
}Update Requestor
Update this profile, including the default when addressed by ID. Requires requestors:write. Omitted fields remain unchanged; null clears nullable settings; supplied affidavit arrays replace their collections. Updates apply to linked retrievals. The API does not delete profiles, switch the default, or reassign retrievals.
curl --request PATCH \
--url https://enterprise.tavrn.ai/v2/requestors/{requestor_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"provider_invoice_limit": 1,
"letter_of_rep": {
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"rfc_form": {
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"affidavits": {
"declared_families": [],
"documents": [
{
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"generic": {
"upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
},
"correspondence": {
"custom_letter_body": "<string>",
"custom_letter_body_requires_rfc": true,
"notice": {
"title": "<string>",
"body": "<string>",
"suppress_prepayment_sentence": true,
"suppress_provider_cost_threshold_paragraph": true
},
"billing_request": {
"special_instruction": "<string>",
"cover_letter_ask": "<string>",
"auth_scope_stamp_label": "<string>"
}
}
}
'import requests
url = "https://enterprise.tavrn.ai/v2/requestors/{requestor_id}"
payload = {
"name": "<string>",
"provider_invoice_limit": 1,
"letter_of_rep": { "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" },
"rfc_form": { "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" },
"affidavits": {
"declared_families": [],
"documents": [{ "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }],
"generic": { "upload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
},
"correspondence": {
"custom_letter_body": "<string>",
"custom_letter_body_requires_rfc": True,
"notice": {
"title": "<string>",
"body": "<string>",
"suppress_prepayment_sentence": True,
"suppress_provider_cost_threshold_paragraph": True
},
"billing_request": {
"special_instruction": "<string>",
"cover_letter_ask": "<string>",
"auth_scope_stamp_label": "<string>"
}
}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
provider_invoice_limit: 1,
letter_of_rep: {upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
rfc_form: {upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'},
affidavits: {
declared_families: [],
documents: [{upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}],
generic: {upload_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'}
},
correspondence: {
custom_letter_body: '<string>',
custom_letter_body_requires_rfc: true,
notice: {
title: '<string>',
body: JSON.stringify('<string>'),
suppress_prepayment_sentence: true,
suppress_provider_cost_threshold_paragraph: true
},
billing_request: {
special_instruction: '<string>',
cover_letter_ask: '<string>',
auth_scope_stamp_label: '<string>'
}
}
})
};
fetch('https://enterprise.tavrn.ai/v2/requestors/{requestor_id}', 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://enterprise.tavrn.ai/v2/requestors/{requestor_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'provider_invoice_limit' => 1,
'letter_of_rep' => [
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'rfc_form' => [
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
],
'affidavits' => [
'declared_families' => [
],
'documents' => [
[
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'generic' => [
'upload_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'correspondence' => [
'custom_letter_body' => '<string>',
'custom_letter_body_requires_rfc' => true,
'notice' => [
'title' => '<string>',
'body' => '<string>',
'suppress_prepayment_sentence' => true,
'suppress_provider_cost_threshold_paragraph' => true
],
'billing_request' => [
'special_instruction' => '<string>',
'cover_letter_ask' => '<string>',
'auth_scope_stamp_label' => '<string>'
]
]
]),
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://enterprise.tavrn.ai/v2/requestors/{requestor_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"provider_invoice_limit\": 1,\n \"letter_of_rep\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"rfc_form\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"affidavits\": {\n \"declared_families\": [],\n \"documents\": [\n {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"generic\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n },\n \"correspondence\": {\n \"custom_letter_body\": \"<string>\",\n \"custom_letter_body_requires_rfc\": true,\n \"notice\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\",\n \"suppress_prepayment_sentence\": true,\n \"suppress_provider_cost_threshold_paragraph\": true\n },\n \"billing_request\": {\n \"special_instruction\": \"<string>\",\n \"cover_letter_ask\": \"<string>\",\n \"auth_scope_stamp_label\": \"<string>\"\n }\n }\n}")
req, _ := http.NewRequest("PATCH", 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.patch("https://enterprise.tavrn.ai/v2/requestors/{requestor_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"provider_invoice_limit\": 1,\n \"letter_of_rep\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"rfc_form\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"affidavits\": {\n \"declared_families\": [],\n \"documents\": [\n {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"generic\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n },\n \"correspondence\": {\n \"custom_letter_body\": \"<string>\",\n \"custom_letter_body_requires_rfc\": true,\n \"notice\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\",\n \"suppress_prepayment_sentence\": true,\n \"suppress_provider_cost_threshold_paragraph\": true\n },\n \"billing_request\": {\n \"special_instruction\": \"<string>\",\n \"cover_letter_ask\": \"<string>\",\n \"auth_scope_stamp_label\": \"<string>\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://enterprise.tavrn.ai/v2/requestors/{requestor_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"provider_invoice_limit\": 1,\n \"letter_of_rep\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"rfc_form\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n },\n \"affidavits\": {\n \"declared_families\": [],\n \"documents\": [\n {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"generic\": {\n \"upload_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n },\n \"correspondence\": {\n \"custom_letter_body\": \"<string>\",\n \"custom_letter_body_requires_rfc\": true,\n \"notice\": {\n \"title\": \"<string>\",\n \"body\": \"<string>\",\n \"suppress_prepayment_sentence\": true,\n \"suppress_provider_cost_threshold_paragraph\": true\n },\n \"billing_request\": {\n \"special_instruction\": \"<string>\",\n \"cover_letter_ask\": \"<string>\",\n \"auth_scope_stamp_label\": \"<string>\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "111111111111111111111111",
"name": "<string>",
"is_default": true,
"provider_invoice_limit": 1,
"effective_provider_invoice_limit": 1,
"letter_of_rep": {
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
},
"rfc_form": {
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
},
"affidavits": {
"declared_families": [
"records"
],
"documents": [
{
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z",
"family": "records",
"source": "FIRM_UPLOAD"
}
],
"generic": {
"file_name": "<string>",
"page_count": 123,
"uploaded_at": "2023-11-07T05:31:56Z"
},
"config_revision": 123
},
"correspondence": {
"custom_letter_body": "<string>",
"custom_letter_body_requires_rfc": true,
"notice": {
"title": "<string>",
"body": "<string>",
"suppress_prepayment_sentence": true,
"suppress_provider_cost_threshold_paragraph": true
},
"billing_request": {
"special_instruction": "<string>",
"cover_letter_ask": "<string>",
"auth_scope_stamp_label": "<string>"
}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "validation_error",
"message": "The patient.date_of_birth field is required",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"param": "patient.date_of_birth",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#validation_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"request_id": "req_0c1f1f1cd1c84e2f8d4b6a2e9f3b7a11",
"doc_url": "https://docs.tavrn.ai/guides/v2/errors#internal_error"
}
}Authorizations
API key authentication. Use format: Authorization: Bearer tavrn_sk_live_... Live keys (tavrn_sk_live_...) work only against https://enterprise.tavrn.ai; sandbox test keys (tavrn_sk_test_..., from https://sandbox.tavrn.ai) work only against https://sandbox.tavrn.ai.
Headers
Path Parameters
Body
Update supplied fields only. Null clears nullable document slots/settings; arrays replace their corresponding collection. Changes affect existing linked retrievals.
Response
Profile updated