curl --request POST \
--url https://api.develophealth.ai/pa-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"patient": {
"internal_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"address": {
"street": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"street_line_2": "<string>",
"country": "USA"
},
"phone": "<string>",
"email": "[email protected]",
"mrn": "<string>"
},
"provider": {
"first_name": "<string>",
"last_name": "<string>",
"npi": "<string>",
"address": {
"street": "<string>",
"street_line_2": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"country": "<string>"
},
"internal_id": "<string>",
"phone": "<string>",
"fax": "<string>"
},
"prescription": {
"ndc": "00169-4505-14"
},
"insurances": [
{
"member_id": "<string>",
"member_name": "<string>",
"payer_name": "<string>",
"plan_name": "<string>",
"client_name": "<string>",
"group_number": "<string>",
"rx_bin": "<string>",
"rx_pcn": "<string>",
"rx_group": "<string>",
"images": [
{
"file_content": "<string>",
"file_url": "<string>"
}
]
}
],
"priority": 2
}
'import requests
url = "https://api.develophealth.ai/pa-status"
payload = {
"patient": {
"internal_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"address": {
"street": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"street_line_2": "<string>",
"country": "USA"
},
"phone": "<string>",
"email": "[email protected]",
"mrn": "<string>"
},
"provider": {
"first_name": "<string>",
"last_name": "<string>",
"npi": "<string>",
"address": {
"street": "<string>",
"street_line_2": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"country": "<string>"
},
"internal_id": "<string>",
"phone": "<string>",
"fax": "<string>"
},
"prescription": { "ndc": "00169-4505-14" },
"insurances": [
{
"member_id": "<string>",
"member_name": "<string>",
"payer_name": "<string>",
"plan_name": "<string>",
"client_name": "<string>",
"group_number": "<string>",
"rx_bin": "<string>",
"rx_pcn": "<string>",
"rx_group": "<string>",
"images": [
{
"file_content": "<string>",
"file_url": "<string>"
}
]
}
],
"priority": 2
}
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({
patient: {
internal_id: '<string>',
first_name: '<string>',
last_name: '<string>',
date_of_birth: '2023-12-25',
address: {
street: '<string>',
city: '<string>',
state_province: '<string>',
zip_postal_code: '<string>',
street_line_2: '<string>',
country: 'USA'
},
phone: '<string>',
email: '[email protected]',
mrn: '<string>'
},
provider: {
first_name: '<string>',
last_name: '<string>',
npi: '<string>',
address: {
street: '<string>',
street_line_2: '<string>',
city: '<string>',
state_province: '<string>',
zip_postal_code: '<string>',
country: '<string>'
},
internal_id: '<string>',
phone: '<string>',
fax: '<string>'
},
prescription: {ndc: '00169-4505-14'},
insurances: [
{
member_id: '<string>',
member_name: '<string>',
payer_name: '<string>',
plan_name: '<string>',
client_name: '<string>',
group_number: '<string>',
rx_bin: '<string>',
rx_pcn: '<string>',
rx_group: '<string>',
images: [{file_content: '<string>', file_url: '<string>'}]
}
],
priority: 2
})
};
fetch('https://api.develophealth.ai/pa-status', 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.develophealth.ai/pa-status",
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([
'patient' => [
'internal_id' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'date_of_birth' => '2023-12-25',
'address' => [
'street' => '<string>',
'city' => '<string>',
'state_province' => '<string>',
'zip_postal_code' => '<string>',
'street_line_2' => '<string>',
'country' => 'USA'
],
'phone' => '<string>',
'email' => '[email protected]',
'mrn' => '<string>'
],
'provider' => [
'first_name' => '<string>',
'last_name' => '<string>',
'npi' => '<string>',
'address' => [
'street' => '<string>',
'street_line_2' => '<string>',
'city' => '<string>',
'state_province' => '<string>',
'zip_postal_code' => '<string>',
'country' => '<string>'
],
'internal_id' => '<string>',
'phone' => '<string>',
'fax' => '<string>'
],
'prescription' => [
'ndc' => '00169-4505-14'
],
'insurances' => [
[
'member_id' => '<string>',
'member_name' => '<string>',
'payer_name' => '<string>',
'plan_name' => '<string>',
'client_name' => '<string>',
'group_number' => '<string>',
'rx_bin' => '<string>',
'rx_pcn' => '<string>',
'rx_group' => '<string>',
'images' => [
[
'file_content' => '<string>',
'file_url' => '<string>'
]
]
]
],
'priority' => 2
]),
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.develophealth.ai/pa-status"
payload := strings.NewReader("{\n \"patient\": {\n \"internal_id\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"2023-12-25\",\n \"address\": {\n \"street\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"country\": \"USA\"\n },\n \"phone\": \"<string>\",\n \"email\": \"[email protected]\",\n \"mrn\": \"<string>\"\n },\n \"provider\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"npi\": \"<string>\",\n \"address\": {\n \"street\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"country\": \"<string>\"\n },\n \"internal_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"fax\": \"<string>\"\n },\n \"prescription\": {\n \"ndc\": \"00169-4505-14\"\n },\n \"insurances\": [\n {\n \"member_id\": \"<string>\",\n \"member_name\": \"<string>\",\n \"payer_name\": \"<string>\",\n \"plan_name\": \"<string>\",\n \"client_name\": \"<string>\",\n \"group_number\": \"<string>\",\n \"rx_bin\": \"<string>\",\n \"rx_pcn\": \"<string>\",\n \"rx_group\": \"<string>\",\n \"images\": [\n {\n \"file_content\": \"<string>\",\n \"file_url\": \"<string>\"\n }\n ]\n }\n ],\n \"priority\": 2\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.develophealth.ai/pa-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"patient\": {\n \"internal_id\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"2023-12-25\",\n \"address\": {\n \"street\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"country\": \"USA\"\n },\n \"phone\": \"<string>\",\n \"email\": \"[email protected]\",\n \"mrn\": \"<string>\"\n },\n \"provider\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"npi\": \"<string>\",\n \"address\": {\n \"street\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"country\": \"<string>\"\n },\n \"internal_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"fax\": \"<string>\"\n },\n \"prescription\": {\n \"ndc\": \"00169-4505-14\"\n },\n \"insurances\": [\n {\n \"member_id\": \"<string>\",\n \"member_name\": \"<string>\",\n \"payer_name\": \"<string>\",\n \"plan_name\": \"<string>\",\n \"client_name\": \"<string>\",\n \"group_number\": \"<string>\",\n \"rx_bin\": \"<string>\",\n \"rx_pcn\": \"<string>\",\n \"rx_group\": \"<string>\",\n \"images\": [\n {\n \"file_content\": \"<string>\",\n \"file_url\": \"<string>\"\n }\n ]\n }\n ],\n \"priority\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.develophealth.ai/pa-status")
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 \"patient\": {\n \"internal_id\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"2023-12-25\",\n \"address\": {\n \"street\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"country\": \"USA\"\n },\n \"phone\": \"<string>\",\n \"email\": \"[email protected]\",\n \"mrn\": \"<string>\"\n },\n \"provider\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"npi\": \"<string>\",\n \"address\": {\n \"street\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"country\": \"<string>\"\n },\n \"internal_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"fax\": \"<string>\"\n },\n \"prescription\": {\n \"ndc\": \"00169-4505-14\"\n },\n \"insurances\": [\n {\n \"member_id\": \"<string>\",\n \"member_name\": \"<string>\",\n \"payer_name\": \"<string>\",\n \"plan_name\": \"<string>\",\n \"client_name\": \"<string>\",\n \"group_number\": \"<string>\",\n \"rx_bin\": \"<string>\",\n \"rx_pcn\": \"<string>\",\n \"rx_group\": \"<string>\",\n \"images\": [\n {\n \"file_content\": \"<string>\",\n \"file_url\": \"<string>\"\n }\n ]\n }\n ],\n \"priority\": 2\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"object": "pa_status",
"effective_processing_method": "instant",
"status": "pending",
"failure_reason": {
"code": "instant_pa_status_ineligible",
"message": "<string>"
}
},
"status": "success",
"error": null
}{
"status": "error",
"error": {
"title": "API Access Not Enabled",
"description": "Programmatic API access is not enabled for this organization.",
"code": "api_access_not_enabled"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"status": "error",
"error": {
"title": "Rate Limit Exceeded",
"description": "The request exceeds the organization's configured API rate limit. Retry after the duration specified by Retry-After.",
"code": "rate_limit_exceeded"
}
}{
"error": {
"title": "<string>",
"description": "<string>",
"code": "<string>"
},
"status": "error",
"data": null
}{
"status": "error",
"error": {
"title": "Service Unavailable",
"description": "The service is temporarily unavailable. Retry the request shortly.",
"code": "service_unavailable"
}
}Create a Prior Authorization Status Check
Creates an asynchronous check for prior authorizations matching a patient, prescription NDC, and one or more insurance plans.
instant_only never falls back to standard processing. An ineligible
or failed instant check becomes a failed operation.
instant_preferred attempts instant processing first. If instant
processing is ineligible, fails, or produces no result, processing
falls back to the standard method.
curl --request POST \
--url https://api.develophealth.ai/pa-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"patient": {
"internal_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"address": {
"street": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"street_line_2": "<string>",
"country": "USA"
},
"phone": "<string>",
"email": "[email protected]",
"mrn": "<string>"
},
"provider": {
"first_name": "<string>",
"last_name": "<string>",
"npi": "<string>",
"address": {
"street": "<string>",
"street_line_2": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"country": "<string>"
},
"internal_id": "<string>",
"phone": "<string>",
"fax": "<string>"
},
"prescription": {
"ndc": "00169-4505-14"
},
"insurances": [
{
"member_id": "<string>",
"member_name": "<string>",
"payer_name": "<string>",
"plan_name": "<string>",
"client_name": "<string>",
"group_number": "<string>",
"rx_bin": "<string>",
"rx_pcn": "<string>",
"rx_group": "<string>",
"images": [
{
"file_content": "<string>",
"file_url": "<string>"
}
]
}
],
"priority": 2
}
'import requests
url = "https://api.develophealth.ai/pa-status"
payload = {
"patient": {
"internal_id": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"address": {
"street": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"street_line_2": "<string>",
"country": "USA"
},
"phone": "<string>",
"email": "[email protected]",
"mrn": "<string>"
},
"provider": {
"first_name": "<string>",
"last_name": "<string>",
"npi": "<string>",
"address": {
"street": "<string>",
"street_line_2": "<string>",
"city": "<string>",
"state_province": "<string>",
"zip_postal_code": "<string>",
"country": "<string>"
},
"internal_id": "<string>",
"phone": "<string>",
"fax": "<string>"
},
"prescription": { "ndc": "00169-4505-14" },
"insurances": [
{
"member_id": "<string>",
"member_name": "<string>",
"payer_name": "<string>",
"plan_name": "<string>",
"client_name": "<string>",
"group_number": "<string>",
"rx_bin": "<string>",
"rx_pcn": "<string>",
"rx_group": "<string>",
"images": [
{
"file_content": "<string>",
"file_url": "<string>"
}
]
}
],
"priority": 2
}
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({
patient: {
internal_id: '<string>',
first_name: '<string>',
last_name: '<string>',
date_of_birth: '2023-12-25',
address: {
street: '<string>',
city: '<string>',
state_province: '<string>',
zip_postal_code: '<string>',
street_line_2: '<string>',
country: 'USA'
},
phone: '<string>',
email: '[email protected]',
mrn: '<string>'
},
provider: {
first_name: '<string>',
last_name: '<string>',
npi: '<string>',
address: {
street: '<string>',
street_line_2: '<string>',
city: '<string>',
state_province: '<string>',
zip_postal_code: '<string>',
country: '<string>'
},
internal_id: '<string>',
phone: '<string>',
fax: '<string>'
},
prescription: {ndc: '00169-4505-14'},
insurances: [
{
member_id: '<string>',
member_name: '<string>',
payer_name: '<string>',
plan_name: '<string>',
client_name: '<string>',
group_number: '<string>',
rx_bin: '<string>',
rx_pcn: '<string>',
rx_group: '<string>',
images: [{file_content: '<string>', file_url: '<string>'}]
}
],
priority: 2
})
};
fetch('https://api.develophealth.ai/pa-status', 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.develophealth.ai/pa-status",
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([
'patient' => [
'internal_id' => '<string>',
'first_name' => '<string>',
'last_name' => '<string>',
'date_of_birth' => '2023-12-25',
'address' => [
'street' => '<string>',
'city' => '<string>',
'state_province' => '<string>',
'zip_postal_code' => '<string>',
'street_line_2' => '<string>',
'country' => 'USA'
],
'phone' => '<string>',
'email' => '[email protected]',
'mrn' => '<string>'
],
'provider' => [
'first_name' => '<string>',
'last_name' => '<string>',
'npi' => '<string>',
'address' => [
'street' => '<string>',
'street_line_2' => '<string>',
'city' => '<string>',
'state_province' => '<string>',
'zip_postal_code' => '<string>',
'country' => '<string>'
],
'internal_id' => '<string>',
'phone' => '<string>',
'fax' => '<string>'
],
'prescription' => [
'ndc' => '00169-4505-14'
],
'insurances' => [
[
'member_id' => '<string>',
'member_name' => '<string>',
'payer_name' => '<string>',
'plan_name' => '<string>',
'client_name' => '<string>',
'group_number' => '<string>',
'rx_bin' => '<string>',
'rx_pcn' => '<string>',
'rx_group' => '<string>',
'images' => [
[
'file_content' => '<string>',
'file_url' => '<string>'
]
]
]
],
'priority' => 2
]),
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.develophealth.ai/pa-status"
payload := strings.NewReader("{\n \"patient\": {\n \"internal_id\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"2023-12-25\",\n \"address\": {\n \"street\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"country\": \"USA\"\n },\n \"phone\": \"<string>\",\n \"email\": \"[email protected]\",\n \"mrn\": \"<string>\"\n },\n \"provider\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"npi\": \"<string>\",\n \"address\": {\n \"street\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"country\": \"<string>\"\n },\n \"internal_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"fax\": \"<string>\"\n },\n \"prescription\": {\n \"ndc\": \"00169-4505-14\"\n },\n \"insurances\": [\n {\n \"member_id\": \"<string>\",\n \"member_name\": \"<string>\",\n \"payer_name\": \"<string>\",\n \"plan_name\": \"<string>\",\n \"client_name\": \"<string>\",\n \"group_number\": \"<string>\",\n \"rx_bin\": \"<string>\",\n \"rx_pcn\": \"<string>\",\n \"rx_group\": \"<string>\",\n \"images\": [\n {\n \"file_content\": \"<string>\",\n \"file_url\": \"<string>\"\n }\n ]\n }\n ],\n \"priority\": 2\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.develophealth.ai/pa-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"patient\": {\n \"internal_id\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"2023-12-25\",\n \"address\": {\n \"street\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"country\": \"USA\"\n },\n \"phone\": \"<string>\",\n \"email\": \"[email protected]\",\n \"mrn\": \"<string>\"\n },\n \"provider\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"npi\": \"<string>\",\n \"address\": {\n \"street\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"country\": \"<string>\"\n },\n \"internal_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"fax\": \"<string>\"\n },\n \"prescription\": {\n \"ndc\": \"00169-4505-14\"\n },\n \"insurances\": [\n {\n \"member_id\": \"<string>\",\n \"member_name\": \"<string>\",\n \"payer_name\": \"<string>\",\n \"plan_name\": \"<string>\",\n \"client_name\": \"<string>\",\n \"group_number\": \"<string>\",\n \"rx_bin\": \"<string>\",\n \"rx_pcn\": \"<string>\",\n \"rx_group\": \"<string>\",\n \"images\": [\n {\n \"file_content\": \"<string>\",\n \"file_url\": \"<string>\"\n }\n ]\n }\n ],\n \"priority\": 2\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.develophealth.ai/pa-status")
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 \"patient\": {\n \"internal_id\": \"<string>\",\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"date_of_birth\": \"2023-12-25\",\n \"address\": {\n \"street\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"country\": \"USA\"\n },\n \"phone\": \"<string>\",\n \"email\": \"[email protected]\",\n \"mrn\": \"<string>\"\n },\n \"provider\": {\n \"first_name\": \"<string>\",\n \"last_name\": \"<string>\",\n \"npi\": \"<string>\",\n \"address\": {\n \"street\": \"<string>\",\n \"street_line_2\": \"<string>\",\n \"city\": \"<string>\",\n \"state_province\": \"<string>\",\n \"zip_postal_code\": \"<string>\",\n \"country\": \"<string>\"\n },\n \"internal_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"fax\": \"<string>\"\n },\n \"prescription\": {\n \"ndc\": \"00169-4505-14\"\n },\n \"insurances\": [\n {\n \"member_id\": \"<string>\",\n \"member_name\": \"<string>\",\n \"payer_name\": \"<string>\",\n \"plan_name\": \"<string>\",\n \"client_name\": \"<string>\",\n \"group_number\": \"<string>\",\n \"rx_bin\": \"<string>\",\n \"rx_pcn\": \"<string>\",\n \"rx_group\": \"<string>\",\n \"images\": [\n {\n \"file_content\": \"<string>\",\n \"file_url\": \"<string>\"\n }\n ]\n }\n ],\n \"priority\": 2\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"object": "pa_status",
"effective_processing_method": "instant",
"status": "pending",
"failure_reason": {
"code": "instant_pa_status_ineligible",
"message": "<string>"
}
},
"status": "success",
"error": null
}{
"status": "error",
"error": {
"title": "API Access Not Enabled",
"description": "Programmatic API access is not enabled for this organization.",
"code": "api_access_not_enabled"
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"status": "error",
"error": {
"title": "Rate Limit Exceeded",
"description": "The request exceeds the organization's configured API rate limit. Retry after the duration specified by Retry-After.",
"code": "rate_limit_exceeded"
}
}{
"error": {
"title": "<string>",
"description": "<string>",
"code": "<string>"
},
"status": "error",
"data": null
}{
"status": "error",
"error": {
"title": "Service Unavailable",
"description": "The service is temporarily unavailable. Retry the request shortly.",
"code": "service_unavailable"
}
}Processing methods
instant_onlyattempts only the instant method. If the request is ineligible or the instant attempt fails, the check ends withstatus: failed.instant_preferredattempts the instant method first and may fall back to the standard method. Polling exposes the method currently handling the check aseffective_processing_method.
Request requirements
prescriptioncontains only the medicationndc.insurancescontains one or more insurance objects. Each object must include at least one non-empty discrete insurance field or a non-emptyimageslist.- Each insurance image supplies exactly one of
file_contentorfile_url. - Patient gender must be
male,female, orother. - Entity information is not accepted by this endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Requested processing policy. instant_only fails if instant processing cannot produce a result; instant_preferred permits standard fallback.
instant_only, instant_preferred Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Insurance plans to check for the requested NDC.
1Discrete insurance data and images for one plan.
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
- PaStatusInsurance
Show child attributes
Show child attributes
Lower values indicate higher processing priority.
0 <= x <= 3Response
PA status check created; returns its current processing state.