Introduction
This documentation provides all the information you will need to work with WELLNESS PLUS API. The application is built with Laravel 8 PHP framework & is systematically versioned (SEMVER) to replace CUPID API v1.
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
This API is not authenticated.
Admin Endpoints
Get all Enrollees.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/enrollees" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get a specific Enrollee by id.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/enrollees/iusto" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees/iusto"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update pending code request.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/non-enrollees/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/non-enrollees/et"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get card request by id.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/enrollees/request-card/ipsam" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees/request-card/ipsam"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get code request by id.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/enrollees/request-code/voluptas" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees/request-code/voluptas"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get drug refill by id.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/enrollees/drug-refills/quis" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees/drug-refills/quis"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get hospital appointment by id.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/enrollees/hmo/appointments/ullam" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees/hmo/appointments/ullam"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all Non Enrollees.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/non-enrollees" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/non-enrollees"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Accept PendingEnrollees.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/admin/enrollees/eius" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"enrollee_id\": \"quaerat\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/enrollees/eius"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"enrollee_id": "quaerat"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all card requests.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/request-card/consectetur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/request-card/consectetur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update pending card request.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/admin/request-card/assumenda/sit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/request-card/assumenda/sit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get code request.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/request-code/mollitia" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/request-code/mollitia"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update pending code request.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/admin/request-code/culpa/rerum" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/request-code/culpa/rerum"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Dashboard.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/dashboard" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/dashboard"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve or Decline drug refill.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/admin/drug-refills/deleniti/inventore" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/drug-refills/deleniti/inventore"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
View drug refills.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/drug-refills/sint" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/drug-refills/sint"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Approve or Decline hospital appointments.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/admin/hospital-appointments/asperiores/natus" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/hospital-appointments/asperiores/natus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
View hospital appointments.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/hospital-appointments/velit" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/hospital-appointments/velit"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all Request Audit
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/admin/request-audit?term=nostrum&per_page=4" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/request-audit"
);
const params = {
"term": "nostrum",
"per_page": "4",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all users.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/users" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/users"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get single user appointments history.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/users/sunt" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/users/sunt"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get filtered health care appointments.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/appointments/voluptas/quia" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/appointments/voluptas/quia"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get appointment details.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/appointment-details/esse" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/appointment-details/esse"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update appointment status.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/admin/appointment/request-code/quisquam/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/appointment/request-code/quisquam/et"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Hospitals Module Functions.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/settings/hospitals" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/settings/hospitals"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get hospital by id.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/settings/hospitals/sed" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/settings/hospitals/sed"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Dashboard function.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/dashboard" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/dashboard"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Hospital levels.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/hospital-levels" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/hospital-levels"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Hospitals Module Functions.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/hospitals" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/hospitals"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created hospital in storage.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/admin/hospitals" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"pqmpfdkrncg\",
\"address\": \"fqpfgbywaprrfvkcefzlqp\",
\"location\": \"daihhjbp\",
\"plan\": \"gzomhqlf\",
\"level\": 975523.075581
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/hospitals"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "pqmpfdkrncg",
"address": "fqpfgbywaprrfvkcefzlqp",
"location": "daihhjbp",
"plan": "gzomhqlf",
"level": 975523.075581
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a specified hospital.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/hospitals/culpa" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/hospitals/culpa"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified hospital in storage.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/admin/hospitals/minima" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"umzvvyfrrmuzahf\",
\"address\": \"f\",
\"location\": \"ydfcmrpbbxrgfmibqxuzh\",
\"plan\": \"lqgllnqayyqd\",
\"level\": 85.4547626
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/hospitals/minima"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "umzvvyfrrmuzahf",
"address": "f",
"location": "ydfcmrpbbxrgfmibqxuzh",
"plan": "lqgllnqayyqd",
"level": 85.4547626
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified hospital from storage.
Example request:
curl --request DELETE \
"https://api.wellnessplus.io/api/v2/admin/hospitals/praesentium" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/hospitals/praesentium"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get services.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/services" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/services"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created service in storage.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/admin/services" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"djts\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/services"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "djts"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a specified service
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/services/ipsam" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/services/ipsam"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified service in storage.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/admin/services/aut" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"kqmbnhv\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/services/aut"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "kqmbnhv"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified service from storage.
Example request:
curl --request DELETE \
"https://api.wellnessplus.io/api/v2/admin/services/non" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/services/non"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Function to get health service providers.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/health-service-providers" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/health-service-providers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a newly created health service provider in storage.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/admin/health-service-providers" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"location\": \"kthx\",
\"name\": \"gkcamxuo\",
\"address\": \"aeysvrxujlqdmoc\",
\"service_id\": 292454.8678
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/health-service-providers"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"location": "kthx",
"name": "gkcamxuo",
"address": "aeysvrxujlqdmoc",
"service_id": 292454.8678
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a specified health service provider.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/health-service-providers/sint" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/health-service-providers/sint"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified health service provider in storage.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/admin/health-service-providers/error" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name\": \"fjwyztluvbgykcpfetb\",
\"address\": \"mb\",
\"location\": \"twrgpmfg\",
\"service_id\": 1755.1518399
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/health-service-providers/error"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name": "fjwyztluvbgykcpfetb",
"address": "mb",
"location": "twrgpmfg",
"service_id": 1755.1518399
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Remove the specified health service provider from storage.
Example request:
curl --request DELETE \
"https://api.wellnessplus.io/api/v2/admin/health-service-providers/doloribus" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/health-service-providers/doloribus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
View comment.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/comment/all" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/comment/all"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get user basic plan.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/basic_plans/tenetur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/basic_plans/tenetur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified resource in storage.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/admin/basic_plans/eos" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/basic_plans/eos"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Appointments Endpoints
GET api/v2/appointments/history/{type}
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/appointments/history/repellendus" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/appointments/history/repellendus"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v2/appointments/latest
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/appointments/latest" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/appointments/latest"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Auth Endpoints
Store a new User.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"innqyvkxxcsqvqnvqymwhc\",
\"last_name\": \"mpofaqnhk\",
\"email\": \"darion27@example.net\",
\"phone_number\": \"yc\",
\"user_agent\": \"doctor_app\",
\"role_name\": \"neque\",
\"password\": \"_N&wAkaom]:\",
\"is_enrollee\": true,
\"is_verified\": false,
\"insurance_no\": \"doloribus\",
\"specializations\": [
\"soluta\"
]
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "innqyvkxxcsqvqnvqymwhc",
"last_name": "mpofaqnhk",
"email": "darion27@example.net",
"phone_number": "yc",
"user_agent": "doctor_app",
"role_name": "neque",
"password": "_N&wAkaom]:",
"is_enrollee": true,
"is_verified": false,
"insurance_no": "doloribus",
"specializations": [
"soluta"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Confirm mobile number.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/confirm" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/confirm"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Attempt login user.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Attempt login user.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/admin/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/admin/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Send OTP code.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/otp-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/otp-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Verify a user account.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/otp-code/verify" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/otp-code/verify"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Resend OTP code.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/forgot-pwd" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"oschultz@example.net\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/forgot-pwd"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "oschultz@example.net"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Verify reset code
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/verify-reset-pwd-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"schamberger.maryjane@example.net\",
\"reset_code\": \"rerum\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/verify-reset-pwd-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "schamberger.maryjane@example.net",
"reset_code": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update password
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/update-pwd" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"email\": \"isabell91@example.com\",
\"password\": \"9lEy8[YLc-`r;F*\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/update-pwd"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"email": "isabell91@example.com",
"password": "9lEy8[YLc-`r;F*"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get authenticated user.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/users/authenticate" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/users/authenticate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Basic Plan Endpoints
Create a basic plan.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/basic_plan" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 2,
\"basic_plan_demographics\": \"[\\\"voluptatem\\\",\\\"dolor\\\"]\",
\"price\": \"15000\",
\"status\": \"active\",
\"sex\": \"maiores\",
\"transaction_id\": \"quia\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/basic_plan"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 2,
"basic_plan_demographics": "[\"voluptatem\",\"dolor\"]",
"price": "15000",
"status": "active",
"sex": "maiores",
"transaction_id": "quia"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get a list of benefits.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/basic_plan/benefits" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/basic_plan/benefits"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get specific User basic Plan
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/basic_plan/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/basic_plan/user"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cancer Screening
Get cancer screenings.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/cancer/quidem" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/cancer/quidem"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a cancer screening.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/cancer/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"services\": \"aut\",
\"transaction_id\": \"occaecati\",
\"amount_paid\": 167.83266223,
\"hospital_name\": \"consequatur\",
\"hospital_location\": \"modi\",
\"hospital_address\": \"dolor\",
\"appointment_date\": \"2024-12-17T07:30:23\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/cancer/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"services": "aut",
"transaction_id": "occaecati",
"amount_paid": 167.83266223,
"hospital_name": "consequatur",
"hospital_location": "modi",
"hospital_address": "dolor",
"appointment_date": "2024-12-17T07:30:23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Comprehensive Check
Get comprehensive check.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/comprehensive/care/qui" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/comprehensive/care/qui"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a comprehensive check.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/comprehensive/care/create" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"services\": \"itaque\",
\"transaction_id\": \"iste\",
\"amount_paid\": 5.865245,
\"hospital_name\": \"distinctio\",
\"hospital_location\": \"quis\",
\"hospital_address\": \"sed\",
\"appointment_date\": \"2024-12-17T07:30:23\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/comprehensive/care/create"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"services": "itaque",
"transaction_id": "iste",
"amount_paid": 5.865245,
"hospital_name": "distinctio",
"hospital_location": "quis",
"hospital_address": "sed",
"appointment_date": "2024-12-17T07:30:23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Dental Optical Endpoints
Get dental and optical primary care.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/dental-optical/care/sint" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/dental-optical/care/sint"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get other dental and optical services.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/dental-optical/care/accusantium" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/dental-optical/care/accusantium"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create dental and optical services.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/dental-optical/care/create/id" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"services\": \"incidunt\",
\"transaction_id\": \"et\",
\"amount_paid\": 209962067.92,
\"hospital_name\": \"beatae\",
\"hospital_location\": \"itaque\",
\"hospital_address\": \"voluptatem\",
\"appointment_date\": \"2024-12-17T07:30:23\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/dental-optical/care/create/id"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"services": "incidunt",
"transaction_id": "et",
"amount_paid": 209962067.92,
"hospital_name": "beatae",
"hospital_location": "itaque",
"hospital_address": "voluptatem",
"appointment_date": "2024-12-17T07:30:23"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Dependant Endpoints
Get dependants.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/users/dependents" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/users/dependents"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create dependants Request.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/users/dependents" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"officiis\",
\"middle_name\": \"officia\",
\"last_name\": \"quod\",
\"gender\": \"tempore\",
\"dob\": \"2024-12-17T07:30:25\",
\"reason\": \"placeat\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/users/dependents"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "officiis",
"middle_name": "officia",
"last_name": "quod",
"gender": "tempore",
"dob": "2024-12-17T07:30:25",
"reason": "placeat"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Device Reading Endpoints
Record a device reading.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/users/device-readings" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"blood_pressure_readings\": \"quia\",
\"weight_readings\": \"excepturi\",
\"pulse_readings\": \"nam\",
\"temperature_readings\": \"aperiam\",
\"blood_sugar_readings\": \"nesciunt\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/users/device-readings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"blood_pressure_readings": "quia",
"weight_readings": "excepturi",
"pulse_readings": "nam",
"temperature_readings": "aperiam",
"blood_sugar_readings": "nesciunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
View device reading.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/users/device-readings" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/users/device-readings"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctor's Endpoints
Get all Specializations.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/specializations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/specializations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create Doctors profile Details.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/doctor-profile" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"name_of_university\": \"doloremque\",
\"year_of_graduation\": \"ut\",
\"year_of_collection\": \"placeat\",
\"certificate\": \"tenetur\",
\"liencence\": \"fuga\",
\"gender\": \"et\",
\"nationalty\": \"asperiores\",
\"country_of_birth\": \"qui\",
\"state_of_birth\": \"cumque\",
\"mother_madien_name\": \"quasi\",
\"dob\": \"numquam\",
\"residential_address\": \"quaerat\",
\"bio\": \"quos\",
\"image\": \"est\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/doctor-profile"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"name_of_university": "doloremque",
"year_of_graduation": "ut",
"year_of_collection": "placeat",
"certificate": "tenetur",
"liencence": "fuga",
"gender": "et",
"nationalty": "asperiores",
"country_of_birth": "qui",
"state_of_birth": "cumque",
"mother_madien_name": "quasi",
"dob": "numquam",
"residential_address": "quaerat",
"bio": "quos",
"image": "est"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctors bank details.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/bank-detail" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"bank_id\": \"et\",
\"account_number\": \"dolore\",
\"account_name\": \"repellendus\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/bank-detail"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"bank_id": "et",
"account_number": "dolore",
"account_name": "repellendus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctors next of kin.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/nextofkin" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"firstname\": \"quo\",
\"lastname\": \"rerum\",
\"dateofbirth\": \"sit\",
\"email\": \"botsford.santino@example.org\",
\"phone\": \"dolorem\",
\"gender\": \"tenetur\",
\"relationship\": \"suscipit\",
\"nationality\": \"eaque\",
\"address\": \"rerum\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/nextofkin"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"firstname": "quo",
"lastname": "rerum",
"dateofbirth": "sit",
"email": "botsford.santino@example.org",
"phone": "dolorem",
"gender": "tenetur",
"relationship": "suscipit",
"nationality": "eaque",
"address": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctors payment rate.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/paymentrate" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"rate\": \"incidunt\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/paymentrate"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"rate": "incidunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create Doctors bio data.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/biodata" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"nationalty\": \"impedit\",
\"stateoforigin\": \"voluptatem\",
\"phone\": \"magnam\",
\"mothermaidenname\": \"fuga\",
\"address\": \"ullam\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/biodata"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"nationalty": "impedit",
"stateoforigin": "voluptatem",
"phone": "magnam",
"mothermaidenname": "fuga",
"address": "ullam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctors medical information.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/medicalinformation" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"year_of_experience\": \"neque\",
\"comment\": \"incidunt\",
\"workmedium\": []
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/medicalinformation"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"year_of_experience": "neque",
"comment": "incidunt",
"workmedium": []
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctors medical report.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/doctorreport" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": \"earum\",
\"comment\": \"magnam\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/doctorreport"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": "earum",
"comment": "magnam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all doctor's reports.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/doctorreport" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/doctorreport"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get doctors profile.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/doctor_details" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/doctor_details"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctors availability schedule.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/availableschedule" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"availability_schedule\": [
{
\"id\": 14,
\"day\": \"Sunday\",
\"start_time\": \"07:30:15\",
\"end_time\": \"2103-01-19\"
}
]
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/availableschedule"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"availability_schedule": [
{
"id": 14,
"day": "Sunday",
"start_time": "07:30:15",
"end_time": "2103-01-19"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get doctor's schedule.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/availableschedule" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/availableschedule"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get patient's doctor reports.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/get_pationt_report/soluta" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/get_pationt_report/soluta"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all Doctor's Appointments.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/appointments?status=pending+or+approved" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/appointments"
);
const params = {
"status": "pending or approved",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update specific appointment Appointments.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/appointments/labore" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"approved\",
\"reschedule_comment\": \"molestias\",
\"appointment_date\": \"2024-12-17\",
\"new_start_time\": \"07:30:16\",
\"new_end_time\": \"2064-12-28\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/appointments/labore"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "approved",
"reschedule_comment": "molestias",
"appointment_date": "2024-12-17",
"new_start_time": "07:30:16",
"new_end_time": "2064-12-28"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get doctor's total earnings.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/totalearning" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/totalearning"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Available Instant Service For Doctors.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/pending_instant_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/pending_instant_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get All Instant Service For Doctors.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/doctors_instant_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/doctors_instant_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Accept an Instant Service For Doctors.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/accept_instant_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"appointment_id\": 6
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/accept_instant_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"appointment_id": 6
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Doctor end call update.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/doctors_end_call_update" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"appointment_id\": 7
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/doctors_end_call_update"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"appointment_id": 7
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get banks.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/bank" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/bank"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
User Request Log.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/request_log" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"request_type\": \"eos\",
\"request_details\": \"nemo\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/request_log"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"request_type": "eos",
"request_details": "nemo"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Endpoints
Update User Profile image.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/update_profile_image" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"image\": \"nobis\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/update_profile_image"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"image": "nobis"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Enrollee Endpoints
Validate Enrollee id for sign up flow.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/get_enrollee_details" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"insurance_no\": \"vel\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/get_enrollee_details"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"insurance_no": "vel"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Verify a non Enrollee to Enrollee with their Enrollee ID.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/verify_non_enrollee" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"insurance_no\": \"provident\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/verify_non_enrollee"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"insurance_no": "provident"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Validate enrollee id.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/users/enrollees/retrieve" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"insurance_no\": \"nostrum\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/users/enrollees/retrieve"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"insurance_no": "nostrum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/enrollees/verify
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/users/enrollees/verify" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/users/enrollees/verify"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get enrollee plan benefits.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/users/enrollees/hmo-plan-benefits" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/users/enrollees/hmo-plan-benefits"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store request code.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/users/enrollees/request-code" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"hospital_name\": \"vero\",
\"request_message\": \"adipisci\",
\"booking_for_dependent\": true,
\"dependent_name\": \"totam\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/users/enrollees/request-code"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"hospital_name": "vero",
"request_message": "adipisci",
"booking_for_dependent": true,
"dependent_name": "totam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store card request.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/users/enrollees/request-card" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"card_collected\": false,
\"passport_url\": \"http:\\/\\/www.daniel.com\\/expedita-harum-minus-quia-ut\",
\"payment_name\": \"sapiente\",
\"payment_amount\": 16,
\"payment_type\": \"veritatis\",
\"transaction_id\": \"quam\",
\"address\": \"quisquam\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/users/enrollees/request-card"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"card_collected": false,
"passport_url": "http:\/\/www.daniel.com\/expedita-harum-minus-quia-ut",
"payment_name": "sapiente",
"payment_amount": 16,
"payment_type": "veritatis",
"transaction_id": "quam",
"address": "quisquam"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Validate if User has an existing plan.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/verify_plan" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/verify_plan"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all benefits.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/allbenefits/hmo-plan" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/allbenefits/hmo-plan"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Store a new User.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/promo" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/promo"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the status of a User.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/promo" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/promo"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
HMO Endpoints
Book a hospital appointment for the user.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/hmo/appointments" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"hospital_name\": \"assumenda\",
\"appointment_date\": \"2024-12-17T07:30:10\",
\"comment\": \"dolor\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/appointments"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"hospital_name": "assumenda",
"appointment_date": "2024-12-17T07:30:10",
"comment": "dolor"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reschedule hospital appointment.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/hmo/appointments/quo" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"appointment_date\": \"2024-12-17T07:30:10\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/appointments/quo"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"appointment_date": "2024-12-17T07:30:10"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Cancel hospital appointment.
Example request:
curl --request DELETE \
"https://api.wellnessplus.io/api/v1/hmo/appointments/occaecati" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/appointments/occaecati"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
View hospital appointments.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hmo/appointments/pariatur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/appointments/pariatur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Request for a drug refill.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/hmo/drug-refills" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"reason\": \"doloribus\",
\"drug_name\": \"est\",
\"dependent_code\": \"vitae\",
\"image\": \"occaecati\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/drug-refills"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"reason": "doloribus",
"drug_name": "est",
"dependent_code": "vitae",
"image": "occaecati"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
View telemedicine.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hmo/tele-med" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/tele-med"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Comments.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/hmo/comments" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hmo/comments"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Buy plan for others endpoint.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/plans/purchase-for-others" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"request_type\": \"custom\",
\"data\": {
\"first_name\": \"exercitationem\",
\"last_name\": \"nostrum\",
\"email\": \"hobart.becker@example.com\",
\"phone\": \"mollitia\",
\"request_type\": \"custom\",
\"amount_paid\": 150669.8998354,
\"transaction_id\": \"rerum\"
}
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/plans/purchase-for-others"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"request_type": "custom",
"data": {
"first_name": "exercitationem",
"last_name": "nostrum",
"email": "hobart.becker@example.com",
"phone": "mollitia",
"request_type": "custom",
"amount_paid": 150669.8998354,
"transaction_id": "rerum"
}
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get plan and services bought for others endpoint.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/plans/purchase-for-others" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/plans/purchase-for-others"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get plan and services bought for others endpoint for admin.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/purchase-for-others" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/purchase-for-others"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Health Center Location
Get healthcare locations.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/health-centre/locations/et" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/health-centre/locations/et"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get healthcare centers by location.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/health-centre/locations/et/consectetur" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/health-centre/locations/et/consectetur"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Hospital Endpoints
Get all location for non-enrollees .
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hospital/locations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hospital/locations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all hospitals by location for non-enrollees .
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hospital/locations/provident" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hospital/locations/provident"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all hospitals by plan_type for enrollees .
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hospital/plan" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"plan_name\": \"occaecati\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/hospital/plan"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"plan_name": "occaecati"
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all locations for Enrollees.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hospital/enrollees/locations" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hospital/enrollees/locations"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get hospitals by location for enrollees .
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/hospital/enrollees/locations/assumenda" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/hospital/enrollees/locations/assumenda"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Insurance Calculator
Create Health Insurance.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/insurance-calculator" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"type\": \"qui\",
\"sex\": \"illum\",
\"benefits\": \"et\",
\"demographics\": \"nihil\",
\"transaction_id\": \"magnam\",
\"amount_paid\": 8799.7,
\"hospital\": \"eos\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/insurance-calculator"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"type": "qui",
"sex": "illum",
"benefits": "et",
"demographics": "nihil",
"transaction_id": "magnam",
"amount_paid": 8799.7,
"hospital": "eos"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get insurance calculator.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/insurance-calculator/ex/est" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/insurance-calculator/ex/est"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get insurance calculator.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/insurance-calculator-buy-for-others/assumenda/quos" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/insurance-calculator-buy-for-others/assumenda/quos"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Insurance calculator updated.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/insurance-calculator/voluptates/officia/in" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/insurance-calculator/voluptates/officia/in"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Insurance calculator updated.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/insurance-calculator-buy-for-others/rerum/modi/quibusdam" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/insurance-calculator-buy-for-others/rerum/modi/quibusdam"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Patient's Endpoints
Create or update patient medical history.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/medical_history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"blood_type\": \"ut\",
\"asthmatic\": false,
\"diabetic_history\": true,
\"major_illness\": true,
\"allergic_to_any_drug\": false,
\"list_of_allergic_drugs\": \"[\\\"facere\\\",\\\"accusamus\\\"]\",
\"list_of_current_medications\": \"[\\\"sit\\\",\\\"quis\\\"]\",
\"health_status\": \"nostrum\",
\"care_giver_phone\": \"autem\",
\"comment\": \"laborum\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/medical_history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"blood_type": "ut",
"asthmatic": false,
"diabetic_history": true,
"major_illness": true,
"allergic_to_any_drug": false,
"list_of_allergic_drugs": "[\"facere\",\"accusamus\"]",
"list_of_current_medications": "[\"sit\",\"quis\"]",
"health_status": "nostrum",
"care_giver_phone": "autem",
"comment": "laborum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create or update patient medical history.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/medical_history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"blood_type\": \"neque\",
\"asthmatic\": true,
\"diabetic_history\": true,
\"major_illness\": false,
\"allergic_to_any_drug\": false,
\"list_of_allergic_drugs\": \"[\\\"quia\\\",\\\"sequi\\\"]\",
\"list_of_current_medications\": \"[\\\"cum\\\",\\\"assumenda\\\"]\",
\"health_status\": \"quis\",
\"care_giver_phone\": \"facilis\",
\"comment\": \"voluptatibus\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/medical_history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"blood_type": "neque",
"asthmatic": true,
"diabetic_history": true,
"major_illness": false,
"allergic_to_any_drug": false,
"list_of_allergic_drugs": "[\"quia\",\"sequi\"]",
"list_of_current_medications": "[\"cum\",\"assumenda\"]",
"health_status": "quis",
"care_giver_phone": "facilis",
"comment": "voluptatibus"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/medical_history
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/medical_history" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/medical_history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Book Patient Telemedicine appointment.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/book_appointment" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"appointment_date\": \"2024-12-17\",
\"start_time\": \"07:30:18\",
\"end_time\": \"2106-07-25\",
\"doctor_id\": 13,
\"amount\": \"aut\",
\"email\": \"durward41@example.org\",
\"currency\": \"tenetur\",
\"payment_ref\": \"quia\",
\"payment_date\": \"2024-12-17\",
\"payment_status\": \"tenetur\",
\"comment\": \"et\",
\"specialization_name\": \"ullam\",
\"appointment_type\": \"illum\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/book_appointment"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"appointment_date": "2024-12-17",
"start_time": "07:30:18",
"end_time": "2106-07-25",
"doctor_id": 13,
"amount": "aut",
"email": "durward41@example.org",
"currency": "tenetur",
"payment_ref": "quia",
"payment_date": "2024-12-17",
"payment_status": "tenetur",
"comment": "et",
"specialization_name": "ullam",
"appointment_type": "illum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all Patient's Appointments.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/book_appointment?status=pending+or+approved" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/book_appointment"
);
const params = {
"status": "pending or approved",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all Patient's Appointments.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/get_book_appointment/omnis?status=pending+or+approved" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/get_book_appointment/omnis"
);
const params = {
"status": "pending or approved",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Reschedule Patient's Appointments.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v1/book_appointment/reiciendis" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"status\": \"rescheduled\",
\"reschedule_comment\": \"ut\",
\"appointment_date\": \"2024-12-17\",
\"new_start_time\": \"07:30:19\",
\"new_end_time\": \"2096-07-07\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/book_appointment/reiciendis"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"status": "rescheduled",
"reschedule_comment": "ut",
"appointment_date": "2024-12-17",
"new_start_time": "07:30:19",
"new_end_time": "2096-07-07"
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Book Patient instant service.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/instance_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"healthissue\": \"porro\",
\"phone\": \"tenetur\",
\"doctor_id\": 20,
\"amount\": \"corporis\",
\"email\": \"ncremin@example.org\",
\"currency\": \"omnis\",
\"payment_ref\": \"quod\",
\"payment_date\": \"quidem\",
\"payment_status\": \"qui\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/instance_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"healthissue": "porro",
"phone": "tenetur",
"doctor_id": 20,
"amount": "corporis",
"email": "ncremin@example.org",
"currency": "omnis",
"payment_ref": "quod",
"payment_date": "quidem",
"payment_status": "qui"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Redial for instant service.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/redial_instance_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"request_id\": 20
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/redial_instance_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"request_id": 20
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Patient instant service.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/instance_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/instance_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Patient latest instant service.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/latest_instance_service" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/latest_instance_service"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all doctors for Telemedicine.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/doctors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"specialization\": \"corporis\",
\"home_visit\": true
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/doctors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"specialization": "corporis",
"home_visit": true
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get all doctors by rating for Telemedicine.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/top_doctors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"specialization\": \"nihil\",
\"home_visit\": false
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/top_doctors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"specialization": "nihil",
"home_visit": false
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/test_email
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v1/test_email" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v1/test_email"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Patient end call update.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v1/patients_end_call_update" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"appointment_id\": 7
}"
const url = new URL(
"https://api.wellnessplus.io/api/v1/patients_end_call_update"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"appointment_id": 7
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create or update patient medical history.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/admin/settings/medical_history" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"blood_type\": \"quia\",
\"asthmatic\": false,
\"diabetic_history\": true,
\"major_illness\": true,
\"allergic_to_any_drug\": true,
\"list_of_allergic_drugs\": \"[\\\"debitis\\\",\\\"consequuntur\\\"]\",
\"list_of_current_medications\": \"[\\\"et\\\",\\\"atque\\\"]\",
\"health_status\": \"rerum\",
\"care_giver_phone\": \"doloribus\",
\"comment\": \"officiis\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/settings/medical_history"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"blood_type": "quia",
"asthmatic": false,
"diabetic_history": true,
"major_illness": true,
"allergic_to_any_drug": true,
"list_of_allergic_drugs": "[\"debitis\",\"consequuntur\"]",
"list_of_current_medications": "[\"et\",\"atque\"]",
"health_status": "rerum",
"care_giver_phone": "doloribus",
"comment": "officiis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Create a rating for an appointment.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/rating" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"doctor_id\": 17,
\"patient_id\": 3,
\"appointment_id\": 1,
\"comment\": \"non\",
\"hospital_name\": \"pariatur\",
\"rating\": 16,
\"type\": \"home_visit\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/rating"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"doctor_id": 17,
"patient_id": 3,
"appointment_id": 1,
"comment": "non",
"hospital_name": "pariatur",
"rating": 16,
"type": "home_visit"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
PushNotifications Endpoints
Create a new User Device Token
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/push_notification/store_user_device_token" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 5,
\"device_token\": \"doloremque\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/push_notification/store_user_device_token"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 5,
"device_token": "doloremque"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": [
{
"id": 132,
"user_id": 8,
"device_token": "inventore",
"created_at": "2024-12-17T07:30:27.000000Z",
"updated_at": "2024-12-17T07:30:27.000000Z",
"deleted_at": "2024-12-17T07:30:27.000000Z"
},
{
"user_id": 845634263,
"device_token": "in",
"created_at": "2024-12-17T07:30:29.000000Z",
"updated_at": "2024-12-17T07:30:29.000000Z",
"deleted_at": "2024-12-17T07:30:29.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": "20",
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update a new User Device Token
Example request:
curl --request PUT \
"https://api.wellnessplus.io/api/v2/push_notification/store_user_device_token" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/push_notification/store_user_device_token"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());Example response (200):
{
"data": [
{
"user_id": 119119313,
"device_token": "fugiat",
"created_at": "2024-12-17T07:30:29.000000Z",
"updated_at": "2024-12-17T07:30:29.000000Z",
"deleted_at": "2024-12-17T07:30:29.000000Z"
},
{
"user_id": 9036,
"device_token": "voluptatem",
"created_at": "2024-12-17T07:30:29.000000Z",
"updated_at": "2024-12-17T07:30:29.000000Z",
"deleted_at": "2024-12-17T07:30:29.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": "20",
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display a listing of the User Push Notification Message.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/push_notification/push_notification_message?per_page=14" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/push_notification/push_notification_message"
);
const params = {
"per_page": "14",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (200):
{
"data": [
{
"user_id": 826,
"title": "provident",
"message": "ad",
"is_read": false,
"created_at": "2024-12-17T07:30:30.000000Z",
"updated_at": "2024-12-17T07:30:30.000000Z",
"deleted_at": "2024-12-17T07:30:30.000000Z"
},
{
"user_id": 234,
"title": "doloribus",
"message": "facilis",
"is_read": false,
"created_at": "2024-12-17T07:30:30.000000Z",
"updated_at": "2024-12-17T07:30:30.000000Z",
"deleted_at": "2024-12-17T07:30:30.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": "20",
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the group of Push Notification Messages.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/push_notification/push_notification_message" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"id\": [
15
],
\"is_read\": false
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/push_notification/push_notification_message"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"id": [
15
],
"is_read": false
};
fetch(url, {
method: "PATCH",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Example response (200):
{
"data": [
{
"user_id": 37350749,
"title": "modi",
"message": "sapiente",
"is_read": true,
"created_at": "2024-12-17T07:30:31.000000Z",
"updated_at": "2024-12-17T07:30:31.000000Z",
"deleted_at": "2024-12-17T07:30:31.000000Z"
},
{
"id": 136,
"user_id": 31,
"title": "distinctio",
"message": "qui",
"is_read": false,
"created_at": "2024-12-17T07:30:31.000000Z",
"updated_at": "2024-12-17T07:30:31.000000Z",
"deleted_at": "2024-12-17T07:30:31.000000Z"
}
],
"links": {
"first": "/?page=1",
"last": "/?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "/?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "/",
"per_page": "20",
"to": 2,
"total": 2
}
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Delete a group of Push Notification Messages.
Example request:
curl --request DELETE \
"https://api.wellnessplus.io/api/v2/push_notification/push_notification_message/17" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/push_notification/push_notification_message/17"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Standard Plan Endpoints
Store a newly created standard plan in storage.
Example request:
curl --request POST \
"https://api.wellnessplus.io/api/v2/standard_plans" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_id\": 9,
\"health_plan_id\": 5,
\"health_plan_benefit_plan_id\": 18,
\"health_plan_price_type\": \"vel\",
\"health_plan_demographics\": \"[\\\"et\\\",\\\"nemo\\\"]\",
\"status\": \"active\",
\"sex\": \"sint\",
\"transaction_id\": \"et\"
}"
const url = new URL(
"https://api.wellnessplus.io/api/v2/standard_plans"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_id": 9,
"health_plan_id": 5,
"health_plan_benefit_plan_id": 18,
"health_plan_price_type": "vel",
"health_plan_demographics": "[\"et\",\"nemo\"]",
"status": "active",
"sex": "sint",
"transaction_id": "et"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get user standard plan.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/standard_plans/user" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/standard_plans/user"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get Health plans.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/standard_plans/plan_types" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/standard_plans/plan_types"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Get provider's benefits.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/standard_plans/providers_benefits" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/standard_plans/providers_benefits"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Display the specified standard plan.
Example request:
curl --request GET \
--get "https://api.wellnessplus.io/api/v2/admin/standard_plans/aut" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/standard_plans/aut"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());Example response (404):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"error": "invalid_url",
"message": "The requested URL was not found on this server."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Update the specified standard plan.
Example request:
curl --request PATCH \
"https://api.wellnessplus.io/api/v2/admin/standard_plans/culpa" \
--header "Content-Type: application/json" \
--header "Accept: application/json"const url = new URL(
"https://api.wellnessplus.io/api/v2/admin/standard_plans/culpa"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PATCH",
headers,
}).then(response => response.json());Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.