I am trying to connect to the test env for open dental API using the developer key and customer API key from the API documentation (9.3 pdf) but I can't seem to get it to work. I keep getting an error "Improper authorization header. Format is 'Authorization: ODFHIR {developerKey}/{apiKey}'.".
Could you please advice on what is a valid developer key and if the below basic api call should work in the test environment.
curl --location --request GET 'https://api.opendental.com/fhir/v2/capabilitystatement' \
--header 'Authorization: ODFHIR NFF6i0KrXrxDkZHt/VzkmZEaUWOjnQX2z' \
--header 'Content-Type: application/json'
After emailing vendor.relations@opendental.com I was referred to open a topic in this form to get help.
Thank you
Test environment connection
Re: Test environment connection
Try including the accept header:
Code: Select all
curl --location --request GET 'https://api.opendental.com/fhir/v2/capabilitystatement' --header 'Authorization: ODFHIR NFF6i0KrXrxDkZHt/VzkmZEaUWOjnQX2z' --header 'Accept: application/json'
Re: Test environment connection
It works now! Thank you for the prompt help.
Re: Test environment connection
I am trying to figure out if I can use the API to fetch the "dollar cost" of each procedure/appointment and insurance adjustments vs collection. Is this doable with the latest API version ?
Re: Test environment connection
We do not have that information available through our API. I know that they sent you here, but you can talk to vendor.relations@opendental.com if you are interested in us adding that.