Dexcom · Schema
TokenRequest
Form-encoded request body for the token endpoint.
Continuous Glucose MonitoringDiabetesDigital HealthGlucoseHealthcareMedical DevicesWearables
Properties
| Name | Type | Description |
|---|---|---|
| client_id | string | Application's registered client identifier. |
| client_secret | string | Application's client secret. |
| code | string | Single-use authorization code (required when `grant_type=authorization_code`). |
| refresh_token | string | Refresh token (required when `grant_type=refresh_token`). |
| grant_type | string | |
| redirect_uri | string | Registered redirect URI (required for `authorization_code`). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/dexcom/refs/heads/main/json-schema/dexcom-api-token-request-schema.json",
"title": "TokenRequest",
"description": "Form-encoded request body for the token endpoint.",
"type": "object",
"properties": {
"client_id": {
"type": "string",
"description": "Application's registered client identifier."
},
"client_secret": {
"type": "string",
"description": "Application's client secret."
},
"code": {
"type": "string",
"description": "Single-use authorization code (required when `grant_type=authorization_code`)."
},
"refresh_token": {
"type": "string",
"description": "Refresh token (required when `grant_type=refresh_token`)."
},
"grant_type": {
"type": "string",
"enum": [
"authorization_code",
"refresh_token"
]
},
"redirect_uri": {
"type": "string",
"format": "uri",
"description": "Registered redirect URI (required for `authorization_code`)."
}
},
"required": [
"client_id",
"client_secret",
"grant_type"
]
}