Request Eligibility Verification
curl --request POST \
--url https://wg.api.dental/rest/Eligibility \
--header 'Content-Type: application/json' \
--header 'X-Token-API: <api-key>' \
--data '
{
"payer": {
"id": "52133"
},
"provider": {
"npi": "1447364856",
"tax_id": "270872579"
},
"subscriber": {
"first_name": "John",
"last_name": "Smith",
"member_id": "123456789",
"dob": "01/15/1990",
"group_number": "GRP001"
},
"version": "v2"
}
'import requests
url = "https://wg.api.dental/rest/Eligibility"
payload = {
"payer": { "id": "52133" },
"provider": {
"npi": "1447364856",
"tax_id": "270872579"
},
"subscriber": {
"first_name": "John",
"last_name": "Smith",
"member_id": "123456789",
"dob": "01/15/1990",
"group_number": "GRP001"
},
"version": "v2"
}
headers = {
"X-Token-API": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Token-API': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
payer: {id: '52133'},
provider: {npi: '1447364856', tax_id: '270872579'},
subscriber: {
first_name: 'John',
last_name: 'Smith',
member_id: '123456789',
dob: '01/15/1990',
group_number: 'GRP001'
},
version: 'v2'
})
};
fetch('https://wg.api.dental/rest/Eligibility', 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://wg.api.dental/rest/Eligibility",
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([
'payer' => [
'id' => '52133'
],
'provider' => [
'npi' => '1447364856',
'tax_id' => '270872579'
],
'subscriber' => [
'first_name' => 'John',
'last_name' => 'Smith',
'member_id' => '123456789',
'dob' => '01/15/1990',
'group_number' => 'GRP001'
],
'version' => 'v2'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Token-API: <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://wg.api.dental/rest/Eligibility"
payload := strings.NewReader("{\n \"payer\": {\n \"id\": \"52133\"\n },\n \"provider\": {\n \"npi\": \"1447364856\",\n \"tax_id\": \"270872579\"\n },\n \"subscriber\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"member_id\": \"123456789\",\n \"dob\": \"01/15/1990\",\n \"group_number\": \"GRP001\"\n },\n \"version\": \"v2\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Token-API", "<api-key>")
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://wg.api.dental/rest/Eligibility")
.header("X-Token-API", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"payer\": {\n \"id\": \"52133\"\n },\n \"provider\": {\n \"npi\": \"1447364856\",\n \"tax_id\": \"270872579\"\n },\n \"subscriber\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"member_id\": \"123456789\",\n \"dob\": \"01/15/1990\",\n \"group_number\": \"GRP001\"\n },\n \"version\": \"v2\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://wg.api.dental/rest/Eligibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Token-API"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payer\": {\n \"id\": \"52133\"\n },\n \"provider\": {\n \"npi\": \"1447364856\",\n \"tax_id\": \"270872579\"\n },\n \"subscriber\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"member_id\": \"123456789\",\n \"dob\": \"01/15/1990\",\n \"group_number\": \"GRP001\"\n },\n \"version\": \"v2\"\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"statusCode": 400,
"message": "Invalid payer ID: INVALID_PAYER",
"upstream": {
"message": "Invalid payer ID: INVALID_PAYER, please check https://developers.onederful.co/ for valid payer IDs",
"code": "invalid_payer_id",
"primaryReason": "Invalid payer ID"
}
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}Endpoints
Request Eligibility Verification
Submit a real-time eligibility and benefits verification request for a dental insurance subscriber. Returns coverage details, deductibles, maximums, and benefit information from the payer.
POST
/
Eligibility
Request Eligibility Verification
curl --request POST \
--url https://wg.api.dental/rest/Eligibility \
--header 'Content-Type: application/json' \
--header 'X-Token-API: <api-key>' \
--data '
{
"payer": {
"id": "52133"
},
"provider": {
"npi": "1447364856",
"tax_id": "270872579"
},
"subscriber": {
"first_name": "John",
"last_name": "Smith",
"member_id": "123456789",
"dob": "01/15/1990",
"group_number": "GRP001"
},
"version": "v2"
}
'import requests
url = "https://wg.api.dental/rest/Eligibility"
payload = {
"payer": { "id": "52133" },
"provider": {
"npi": "1447364856",
"tax_id": "270872579"
},
"subscriber": {
"first_name": "John",
"last_name": "Smith",
"member_id": "123456789",
"dob": "01/15/1990",
"group_number": "GRP001"
},
"version": "v2"
}
headers = {
"X-Token-API": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-Token-API': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
payer: {id: '52133'},
provider: {npi: '1447364856', tax_id: '270872579'},
subscriber: {
first_name: 'John',
last_name: 'Smith',
member_id: '123456789',
dob: '01/15/1990',
group_number: 'GRP001'
},
version: 'v2'
})
};
fetch('https://wg.api.dental/rest/Eligibility', 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://wg.api.dental/rest/Eligibility",
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([
'payer' => [
'id' => '52133'
],
'provider' => [
'npi' => '1447364856',
'tax_id' => '270872579'
],
'subscriber' => [
'first_name' => 'John',
'last_name' => 'Smith',
'member_id' => '123456789',
'dob' => '01/15/1990',
'group_number' => 'GRP001'
],
'version' => 'v2'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Token-API: <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://wg.api.dental/rest/Eligibility"
payload := strings.NewReader("{\n \"payer\": {\n \"id\": \"52133\"\n },\n \"provider\": {\n \"npi\": \"1447364856\",\n \"tax_id\": \"270872579\"\n },\n \"subscriber\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"member_id\": \"123456789\",\n \"dob\": \"01/15/1990\",\n \"group_number\": \"GRP001\"\n },\n \"version\": \"v2\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-Token-API", "<api-key>")
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://wg.api.dental/rest/Eligibility")
.header("X-Token-API", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"payer\": {\n \"id\": \"52133\"\n },\n \"provider\": {\n \"npi\": \"1447364856\",\n \"tax_id\": \"270872579\"\n },\n \"subscriber\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"member_id\": \"123456789\",\n \"dob\": \"01/15/1990\",\n \"group_number\": \"GRP001\"\n },\n \"version\": \"v2\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://wg.api.dental/rest/Eligibility")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-Token-API"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"payer\": {\n \"id\": \"52133\"\n },\n \"provider\": {\n \"npi\": \"1447364856\",\n \"tax_id\": \"270872579\"\n },\n \"subscriber\": {\n \"first_name\": \"John\",\n \"last_name\": \"Smith\",\n \"member_id\": \"123456789\",\n \"dob\": \"01/15/1990\",\n \"group_number\": \"GRP001\"\n },\n \"version\": \"v2\"\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"statusCode": 400,
"message": "Invalid payer ID: INVALID_PAYER",
"upstream": {
"message": "Invalid payer ID: INVALID_PAYER, please check https://developers.onederful.co/ for valid payer IDs",
"code": "invalid_payer_id",
"primaryReason": "Invalid payer ID"
}
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}{
"error": {
"statusCode": 123,
"message": "<string>"
}
}Authorizations
apiKeybearerAuth
Your API Dental API key. Found in the Dashboard under API Keys.
Body
application/json
Response
Eligibility verification results
Eligibility response containing coverage details, benefits, deductibles, and payer information. Response structure varies by payer.