Create a provider
curl --request POST \
--url https://api.vibrant-america.com/v1/providers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"npi": "1234567890",
"firstName": "Alex",
"lastName": "Chen",
"email": "[email protected]",
"licenseState": "CA",
"specialty": "Functional Medicine"
}
'import requests
url = "https://api.vibrant-america.com/v1/providers"
payload = {
"npi": "1234567890",
"firstName": "Alex",
"lastName": "Chen",
"email": "[email protected]",
"licenseState": "CA",
"specialty": "Functional Medicine"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
npi: '1234567890',
firstName: 'Alex',
lastName: 'Chen',
email: '[email protected]',
licenseState: 'CA',
specialty: 'Functional Medicine'
})
};
fetch('https://api.vibrant-america.com/v1/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vibrant-america.com/v1/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'npi' => '1234567890',
'firstName' => 'Alex',
'lastName' => 'Chen',
'email' => '[email protected]',
'licenseState' => 'CA',
'specialty' => 'Functional Medicine'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vibrant-america.com/v1/providers"
payload := strings.NewReader("{\n \"npi\": \"1234567890\",\n \"firstName\": \"Alex\",\n \"lastName\": \"Chen\",\n \"email\": \"[email protected]\",\n \"licenseState\": \"CA\",\n \"specialty\": \"Functional Medicine\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.vibrant-america.com/v1/providers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"npi\": \"1234567890\",\n \"firstName\": \"Alex\",\n \"lastName\": \"Chen\",\n \"email\": \"[email protected]\",\n \"licenseState\": \"CA\",\n \"specialty\": \"Functional Medicine\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vibrant-america.com/v1/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"npi\": \"1234567890\",\n \"firstName\": \"Alex\",\n \"lastName\": \"Chen\",\n \"email\": \"[email protected]\",\n \"licenseState\": \"CA\",\n \"specialty\": \"Functional Medicine\"\n}"
response = http.request(request)
puts response.read_body{
"providerId": 4471,
"npi": "1234567890",
"firstName": "Alex",
"lastName": "Chen",
"status": "active",
"clinicId": 88,
"createdAt": "2026-07-14T10:04:00Z"
}{
"error": {
"code": "invalid_request",
"message": "One or more testCodes were not recognized.",
"requestId": "req_01JQ8ZC5X9K2MN",
"details": [
{
"unknownCodes": [
"FOO_BAR"
]
}
]
}
}{
"error": {
"code": "unauthorized",
"message": "Not authenticated.",
"requestId": "req_01JQ8ZC5X9K2MN"
}
}{
"error": {
"code": "duplicate_provider",
"message": "A provider with this NPI already exists in your clinic.",
"details": [
{
"providerId": 4471
}
]
}
}{
"error": {
"code": "internal_error",
"message": "Unexpected error.",
"requestId": "req_01JQ8ZC5X9K2MN"
}
}Endpoints
Provider
π§ Working in progress β this endpoint is not live yet.
Registers a provider under the clinic in your token, so they can place orders under their own NPI instead of everything being attributed at the clinic level.
Duplicate rule mirrors Create a patient: re-registering an NPI that already exists in your clinic returns 409 carrying the existing providerId, so you reconcile instead of retrying.
POST
/
providers
Create a provider
curl --request POST \
--url https://api.vibrant-america.com/v1/providers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"npi": "1234567890",
"firstName": "Alex",
"lastName": "Chen",
"email": "[email protected]",
"licenseState": "CA",
"specialty": "Functional Medicine"
}
'import requests
url = "https://api.vibrant-america.com/v1/providers"
payload = {
"npi": "1234567890",
"firstName": "Alex",
"lastName": "Chen",
"email": "[email protected]",
"licenseState": "CA",
"specialty": "Functional Medicine"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
npi: '1234567890',
firstName: 'Alex',
lastName: 'Chen',
email: '[email protected]',
licenseState: 'CA',
specialty: 'Functional Medicine'
})
};
fetch('https://api.vibrant-america.com/v1/providers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.vibrant-america.com/v1/providers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'npi' => '1234567890',
'firstName' => 'Alex',
'lastName' => 'Chen',
'email' => '[email protected]',
'licenseState' => 'CA',
'specialty' => 'Functional Medicine'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.vibrant-america.com/v1/providers"
payload := strings.NewReader("{\n \"npi\": \"1234567890\",\n \"firstName\": \"Alex\",\n \"lastName\": \"Chen\",\n \"email\": \"[email protected]\",\n \"licenseState\": \"CA\",\n \"specialty\": \"Functional Medicine\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.vibrant-america.com/v1/providers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"npi\": \"1234567890\",\n \"firstName\": \"Alex\",\n \"lastName\": \"Chen\",\n \"email\": \"[email protected]\",\n \"licenseState\": \"CA\",\n \"specialty\": \"Functional Medicine\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.vibrant-america.com/v1/providers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"npi\": \"1234567890\",\n \"firstName\": \"Alex\",\n \"lastName\": \"Chen\",\n \"email\": \"[email protected]\",\n \"licenseState\": \"CA\",\n \"specialty\": \"Functional Medicine\"\n}"
response = http.request(request)
puts response.read_body{
"providerId": 4471,
"npi": "1234567890",
"firstName": "Alex",
"lastName": "Chen",
"status": "active",
"clinicId": 88,
"createdAt": "2026-07-14T10:04:00Z"
}{
"error": {
"code": "invalid_request",
"message": "One or more testCodes were not recognized.",
"requestId": "req_01JQ8ZC5X9K2MN",
"details": [
{
"unknownCodes": [
"FOO_BAR"
]
}
]
}
}{
"error": {
"code": "unauthorized",
"message": "Not authenticated.",
"requestId": "req_01JQ8ZC5X9K2MN"
}
}{
"error": {
"code": "duplicate_provider",
"message": "A provider with this NPI already exists in your clinic.",
"details": [
{
"providerId": 4471
}
]
}
}{
"error": {
"code": "internal_error",
"message": "Unexpected error.",
"requestId": "req_01JQ8ZC5X9K2MN"
}
}π§ Working in progress β this endpoint is not live yet. Providers are set up in the Provider
Portal today.
Duplicates return the existing provider
Re-registering an NPI that already exists in your clinic returns409 carrying the existing
providerId β reconcile with that id instead of retrying. This mirrors
Create a patient, which does the same with patientId.
Then order under that NPI
Place an order takes anorderingProviderId. Once a provider is
registered, their orders carry their own identifier rather than the clinicβs.Authorizations
Body
application/json
Example:
Response
Provider created under your clinic.