Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new insurance company.
cURL
curl --request POST \ --url https://sandbox.elationemr.com/api/2.0/insurance_companies/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "carrier": "<string>", "practice": 123, "address": "<string>", "aliases": "<string>", "city": "<string>", "eligibility_payer_id": "<string>", "extension": "<string>", "external_vendor_id": "<string>", "is_credentialed": true, "is_enrolled": true, "payer_id": "<string>", "phone": "<string>", "state": "<string>", "suite": "<string>", "zip": "<string>" } '
import requests url = "https://sandbox.elationemr.com/api/2.0/insurance_companies/" payload = { "carrier": "<string>", "practice": 123, "address": "<string>", "aliases": "<string>", "city": "<string>", "eligibility_payer_id": "<string>", "extension": "<string>", "external_vendor_id": "<string>", "is_credentialed": True, "is_enrolled": True, "payer_id": "<string>", "phone": "<string>", "state": "<string>", "suite": "<string>", "zip": "<string>" } 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({ carrier: '<string>', practice: 123, address: '<string>', aliases: '<string>', city: '<string>', eligibility_payer_id: '<string>', extension: '<string>', external_vendor_id: '<string>', is_credentialed: true, is_enrolled: true, payer_id: '<string>', phone: '<string>', state: '<string>', suite: '<string>', zip: '<string>' }) }; fetch('https://sandbox.elationemr.com/api/2.0/insurance_companies/', 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://sandbox.elationemr.com/api/2.0/insurance_companies/", 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([ 'carrier' => '<string>', 'practice' => 123, 'address' => '<string>', 'aliases' => '<string>', 'city' => '<string>', 'eligibility_payer_id' => '<string>', 'extension' => '<string>', 'external_vendor_id' => '<string>', 'is_credentialed' => true, 'is_enrolled' => true, 'payer_id' => '<string>', 'phone' => '<string>', 'state' => '<string>', 'suite' => '<string>', 'zip' => '<string>' ]), 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://sandbox.elationemr.com/api/2.0/insurance_companies/" payload := strings.NewReader("{\n \"carrier\": \"<string>\",\n \"practice\": 123,\n \"address\": \"<string>\",\n \"aliases\": \"<string>\",\n \"city\": \"<string>\",\n \"eligibility_payer_id\": \"<string>\",\n \"extension\": \"<string>\",\n \"external_vendor_id\": \"<string>\",\n \"is_credentialed\": true,\n \"is_enrolled\": true,\n \"payer_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"state\": \"<string>\",\n \"suite\": \"<string>\",\n \"zip\": \"<string>\"\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://sandbox.elationemr.com/api/2.0/insurance_companies/") .header("Authorization", "Bearer <token>") .header("Content-Type", "application/json") .body("{\n \"carrier\": \"<string>\",\n \"practice\": 123,\n \"address\": \"<string>\",\n \"aliases\": \"<string>\",\n \"city\": \"<string>\",\n \"eligibility_payer_id\": \"<string>\",\n \"extension\": \"<string>\",\n \"external_vendor_id\": \"<string>\",\n \"is_credentialed\": true,\n \"is_enrolled\": true,\n \"payer_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"state\": \"<string>\",\n \"suite\": \"<string>\",\n \"zip\": \"<string>\"\n}") .asString();
require 'uri' require 'net/http' url = URI("https://sandbox.elationemr.com/api/2.0/insurance_companies/") 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 \"carrier\": \"<string>\",\n \"practice\": 123,\n \"address\": \"<string>\",\n \"aliases\": \"<string>\",\n \"city\": \"<string>\",\n \"eligibility_payer_id\": \"<string>\",\n \"extension\": \"<string>\",\n \"external_vendor_id\": \"<string>\",\n \"is_credentialed\": true,\n \"is_enrolled\": true,\n \"payer_id\": \"<string>\",\n \"phone\": \"<string>\",\n \"state\": \"<string>\",\n \"suite\": \"<string>\",\n \"zip\": \"<string>\"\n}" response = http.request(request) puts response.read_body
{ "carrier": "<string>", "practice": 123, "address": "<string>", "aliases": "<string>", "city": "<string>", "created_date": "2023-11-07T05:31:56Z", "deleted_date": "2023-11-07T05:31:56Z", "eligibility_payer_id": "<string>", "extension": "<string>", "external_vendor_id": "<string>", "id": 123, "insurance_type": "Capitated", "is_credentialed": true, "is_enrolled": true, "payer_id": "<string>", "phone": "<string>", "state": "<string>", "suite": "<string>", "zip": "<string>" }
The access token received from the authorization server in the OAuth 2.0 flow.
200
A string used to create alternate terms that will come up in search results (for example "BC" for Blue Cross).
300
50
6
The ID used by a vendor to represent the carrier in their system.
An enumerator representing the type of insurance the carrier offers.
Capitated
Commercial
Managed Medicaid
Medicaid
Medicare
Medicare Advantage
Medicare Supplement
Self Pay
Workers Compensation/Third Party Liability
None
Whether or not the practice has credentials to submit claims to the carrier.
The Payer ID of the insurance carrier.
20
2
40
10
Was this page helpful?