# \#api

**URL:** https://community.open-emr.org/tag/api/53.md

[Latest](https://community.open-emr.org/latest.md) · [Categories](https://community.open-emr.org/categories.md) · [Tags](https://community.open-emr.org/tags.md)

---

## [Open-source ambient AI scribe built on the OpenEMR REST API — looking for critique](https://community.open-emr.org/t/open-source-ambient-ai-scribe-built-on-the-openemr-rest-api-looking-for-critique/26925)

<div class="topic-metadata">

**Author:** [@Andy.Le](https://community.open-emr.org/u/Andy.Le)\
**Replies:** 2\
**Last updated:** [August 22, 2026, 6:48pm UTC](https://community.open-emr.org/t/open-source-ambient-ai-scribe-built-on-the-openemr-rest-api-looking-for-critique/26925 "2026-08-22T18:48:23Z")

</div>

Hi all, I scribed for a few years before getting into software, first in family medicine, then at an orthopedic clinic. As a scribe, my value wasn’t that I typed quickly. I helped the doctor by easing the cognitive burd…

---

## [How to fetch Care Plan forms and Clinical Note forms via API/FHIR (Encounter only returns visit summary)](https://community.open-emr.org/t/how-to-fetch-care-plan-forms-and-clinical-note-forms-via-api-fhir-encounter-only-returns-visit-summary/26581)

<div class="topic-metadata">

**Author:** [@Bhanu\_Pratap\_Singh](https://community.open-emr.org/u/Bhanu_Pratap_Singh)\
**Replies:** 0\
**Last updated:** [February 22, 2026, 3:57pm UTC](https://community.open-emr.org/t/how-to-fetch-care-plan-forms-and-clinical-note-forms-via-api-fhir-encounter-only-returns-visit-summary/26581 "2026-02-22T15:57:28Z")

</div>

Situation Hello everyone, I’m working with a local OpenEMR instance (7.0.3) and trying to fetch data using: Standard REST API FHIR API I’m able to retrieve some encounter-related data, but I’m struggling to ac…

---

## [Getting error while entering token accessing rest apis](https://community.open-emr.org/t/getting-error-while-entering-token-accessing-rest-apis/26514)

<div class="topic-metadata">

**Author:** [@Md\_Adil](https://community.open-emr.org/u/Md_Adil)\
**Replies:** 0\
**Last updated:** [January 27, 2026, 5:13am UTC](https://community.open-emr.org/t/getting-error-while-entering-token-accessing-rest-apis/26514 "2026-01-27T05:13:49Z")

</div>

\*\*When I am accessing rest apis and generated toke successfuly and sending bearer token then i am getting this error Url:\*\* https://localhost/openemr/apis/default/fhir/Patient Error: { “error”: “An error occurred”, “…

---

## [Get EMR data through API call](https://community.open-emr.org/t/get-emr-data-through-api-call/23061)

<div class="topic-metadata">

**Author:** [@mali](https://community.open-emr.org/u/mali)\
**Replies:** 6\
**Last updated:** [October 22, 2025, 9:02pm UTC](https://community.open-emr.org/t/get-emr-data-through-api-call/23061 "2025-10-22T21:02:08Z")

</div>

Hi, I’m a clinician from Sri Lanka. I am trying to use OpenEMR as a separate software for clinical use. There is a already established EMR in my hospital. I have developed a API in that. I want to call that API and get p…

---

## [Openemr api issue](https://community.open-emr.org/t/openemr-api-issue/25741)

<div class="topic-metadata">

**Author:** [@kiszna](https://community.open-emr.org/u/kiszna)\
**Replies:** 2\
**Last updated:** [June 24, 2025, 5:51am UTC](https://community.open-emr.org/t/openemr-api-issue/25741 "2025-06-24T05:51:24Z")

</div>

Hi, I am trying to access {base\_url}/apis/default/api/patient/{pid}/insurance having Api Client Application with the scope api:oemr, but it throws 401 status code. And also, there is scope like user/insurance.read and u…

---

## [Oauth2 login for 3rd Part Application](https://community.open-emr.org/t/oauth2-login-for-3rd-part-application/25492)

<div class="topic-metadata">

**Author:** [@casper](https://community.open-emr.org/u/casper)\
**Replies:** 0\
**Last updated:** [May 13, 2025, 3:01am UTC](https://community.open-emr.org/t/oauth2-login-for-3rd-part-application/25492 "2025-05-13T03:01:17Z")

</div>

Hi, I already manage to connect to Open EMR from a External 3rd Party Application, But every time the application connect to Open EMR it always ask for the user credentials, Is there a way to extend the expiry to every …

---

## [Scope user/document.read and user/document.write not available while registering API Client](https://community.open-emr.org/t/scope-user-document-read-and-user-document-write-not-available-while-registering-api-client/25353)

<div class="topic-metadata">

**Author:** [@soban.momin](https://community.open-emr.org/u/soban.momin)\
**Replies:** 6\
**Last updated:** [May 2, 2025, 10:13am UTC](https://community.open-emr.org/t/scope-user-document-read-and-user-document-write-not-available-while-registering-api-client/25353 "2025-05-02T10:13:17Z")

</div>

Situation The scopes “user/document.read” and “user/document.write” are not available while registering API Client. OpenEMR Version I’m using docker to run OpenEMR version 7.0.3 Browser: Chrome version 124.0.6367.11…

---

## [The POST user/facility Standard API endpoint unnecessarily requires facility\_npi](https://community.open-emr.org/t/the-post-user-facility-standard-api-endpoint-unnecessarily-requires-facility-npi/25133)

<div class="topic-metadata">

**Author:** [@modanq](https://community.open-emr.org/u/modanq)\
**Replies:** 2\
**Last updated:** [March 24, 2025, 3:28am UTC](https://community.open-emr.org/t/the-post-user-facility-standard-api-endpoint-unnecessarily-requires-facility-npi/25133 "2025-03-24T03:28:02Z")

</div>

Situation When sending a POST request to the user/facility endpoint (i.e., /apis/default/api/facility) I am getting the following validation error: { “validationErrors”: { “facility\_npi”: { “Required::NON\_EXISTENT\_K…

---

## [How Can Add Custom Demographic field using API](https://community.open-emr.org/t/how-can-add-custom-demographic-field-using-api/24354)

<div class="topic-metadata">

**Author:** [@Maitrak\_Nirmal](https://community.open-emr.org/u/Maitrak_Nirmal)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 8:16am UTC](https://community.open-emr.org/t/how-can-add-custom-demographic-field-using-api/24354 "2025-01-28T08:16:41Z")

</div>

How can add a custom demographic field using API, I have viewed this document for creating a custom field through UI (HOWTO: Customize A Demographics User Defined Field - OpenEMR Project Wiki) I want to create this fiel…

---

## [Get a list of custom field for Patient](https://community.open-emr.org/t/get-a-list-of-custom-field-for-patient/24291)

<div class="topic-metadata">

**Author:** [@nikos](https://community.open-emr.org/u/nikos)\
**Replies:** 5\
**Last updated:** [January 21, 2025, 3:04pm UTC](https://community.open-emr.org/t/get-a-list-of-custom-field-for-patient/24291 "2025-01-21T15:04:21Z")

</div>

Hello, I have added some custom fields to the Patient entity. Is there a way to retrieve a list of the custom fields I added, so I can use them to create a new patient through the API? Best, Nikos

---

## [How to UN-register an API client?](https://community.open-emr.org/t/how-to-un-register-an-api-client/22257)

<div class="topic-metadata">

**Author:** [@emintz](https://community.open-emr.org/u/emintz)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 3:39pm UTC](https://community.open-emr.org/t/how-to-un-register-an-api-client/22257 "2024-03-20T15:39:46Z")

</div>

Situation I was able to register my API Client like this: curl -X POST -k -H ‘Content-Type: application/json’ -i ‘https://my-server/oauth2/default/registration’ --data ‘{…}’ Cool! Now, how can I UN-register API Client…

---

## [FHIR Appointment not functioning](https://community.open-emr.org/t/fhir-appointment-not-functioning/22250)

<div class="topic-metadata">

**Author:** [@frankparth8](https://community.open-emr.org/u/frankparth8)\
**Replies:** 2\
**Last updated:** [March 19, 2024, 1:00am UTC](https://community.open-emr.org/t/fhir-appointment-not-functioning/22250 "2024-03-19T01:00:43Z")

</div>

Having an issue where I’m attempting to use a Get request for a FHIR Appointment. The same token works for Patient and Practitioner but for some reason I’m getting a 401 unauthorized for a FHIR Appointment. Here are my …

---

## [Unable to add Standard API scopes in 7.0.2](https://community.open-emr.org/t/unable-to-add-standard-api-scopes-in-7-0-2/21758)

<div class="topic-metadata">

**Author:** [@Robert\_McNutt](https://community.open-emr.org/u/Robert_McNutt)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 8:59pm UTC](https://community.open-emr.org/t/unable-to-add-standard-api-scopes-in-7-0-2/21758 "2024-03-01T20:59:53Z")

</div>

Situation when adding a new API client, only the FHIR scopes (with the capital first letter) are available. When trying to access any of the standard api paths the request fails with a 401. Additionally, when requesting…

---

## [How do I access the internal api? Where do I find "client\_id" / "client\_secret"](https://community.open-emr.org/t/how-do-i-access-the-internal-api-where-do-i-find-client-id-client-secret/21896)

<div class="topic-metadata">

**Author:** [@tem](https://community.open-emr.org/u/tem)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 7:26pm UTC](https://community.open-emr.org/t/how-do-i-access-the-internal-api-where-do-i-find-client-id-client-secret/21896 "2024-01-29T19:26:47Z")

</div>

Hi I am trying to author tests for openEMR. I’ve got a local dev environment up and running on macOS Ventura. I am very confused as to how to access the internal api of openEMR. I’ve located and opened the swagger page.…

---

## [Using JS framework with OpenEMR backend](https://community.open-emr.org/t/using-js-framework-with-openemr-backend/21653)

<div class="topic-metadata">

**Author:** [@kristof](https://community.open-emr.org/u/kristof)\
**Replies:** 4\
**Last updated:** [December 13, 2023, 4:06pm UTC](https://community.open-emr.org/t/using-js-framework-with-openemr-backend/21653 "2023-12-13T16:06:35Z")

</div>

Is it possible to use JS Frameworks with openEMR backend to build user inferface? Kristof

---

## [Do we have Athorize for OpenEMR Swagger API for testing users?](https://community.open-emr.org/t/do-we-have-athorize-for-openemr-swagger-api-for-testing-users/21664)

<div class="topic-metadata">

**Author:** [@Viktor\_Shmatko](https://community.open-emr.org/u/Viktor_Shmatko)\
**Replies:** 1\
**Last updated:** [December 12, 2023, 11:01am UTC](https://community.open-emr.org/t/do-we-have-athorize-for-openemr-swagger-api-for-testing-users/21664 "2023-12-12T11:01:34Z")

</div>

Do we have any login test for test api? https://edu.openemr.io/openemr/swagger/

---

## [Accessing Standard API with Client Credentials Grant Authorization Flow](https://community.open-emr.org/t/accessing-standard-api-with-client-credentials-grant-authorization-flow/21206)

<div class="topic-metadata">

**Author:** [@Roman\_Zakaliak](https://community.open-emr.org/u/Roman_Zakaliak)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 12:19pm UTC](https://community.open-emr.org/t/accessing-standard-api-with-client-credentials-grant-authorization-flow/21206 "2023-10-27T12:19:39Z")

</div>

I’ve successfully implemented Client Credentials Grant authorization flow and it works properly for accessing the FHIR API. But when I make request to Standard Api (api/patient endpoint), I get following error in the lo…

---

## [Issue in Registering OpenEMR client API](https://community.open-emr.org/t/issue-in-registering-openemr-client-api/20286)

<div class="topic-metadata">

**Author:** [@Aravindh](https://community.open-emr.org/u/Aravindh)\
**Replies:** 2\
**Last updated:** [October 19, 2023, 6:39am UTC](https://community.open-emr.org/t/issue-in-registering-openemr-client-api/20286 "2023-10-19T06:39:45Z")

</div>

Situation Hey all, I have installed Open EMR on Ubuntu os Locally on my pc. The open emr works well i can able to access Everything. But when i try to create a client Api it is returning me the below error: I have…

---

## [OpenEMR Appointment API both Standard API and FHIR not Working](https://community.open-emr.org/t/openemr-appointment-api-both-standard-api-and-fhir-not-working/21008)

<div class="topic-metadata">

**Author:** [@kkappiah](https://community.open-emr.org/u/kkappiah)\
**Replies:** 14\
**Last updated:** [August 21, 2023, 9:55pm UTC](https://community.open-emr.org/t/openemr-appointment-api-both-standard-api-and-fhir-not-working/21008 "2023-08-21T21:55:40Z")

</div>

Hello @adunsulag , I am trying to retrieve appointment information from my OpenEMR installation using the Standard API on Postman. Anytime i hit the endpoint, i get unauthorized 401 on the endpoint example.org/apis/defa…

---

## [Exploring the Connection between Medical Problems and Encounters: Seeking Guidance](https://community.open-emr.org/t/exploring-the-connection-between-medical-problems-and-encounters-seeking-guidance/20968)

<div class="topic-metadata">

**Author:** [@Cardo\_Devel](https://community.open-emr.org/u/Cardo_Devel)\
**Replies:** 2\
**Last updated:** [August 14, 2023, 2:42pm UTC](https://community.open-emr.org/t/exploring-the-connection-between-medical-problems-and-encounters-seeking-guidance/20968 "2023-08-14T14:42:13Z")

</div>

Hello everyone, I hope you’re all doing well. I’ve got a question regarding our data management in the context of medical problems and encounters. We’ve been working with the APIs for medical problems and encounters to …

---

## [Oemr standard API is not working](https://community.open-emr.org/t/oemr-standard-api-is-not-working/20551)

<div class="topic-metadata">

**Author:** [@Gaurav\_Sontakke](https://community.open-emr.org/u/Gaurav_Sontakke)\
**Replies:** 6\
**Last updated:** [May 25, 2023, 1:53pm UTC](https://community.open-emr.org/t/oemr-standard-api-is-not-working/20551 "2023-05-25T13:53:13Z")

</div>

Hi We are seeing some issues with using standard API. When we use Scope (user/Appointment.read) as defined to get the token then it generates the token & it generates the db entry in the oauth3 table but since routes (/…

---

## [Authorization grant flow 404 Error](https://community.open-emr.org/t/authorization-grant-flow-404-error/20306)

<div class="topic-metadata">

**Author:** [@Aravindh](https://community.open-emr.org/u/Aravindh)\
**Replies:** 1\
**Last updated:** [April 18, 2023, 12:13pm UTC](https://community.open-emr.org/t/authorization-grant-flow-404-error/20306 "2023-04-18T12:13:55Z")

</div>

Hey all, I have tried to do the Authorization grant flow on demo open emr website to read the patient datas through fhir , Below are the steps i have followed: 1.)Registration of the Api: It gave me back the below …

---

## [Open EMR API FHIR connection with swagger](https://community.open-emr.org/t/open-emr-api-fhir-connection-with-swagger/19987)

<div class="topic-metadata">

**Author:** [@Aravindh](https://community.open-emr.org/u/Aravindh)\
**Replies:** 0\
**Last updated:** [February 14, 2023, 10:57am UTC](https://community.open-emr.org/t/open-emr-api-fhir-connection-with-swagger/19987 "2023-02-14T10:57:00Z")

</div>

I have tried App registration as per the video posed on the Youtube OpenEMR FHIR Lecture Series: “Lecture 1 - Overview and Use of FHIR in OpenEMR” When i have tried to register the app it is showing “Failed to fetch”. I…

---

## [Local Internal API URL Structure Change - Add Site Parameter to URL](https://community.open-emr.org/t/local-internal-api-url-structure-change-add-site-parameter-to-url/19919)

<div class="topic-metadata">

**Author:** [@adunsulag](https://community.open-emr.org/u/adunsulag)\
**Replies:** 3\
**Last updated:** [February 3, 2023, 5:32am UTC](https://community.open-emr.org/t/local-internal-api-url-structure-change-add-site-parameter-to-url/19919 "2023-02-03T05:32:11Z")

</div>

TL;DR; Should we change the internal api urls to use a site parameter to be consistent with the rest of our fhir/standard api urls. So I finally am working on a project that is using the OpenEMR internal api where you d…
