Provider directory API
8 operations. Back to the API overview. Examples use synthetic data.
Returns this organization's public provider directory listing (off by default), its state and the choices the form offers
GET /admin/v1/directory
Returns this organization's public provider directory listing (off by default), its state and the choices the form offers.
Needs the permission: config:history.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
accepts | any | optional | - |
available | any | optional | - |
connect | any | optional | - |
listing | object (OrgdirListing) | optional | Listing is what an organization publishes. |
listing.accepts | array of string | optional | - |
listing.city | string | optional | - |
listing.confirm_website | boolean | optional | ConfirmWebsite is the administrator's attestation that the organization is entitled to publish this website (needed when the website's domain is not a verified Network domain). |
listing.display_name | string | optional | - |
listing.npis | array of object (OrgdirNPIEntry) | optional | - |
listing.practice_type | string | optional | - |
listing.state | string | optional | - |
listing.website | string | optional | - |
npi_lookup | any | optional | - |
practice_types | any | optional | - |
public_facts | any | optional | - |
published_at | string (date-time) | optional | - |
states | any | optional | - |
status | any | optional | - |
suggested_accepts | any | optional | - |
sync_pending | any | optional | - |
synced_at | string (date-time) | optional | - |
version | any | optional | - |
{
"accepts": {},
"available": {},
"connect": {},
"listing": {
"accepts": [
"example"
],
"city": "example",
"confirm_website": true,
"display_name": "example-name",
"npis": [
{
"legal_name": "example-name",
"npi": "example",
"taxonomy": "example",
"verified": true,
"verified_at": "2026-01-15T14:30:00Z"
}
],
"practice_type": "example",
"state": "ok",
"website": "example"
},
"npi_lookup": {},
"practice_types": {},
"public_facts": {},
"published_at": "2026-01-15T14:30:00Z",
"states": {},
"status": {},
"suggested_accepts": {},
"sync_pending": {},
"synced_at": "2026-01-15T14:30:00Z",
"version": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/directory"Saves the listing as a draft or publishes it to the public provider directory
PUT /admin/v1/directory
Saves the listing as a draft or publishes it to the public provider directory; the control plane verifies the NPIs and the website.
Needs the permission: config:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
listing | object (OrgdirListing) | optional | Listing is what an organization publishes. |
listing.accepts | array of string | optional | - |
listing.city | string | optional | - |
listing.confirm_website | boolean | optional | ConfirmWebsite is the administrator's attestation that the organization is entitled to publish this website (needed when the website's domain is not a verified Network domain). |
listing.display_name | string | optional | - |
listing.npis | array of object (OrgdirNPIEntry) | optional | - |
listing.practice_type | string | optional | - |
listing.state | string | optional | - |
listing.website | string | optional | - |
publish | boolean | optional | - |
version | integer | optional | - |
{
"listing": {
"accepts": [
"example"
],
"city": "example",
"confirm_website": true,
"display_name": "example-name",
"npis": [
{
"legal_name": "example-name",
"npi": "example",
"taxonomy": "example",
"verified": true,
"verified_at": "2026-01-15T14:30:00Z"
}
],
"practice_type": "example",
"state": "ok",
"website": "example"
},
"publish": true,
"version": 1
}Response 200
{
"public": {},
"status": {},
"version": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request PUT \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"listing":{"accepts":["example"],"city":"example","confirm_website":true,"display_name":"example-name","npis":[{"legal_name":"example-name","npi":"example","taxonomy":"example","verified":true,"verified_at":"2026-01-15T14:30:00Z"}],"practice_type":"example","state":"ok","website":"example"},"publish":true,"version":1}' \
"https://YOUR-CONSOLE-HOST/admin/v1/directory"Asks a listed organization to connect
POST /admin/v1/directory/connect
Asks a listed organization to connect; its administrators are notified. Nothing about either side's endpoints, volumes or systems is shared.
Needs the permission: senders:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
note | string | optional | - |
provider | string | optional | - |
{
"note": "example",
"provider": "example"
}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
request | object | optional | - |
request.id | any | optional | - |
request.status | string | optional | - |
{
"request": {
"id": {},
"status": "ok"
}
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"note":"example","provider":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/directory/connect"Checks an NPI's check digit and looks it up in the public NPPES registry to prefill the listing
POST /admin/v1/directory/npi
Checks an NPI's check digit and looks it up in the public NPPES registry to prefill the listing.
Needs the permission: config:write.
Request body
| Field | Type | Presence | Description |
|---|---|---|---|
npi | string | optional | - |
{
"npi": "example"
}Response 200
{
"message": {},
"valid": {}
}Other responses
401Authentication required403Not permitted404Not Found
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{"npi":"example"}' \
"https://YOUR-CONSOLE-HOST/admin/v1/directory/npi"Lists the connection requests sent to and by this organization through the directory
GET /admin/v1/directory/requests
Lists the connection requests sent to and by this organization through the directory.
Needs the permission: config:history.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
requests | any | optional | - |
{
"requests": {}
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/directory/requests"Declines a connection request sent to this organization
POST /admin/v1/directory/requests/{id}/decline
Declines a connection request sent to this organization; the requester is not asked again for 30 days.
Needs the permission: senders:write.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
declined | any | optional | - |
{
"declined": {}
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/directory/requests/example-id/decline"Searches the other organizations listed in the provider directory (public facts only)
GET /admin/v1/directory/search
Searches the other organizations listed in the provider directory (public facts only).
Needs the permission: config:history.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
q | query | string | optional | - |
state | query | string | optional | - |
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
providers | any | optional | - |
{
"providers": {}
}Other responses
401Authentication required403Not permitted404Not Found502Bad Gateway
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/directory/search"Removes the listing from the public provider directory now
POST /admin/v1/directory/withdraw
Removes the listing from the public provider directory now.
Needs the permission: config:write.
Request body
{}Response 200
{
"public": {},
"status": {},
"version": {}
}Other responses
401Authentication required403Not permitted404Not Found503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/directory/withdraw"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.