FormDr
  • Home
  • Getting Started
    • Quick Start
  • Documentation
    • Access Token
      • Using the Refresh Token
    • Get Practices
    • Get Forms List
    • Get Form by ID
    • Find Patient
    • Submissions
      • Get Submission
      • Create Submission
      • Update Submission
      • Delete Submission
      • List Submissions
    • Files
      • Get file
      • Upload file
      • PDF
    • Documents
      • Get Templates
      • Send Template To Sign
      • Get Document Submissions
      • Get Document By Id
      • Download Document PDF
  • Webhook
Powered by GitBook
On this page
  • Returns your access token for making API calls.
  • Test Keys
  1. Documentation

Access Token

Returns your access token for making API calls.

POST https://api.formdr.com/api/oauth/token

Headers

Name
Type
Description

Content-Type

String

application/x-www-form-urlencoded

Request Body

Name
Type
Description

grant_type*

String

"password"

username*

String

Account Email

password*

String

Account Password

client_id*

String

Your Client ID

client_secret*

String

Your Client Secret

scope*

String

"read" | "write" | "edit" or combination separated by commas. ie: "read,write,edit"

{
    "accessToken": String,
    "accessTokenExpiresAt": DateString,
    "refreshToken": String,
    "refreshTokenExpiresAt": DateString,
    "scope": String
}

You must first get your access token and attach this access token as a bearer token to all of your calls.

Due to security protocols, access tokens have a limited lifespan.

Test Keys

After you're ready, and upon approval, we will enable access for you to create an app which can be used for testing. You'll know if you are still in testing if you are given "TEST" keys when making the call to get your access tokens.

PreviousQuick StartNextUsing the Refresh Token

Last updated 1 year ago