List Providers
Lists providers with optional filtering and pagination.
/providers
This is a beta endpoint. We may make backwards incompatible changes.
This endpoint retrieves all of the provider records in your Stedi account. You can filter the results by the provider's name, NPI, or tax ID.
This endpoint returns only the provider record; it doesn't include information about associated transaction enrollments. To retrieve enrollment information, use the List Enrollments endpoint.
A Stedi API Key for authentication.
Query Parameters
The maximum number of elements to return in a page. If not specified, the default is 100.
- Range:
≥ 1 and ≤ 500
An opaque token returned by a previous call to this endpoint in the nextPageToken
property. You can use it to request the next page of results. If not specified, Stedi returns the first page of results.
- Required string length:
1 - 1024
Filter for providers with properties matching a query string. You can provide all or part of a provider name, NPI, or tax ID. The search is case-insensitive and supports fuzzy matching.
For example, providing ?filter=OS
returns providers with names containing os
(such as Joseph
).
Response
ListProviders 200 response
Token for pagination to retrieve the next page of results; null if there are no more results
- Required string length:
1 - 1024
Details about every provider your organization has created within Stedi.
curl --request GET \
--url "https://enrollments.us.stedi.com/2024-09-01/providers" \
--header "Authorization: <api_key>"
fetch("https://enrollments.us.stedi.com/2024-09-01/providers", {
headers: {
"Authorization": "<api_key>"
}
})
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://enrollments.us.stedi.com/2024-09-01/providers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api_key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://enrollments.us.stedi.com/2024-09-01/providers"
response = requests.request("GET", url, headers = {
"Authorization": "<api_key>"
})
print(response.text)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.net.http.HttpResponse.BodyHandlers;
import java.time.Duration;
HttpClient client = HttpClient.newBuilder()
.connectTimeout(Duration.ofSeconds(10))
.build();
HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
.uri(URI.create("https://enrollments.us.stedi.com/2024-09-01/providers"))
.header("Authorization", "<api_key>")
.GET()
.build();
try {
HttpResponse<String> response = client.send(requestBuilder.build(), BodyHandlers.ofString());
System.out.println("Status code: " + response.statusCode());
System.out.println("Response body: " + response.body());
} catch (Exception e) {
e.printStackTrace();
}
{
"message": "string",
"fieldList": [
{
"path": "string",
"message": "string"
}
]
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}
{
"message": "string",
"code": "string"
}