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
  1. Documentation
  2. Access Token

Using the Refresh Token

Send your refresh token to get a new access token and a new refresh token

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

"refresh_token"

refresh_token*

String

The Refresh Token

client_id*

String

Your Client ID

client_secret*

String

Your Client Secret

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

PreviousAccess TokenNextGet Practices

Last updated 1 year ago