Retrieve Provider
Retrieves a provider record by its ID. This operation returns the complete provider details including contact information.
/providers/{providerId}This is a beta endpoint. We may make backwards incompatible changes.
This endpoint allows you to retrieve details for the specified provider.
A Stedi API Key for authentication.
Path Parameters
The unique ID Stedi assigned to the provider when it was created in the system.
Response
GetProvider 200 response
A unique identifier Stedi assigns to this provider.
The date and time Stedi created the provider record.
- Format:
date-time
The date and time Stedi last updated the provider record.
- Format:
date-time
The provider's National Provider Identifier (NPI). This is a 10-digit number that is unique to the provider.
Each provider record must have a unique npi and taxId combination. For example, you can create two provider records with the same npi as long as they have different values for taxId.
- Pattern:
^[0-9]{10}$
The type of tax ID. Can be either an EIN - Employer Identification Number, or an SSN - Social Security Number.
EINSSNThe provider's tax ID, as specified by taxIdType. This identifier has to be provided without any separators, such as dashes or spaces. For example 111-22-3333 is invalid but 111223333 is valid.
Each provider record must have a unique npi and taxId combination. For example, you can create two provider records with the same taxId as long as they have different values for npi.
- Pattern:
^\d{9}$
The provider's business name. This is typically the provider's practice name, such as Dental Associates, LLC, but it can also be the provider's first and last name.
- Minimum length:
5
The contact information for the provider. This is where the payer will send communications about the enrollment, if needed.
- Either
organizationNameorfirstNameandlastNameare required. - The name and address should match exactly what the payer has on file for the provider. Some payers reject enrollment requests with addresses that don't match their records.
- If you're submitting enrollment requests on a provider's behalf, you may want to set the phone number and email to your own contact details. Do this when you want the payer to contact you about the enrollment status instead of the provider directly.
curl --request GET \ --url "https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}" \ --header "Authorization: <api_key>"fetch("https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}", { headers: { "Authorization": "<api_key>" }})package mainimport ( "fmt" "net/http" "io/ioutil")func main() { url := "https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}" 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 requestsurl = "https://enrollments.us.stedi.com/2024-09-01/providers/{providerId}"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/{providerId}")) .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"
}{
"message": "string",
"code": "string"
}