Create Request
curl --request POST \
--url https://api.example.com/requests/ \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '
{
"patient_info": {
"subscriber_id": "<string>",
"dob": "<string>",
"name": "<string>",
"address": "<string>"
},
"payer_info": {
"phone_number": "<string>"
},
"provider_info": {
"npi": "<string>",
"name": "<string>",
"tin": "<string>",
"organization_name": "<string>"
},
"callback_url": "<string>"
}
'import requests
url = "https://api.example.com/requests/"
payload = {
"patient_info": {
"subscriber_id": "<string>",
"dob": "<string>",
"name": "<string>",
"address": "<string>"
},
"payer_info": { "phone_number": "<string>" },
"provider_info": {
"npi": "<string>",
"name": "<string>",
"tin": "<string>",
"organization_name": "<string>"
},
"callback_url": "<string>"
}
headers = {
"x-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
patient_info: {
subscriber_id: '<string>',
dob: '<string>',
name: '<string>',
address: '<string>'
},
payer_info: {phone_number: '<string>'},
provider_info: {
npi: '<string>',
name: '<string>',
tin: '<string>',
organization_name: '<string>'
},
callback_url: '<string>'
})
};
fetch('https://api.example.com/requests/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}API Reference
Create Request
POST
/
requests
/
Create Request
curl --request POST \
--url https://api.example.com/requests/ \
--header 'Content-Type: application/json' \
--header 'x-key: <api-key>' \
--data '
{
"patient_info": {
"subscriber_id": "<string>",
"dob": "<string>",
"name": "<string>",
"address": "<string>"
},
"payer_info": {
"phone_number": "<string>"
},
"provider_info": {
"npi": "<string>",
"name": "<string>",
"tin": "<string>",
"organization_name": "<string>"
},
"callback_url": "<string>"
}
'import requests
url = "https://api.example.com/requests/"
payload = {
"patient_info": {
"subscriber_id": "<string>",
"dob": "<string>",
"name": "<string>",
"address": "<string>"
},
"payer_info": { "phone_number": "<string>" },
"provider_info": {
"npi": "<string>",
"name": "<string>",
"tin": "<string>",
"organization_name": "<string>"
},
"callback_url": "<string>"
}
headers = {
"x-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
patient_info: {
subscriber_id: '<string>',
dob: '<string>',
name: '<string>',
address: '<string>'
},
payer_info: {phone_number: '<string>'},
provider_info: {
npi: '<string>',
name: '<string>',
tin: '<string>',
organization_name: '<string>'
},
callback_url: '<string>'
})
};
fetch('https://api.example.com/requests/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Body
application/json
Response
Successful Response
