Example Request
curl -X GET https://api.usecobalt.com/v1/settings \
-H 'Content-Type: application/json' \
-H 'client_id: ci_live_198908HJDKJSH98789OHKJL' \
-H 'client_secret: cs_live_9827hofdsklOYYHJLJh' \
-H 'access_token: 493JKLHIU98789hLKH9HHJH'
Example Response
{
"success": true,
"data": {
"access_token_reference_id": "at_ref_123456789",
"visit_types": [
{
"code": "new_patient",
"description": "New Patient Visit (in-person)"
},
{
"code": "televisit1",
"description": "televisit1 (televisit / osa)"
}
],
"visit_statuses": [
{
"code": "CANC",
"description": "Cancelled in advance"
},
{
"code": "R/S",
"description": "Rescheduled"
}
],
"required_patient_fields": [
"first_name",
"last_name",
"dob",
"sex"
],
"timezone": "America/New_York"
}
}
Settings include the access token reference ID, available visit types (with codes and descriptions), and the user’s timezone. If settings are not found for the user, a 404 error will be returned.