curl --request POST \
--url https://api.example.com/api/v0/dental/batch_inquiries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"type": "BENEFITS",
"desired_completion_date": "03-19-2024",
"patient_name": "Alex Martin",
"dob": "01-31-2020",
"member_id": "123456789",
"tax_id": "123456789",
"group_id": "123456",
"insurance_in_network": true,
"npi": "1234567890",
"billing_npi": "1234567890",
"rendering_npi": "1234567890",
"external_id": "<string>",
"practice_billing_address": "123 Main St, New York, NY 10001",
"diagnosis_codes": [
"F41.1",
"F42.23"
],
"claims_date_of_service": "01-31-2020",
"claim_number": "1234567890",
"additional_info": "The patient is on a Medicare plan and we need to know their secondary insurance benefits.",
"call_script_id": null,
"insurance": "CIGNA",
"benefits_query": [
"CODE_LOOKUP_BENEFITS"
],
"benefits_codes": [
"D1110",
"D1120",
"1130"
],
"is_specialist": true,
"insurance_payor_id": "60054"
}
]
'import requests
url = "https://api.example.com/api/v0/dental/batch_inquiries"
payload = [
{
"type": "BENEFITS",
"desired_completion_date": "03-19-2024",
"patient_name": "Alex Martin",
"dob": "01-31-2020",
"member_id": "123456789",
"tax_id": "123456789",
"group_id": "123456",
"insurance_in_network": True,
"npi": "1234567890",
"billing_npi": "1234567890",
"rendering_npi": "1234567890",
"external_id": "<string>",
"practice_billing_address": "123 Main St, New York, NY 10001",
"diagnosis_codes": ["F41.1", "F42.23"],
"claims_date_of_service": "01-31-2020",
"claim_number": "1234567890",
"additional_info": "The patient is on a Medicare plan and we need to know their secondary insurance benefits.",
"call_script_id": None,
"insurance": "CIGNA",
"benefits_query": ["CODE_LOOKUP_BENEFITS"],
"benefits_codes": ["D1110", "D1120", "1130"],
"is_specialist": True,
"insurance_payor_id": "60054"
}
]
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([
{
type: 'BENEFITS',
desired_completion_date: '03-19-2024',
patient_name: 'Alex Martin',
dob: '01-31-2020',
member_id: '123456789',
tax_id: '123456789',
group_id: '123456',
insurance_in_network: true,
npi: '1234567890',
billing_npi: '1234567890',
rendering_npi: '1234567890',
external_id: '<string>',
practice_billing_address: '123 Main St, New York, NY 10001',
diagnosis_codes: ['F41.1', 'F42.23'],
claims_date_of_service: '01-31-2020',
claim_number: '1234567890',
additional_info: 'The patient is on a Medicare plan and we need to know their secondary insurance benefits.',
call_script_id: null,
insurance: 'CIGNA',
benefits_query: ['CODE_LOOKUP_BENEFITS'],
benefits_codes: ['D1110', 'D1120', '1130'],
is_specialist: true,
insurance_payor_id: '60054'
}
])
};
fetch('https://api.example.com/api/v0/dental/batch_inquiries', 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.example.com/api/v0/dental/batch_inquiries",
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([
[
'type' => 'BENEFITS',
'desired_completion_date' => '03-19-2024',
'patient_name' => 'Alex Martin',
'dob' => '01-31-2020',
'member_id' => '123456789',
'tax_id' => '123456789',
'group_id' => '123456',
'insurance_in_network' => true,
'npi' => '1234567890',
'billing_npi' => '1234567890',
'rendering_npi' => '1234567890',
'external_id' => '<string>',
'practice_billing_address' => '123 Main St, New York, NY 10001',
'diagnosis_codes' => [
'F41.1',
'F42.23'
],
'claims_date_of_service' => '01-31-2020',
'claim_number' => '1234567890',
'additional_info' => 'The patient is on a Medicare plan and we need to know their secondary insurance benefits.',
'call_script_id' => null,
'insurance' => 'CIGNA',
'benefits_query' => [
'CODE_LOOKUP_BENEFITS'
],
'benefits_codes' => [
'D1110',
'D1120',
'1130'
],
'is_specialist' => true,
'insurance_payor_id' => '60054'
]
]),
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://api.example.com/api/v0/dental/batch_inquiries"
payload := strings.NewReader("[\n {\n \"type\": \"BENEFITS\",\n \"desired_completion_date\": \"03-19-2024\",\n \"patient_name\": \"Alex Martin\",\n \"dob\": \"01-31-2020\",\n \"member_id\": \"123456789\",\n \"tax_id\": \"123456789\",\n \"group_id\": \"123456\",\n \"insurance_in_network\": true,\n \"npi\": \"1234567890\",\n \"billing_npi\": \"1234567890\",\n \"rendering_npi\": \"1234567890\",\n \"external_id\": \"<string>\",\n \"practice_billing_address\": \"123 Main St, New York, NY 10001\",\n \"diagnosis_codes\": [\n \"F41.1\",\n \"F42.23\"\n ],\n \"claims_date_of_service\": \"01-31-2020\",\n \"claim_number\": \"1234567890\",\n \"additional_info\": \"The patient is on a Medicare plan and we need to know their secondary insurance benefits.\",\n \"call_script_id\": null,\n \"insurance\": \"CIGNA\",\n \"benefits_query\": [\n \"CODE_LOOKUP_BENEFITS\"\n ],\n \"benefits_codes\": [\n \"D1110\",\n \"D1120\",\n \"1130\"\n ],\n \"is_specialist\": true,\n \"insurance_payor_id\": \"60054\"\n }\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://api.example.com/api/v0/dental/batch_inquiries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"type\": \"BENEFITS\",\n \"desired_completion_date\": \"03-19-2024\",\n \"patient_name\": \"Alex Martin\",\n \"dob\": \"01-31-2020\",\n \"member_id\": \"123456789\",\n \"tax_id\": \"123456789\",\n \"group_id\": \"123456\",\n \"insurance_in_network\": true,\n \"npi\": \"1234567890\",\n \"billing_npi\": \"1234567890\",\n \"rendering_npi\": \"1234567890\",\n \"external_id\": \"<string>\",\n \"practice_billing_address\": \"123 Main St, New York, NY 10001\",\n \"diagnosis_codes\": [\n \"F41.1\",\n \"F42.23\"\n ],\n \"claims_date_of_service\": \"01-31-2020\",\n \"claim_number\": \"1234567890\",\n \"additional_info\": \"The patient is on a Medicare plan and we need to know their secondary insurance benefits.\",\n \"call_script_id\": null,\n \"insurance\": \"CIGNA\",\n \"benefits_query\": [\n \"CODE_LOOKUP_BENEFITS\"\n ],\n \"benefits_codes\": [\n \"D1110\",\n \"D1120\",\n \"1130\"\n ],\n \"is_specialist\": true,\n \"insurance_payor_id\": \"60054\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v0/dental/batch_inquiries")
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 {\n \"type\": \"BENEFITS\",\n \"desired_completion_date\": \"03-19-2024\",\n \"patient_name\": \"Alex Martin\",\n \"dob\": \"01-31-2020\",\n \"member_id\": \"123456789\",\n \"tax_id\": \"123456789\",\n \"group_id\": \"123456\",\n \"insurance_in_network\": true,\n \"npi\": \"1234567890\",\n \"billing_npi\": \"1234567890\",\n \"rendering_npi\": \"1234567890\",\n \"external_id\": \"<string>\",\n \"practice_billing_address\": \"123 Main St, New York, NY 10001\",\n \"diagnosis_codes\": [\n \"F41.1\",\n \"F42.23\"\n ],\n \"claims_date_of_service\": \"01-31-2020\",\n \"claim_number\": \"1234567890\",\n \"additional_info\": \"The patient is on a Medicare plan and we need to know their secondary insurance benefits.\",\n \"call_script_id\": null,\n \"insurance\": \"CIGNA\",\n \"benefits_query\": [\n \"CODE_LOOKUP_BENEFITS\"\n ],\n \"benefits_codes\": [\n \"D1110\",\n \"D1120\",\n \"1130\"\n ],\n \"is_specialist\": true,\n \"insurance_payor_id\": \"60054\"\n }\n]"
response = http.request(request)
puts response.read_body[
{
"success": true,
"inquiry_id": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create Dental Inquiries
curl --request POST \
--url https://api.example.com/api/v0/dental/batch_inquiries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"type": "BENEFITS",
"desired_completion_date": "03-19-2024",
"patient_name": "Alex Martin",
"dob": "01-31-2020",
"member_id": "123456789",
"tax_id": "123456789",
"group_id": "123456",
"insurance_in_network": true,
"npi": "1234567890",
"billing_npi": "1234567890",
"rendering_npi": "1234567890",
"external_id": "<string>",
"practice_billing_address": "123 Main St, New York, NY 10001",
"diagnosis_codes": [
"F41.1",
"F42.23"
],
"claims_date_of_service": "01-31-2020",
"claim_number": "1234567890",
"additional_info": "The patient is on a Medicare plan and we need to know their secondary insurance benefits.",
"call_script_id": null,
"insurance": "CIGNA",
"benefits_query": [
"CODE_LOOKUP_BENEFITS"
],
"benefits_codes": [
"D1110",
"D1120",
"1130"
],
"is_specialist": true,
"insurance_payor_id": "60054"
}
]
'import requests
url = "https://api.example.com/api/v0/dental/batch_inquiries"
payload = [
{
"type": "BENEFITS",
"desired_completion_date": "03-19-2024",
"patient_name": "Alex Martin",
"dob": "01-31-2020",
"member_id": "123456789",
"tax_id": "123456789",
"group_id": "123456",
"insurance_in_network": True,
"npi": "1234567890",
"billing_npi": "1234567890",
"rendering_npi": "1234567890",
"external_id": "<string>",
"practice_billing_address": "123 Main St, New York, NY 10001",
"diagnosis_codes": ["F41.1", "F42.23"],
"claims_date_of_service": "01-31-2020",
"claim_number": "1234567890",
"additional_info": "The patient is on a Medicare plan and we need to know their secondary insurance benefits.",
"call_script_id": None,
"insurance": "CIGNA",
"benefits_query": ["CODE_LOOKUP_BENEFITS"],
"benefits_codes": ["D1110", "D1120", "1130"],
"is_specialist": True,
"insurance_payor_id": "60054"
}
]
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([
{
type: 'BENEFITS',
desired_completion_date: '03-19-2024',
patient_name: 'Alex Martin',
dob: '01-31-2020',
member_id: '123456789',
tax_id: '123456789',
group_id: '123456',
insurance_in_network: true,
npi: '1234567890',
billing_npi: '1234567890',
rendering_npi: '1234567890',
external_id: '<string>',
practice_billing_address: '123 Main St, New York, NY 10001',
diagnosis_codes: ['F41.1', 'F42.23'],
claims_date_of_service: '01-31-2020',
claim_number: '1234567890',
additional_info: 'The patient is on a Medicare plan and we need to know their secondary insurance benefits.',
call_script_id: null,
insurance: 'CIGNA',
benefits_query: ['CODE_LOOKUP_BENEFITS'],
benefits_codes: ['D1110', 'D1120', '1130'],
is_specialist: true,
insurance_payor_id: '60054'
}
])
};
fetch('https://api.example.com/api/v0/dental/batch_inquiries', 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.example.com/api/v0/dental/batch_inquiries",
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([
[
'type' => 'BENEFITS',
'desired_completion_date' => '03-19-2024',
'patient_name' => 'Alex Martin',
'dob' => '01-31-2020',
'member_id' => '123456789',
'tax_id' => '123456789',
'group_id' => '123456',
'insurance_in_network' => true,
'npi' => '1234567890',
'billing_npi' => '1234567890',
'rendering_npi' => '1234567890',
'external_id' => '<string>',
'practice_billing_address' => '123 Main St, New York, NY 10001',
'diagnosis_codes' => [
'F41.1',
'F42.23'
],
'claims_date_of_service' => '01-31-2020',
'claim_number' => '1234567890',
'additional_info' => 'The patient is on a Medicare plan and we need to know their secondary insurance benefits.',
'call_script_id' => null,
'insurance' => 'CIGNA',
'benefits_query' => [
'CODE_LOOKUP_BENEFITS'
],
'benefits_codes' => [
'D1110',
'D1120',
'1130'
],
'is_specialist' => true,
'insurance_payor_id' => '60054'
]
]),
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://api.example.com/api/v0/dental/batch_inquiries"
payload := strings.NewReader("[\n {\n \"type\": \"BENEFITS\",\n \"desired_completion_date\": \"03-19-2024\",\n \"patient_name\": \"Alex Martin\",\n \"dob\": \"01-31-2020\",\n \"member_id\": \"123456789\",\n \"tax_id\": \"123456789\",\n \"group_id\": \"123456\",\n \"insurance_in_network\": true,\n \"npi\": \"1234567890\",\n \"billing_npi\": \"1234567890\",\n \"rendering_npi\": \"1234567890\",\n \"external_id\": \"<string>\",\n \"practice_billing_address\": \"123 Main St, New York, NY 10001\",\n \"diagnosis_codes\": [\n \"F41.1\",\n \"F42.23\"\n ],\n \"claims_date_of_service\": \"01-31-2020\",\n \"claim_number\": \"1234567890\",\n \"additional_info\": \"The patient is on a Medicare plan and we need to know their secondary insurance benefits.\",\n \"call_script_id\": null,\n \"insurance\": \"CIGNA\",\n \"benefits_query\": [\n \"CODE_LOOKUP_BENEFITS\"\n ],\n \"benefits_codes\": [\n \"D1110\",\n \"D1120\",\n \"1130\"\n ],\n \"is_specialist\": true,\n \"insurance_payor_id\": \"60054\"\n }\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://api.example.com/api/v0/dental/batch_inquiries")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"type\": \"BENEFITS\",\n \"desired_completion_date\": \"03-19-2024\",\n \"patient_name\": \"Alex Martin\",\n \"dob\": \"01-31-2020\",\n \"member_id\": \"123456789\",\n \"tax_id\": \"123456789\",\n \"group_id\": \"123456\",\n \"insurance_in_network\": true,\n \"npi\": \"1234567890\",\n \"billing_npi\": \"1234567890\",\n \"rendering_npi\": \"1234567890\",\n \"external_id\": \"<string>\",\n \"practice_billing_address\": \"123 Main St, New York, NY 10001\",\n \"diagnosis_codes\": [\n \"F41.1\",\n \"F42.23\"\n ],\n \"claims_date_of_service\": \"01-31-2020\",\n \"claim_number\": \"1234567890\",\n \"additional_info\": \"The patient is on a Medicare plan and we need to know their secondary insurance benefits.\",\n \"call_script_id\": null,\n \"insurance\": \"CIGNA\",\n \"benefits_query\": [\n \"CODE_LOOKUP_BENEFITS\"\n ],\n \"benefits_codes\": [\n \"D1110\",\n \"D1120\",\n \"1130\"\n ],\n \"is_specialist\": true,\n \"insurance_payor_id\": \"60054\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v0/dental/batch_inquiries")
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 {\n \"type\": \"BENEFITS\",\n \"desired_completion_date\": \"03-19-2024\",\n \"patient_name\": \"Alex Martin\",\n \"dob\": \"01-31-2020\",\n \"member_id\": \"123456789\",\n \"tax_id\": \"123456789\",\n \"group_id\": \"123456\",\n \"insurance_in_network\": true,\n \"npi\": \"1234567890\",\n \"billing_npi\": \"1234567890\",\n \"rendering_npi\": \"1234567890\",\n \"external_id\": \"<string>\",\n \"practice_billing_address\": \"123 Main St, New York, NY 10001\",\n \"diagnosis_codes\": [\n \"F41.1\",\n \"F42.23\"\n ],\n \"claims_date_of_service\": \"01-31-2020\",\n \"claim_number\": \"1234567890\",\n \"additional_info\": \"The patient is on a Medicare plan and we need to know their secondary insurance benefits.\",\n \"call_script_id\": null,\n \"insurance\": \"CIGNA\",\n \"benefits_query\": [\n \"CODE_LOOKUP_BENEFITS\"\n ],\n \"benefits_codes\": [\n \"D1110\",\n \"D1120\",\n \"1130\"\n ],\n \"is_specialist\": true,\n \"insurance_payor_id\": \"60054\"\n }\n]"
response = http.request(request)
puts response.read_body[
{
"success": true,
"inquiry_id": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Body
Any additional information about the inquiry that is not covered by the other fields. This can be used to pass in any additional information for the request. Please check with the Health Harbor team before using this field as it may not be incorporated into the inquiry unless we are already aware of it.
"The patient is on a Medicare plan and we need to know their secondary insurance benefits."
Optional ID of a call script belonging to your team. Use for eligibility/benefits inquiries to control which questions are asked. You can find call script IDs on the Accounts page in the dashboard. When provided, it must be a script your team created. For eligibility search, either benefits queries or this field may satisfy the requirement—see Health Harbor documentation.
null
The benefits queries for the inquiry if provided by the user. Can be either a pre-defined set of questions (e.g. STANDARD for returning patients) or an ad-hoc defined set of codes.
An enumeration.
STANDARD, CODE_LOOKUP_BENEFITS, CODE_LOOKUP_FREQUENCIES, TREATMENT_HISTORY, DEDUCTIBLES_AND_MAXIMUMS, UNKNOWN ["CODE_LOOKUP_BENEFITS"]
["STANDARD"]