Skip to main content
PUT
/
tenant
/
update
Update Tenant
curl --request PUT \
  --url https://api.decodahealth.com/tenant/update \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "name": "<string>",
  "passFeeToPatient": true,
  "defaultTimezone": "<string>",
  "homePage": "<string>",
  "logoUrl": "<string>",
  "successfulPaymentText": "<string>",
  "hidePatientPaymentPlans": true,
  "ccEmail": "<string>",
  "replyToEmail": "<string>",
  "requiredPatientFields": [
    "first_name",
    "phone_number"
  ],
  "maxInvoicesPerDay": 100,
  "maxInvoicesPerMinute": 123,
  "invoicingStartTime": 123,
  "invoicingEndTime": 123,
  "invoicingOnWeekends": true,
  "invoicingExcludesHolidays": true,
  "sendReceiptText": "<string>",
  "autoRespondToSms": true,
  "generateResponseOnSms": true,
  "manualInvoiceText": "<string>",
  "billAutomatically": false,
  "selfSchedulingRedirectUrl": "<string>",
  "allowMultipleBookingsForDifferentAppointments": false,
  "daysUntilPatientBecomesNew": 123,
  "introductoryText": "<string>",
  "optOutMessage": "<string>",
  "helpMessage": "<string>",
  "apiKey": "<string>",
  "auditSmsResponse": true,
  "itemSortType": "USAGE",
  "reservationCancellationSmsTemplate": "<string>",
  "receiptLogoUrl": "<string>",
  "receiptGradientColor": "<string>",
  "automaticallySendReceipts": true,
  "defaultReceiptCommunicationMethod": "<string>",
  "googleTagManagerId": "<string>",
  "authTimeoutMs": 123
}
'
{
  "name": "<string>",
  "subDomain": "<string>",
  "providerDeactivatedPages": [
    "<string>"
  ],
  "patientDeactivatedPages": [
    "<string>"
  ],
  "enabledModules": [
    "TEXTING"
  ],
  "homePage": "<string>",
  "passFeeToPatient": true,
  "paymentProcessor": "<string>",
  "activatedChargeMethods": [
    "<string>"
  ],
  "phoneNumber": "<string>",
  "logoUrl": "<string>",
  "successfulPaymentText": "<string>",
  "campaign": "<string>",
  "enterpriseTenant": "<string>",
  "manualInvoiceText": "<string>",
  "sendReceiptText": "<string>",
  "smsProvider": "SIGNALWIRE",
  "clinicType": "DEFAULT",
  "practiceTypeCode": 123,
  "slogan": "<string>",
  "replyToEmail": "<string>",
  "ccEmail": "<string>",
  "defaultTimezone": "<string>",
  "hidePatientPaymentPlans": false,
  "coloredMail": false,
  "requiredPatientFields": [],
  "enabledCommunicationMethods": [],
  "enabledInvoiceMethods": [
    "EMAIL",
    "SMS",
    "CHARGE_CARD"
  ],
  "maxInvoicesPerDay": 100,
  "invoicingStartTime": 9,
  "invoicingEndTime": 17,
  "invoicingOnWeekends": false,
  "invoicingExcludesHolidays": false,
  "maxInvoicesPerMinute": 10,
  "autoRespondToSms": false,
  "generateResponseOnSms": false,
  "billAutomatically": false,
  "selfSchedulingRedirectUrl": "<string>",
  "allowMultipleBookingsForDifferentAppointments": false,
  "allowMultipleSelfScheduleAppointments": false,
  "daysUntilPatientBecomesNew": 123,
  "authTimeoutMs": 123,
  "introductoryText": "<string>",
  "optOutMessage": "<string>",
  "helpMessage": "<string>",
  "apiKey": "<string>",
  "gcalEmail": "<string>",
  "gcalToken": "<string>",
  "gcalRefreshToken": "<string>",
  "auditSmsResponse": false,
  "itemSortType": "USAGE",
  "reservationCancellationSmsTemplate": "<string>",
  "automaticallySendReceipts": true,
  "defaultReceiptCommunicationMethod": "SMS",
  "receiptLogoUrl": "<string>",
  "receiptGradientColor": "<string>",
  "duplicatePatientFields": [
    "first_name",
    "last_name",
    "phone_number"
  ],
  "googleTagManagerId": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json

Update a tenant.

name
string | null
passFeeToPatient
boolean | null
defaultTimezone
string | null
homePage
string | null
logoUrl
string | null
successfulPaymentText
string | null
hidePatientPaymentPlans
boolean | null
ccEmail
string | null
replyToEmail
string | null
requiredPatientFields
string[] | null
maxInvoicesPerDay
integer
default:100
maxInvoicesPerMinute
integer | null
invoicingStartTime
integer | null
invoicingEndTime
integer | null
invoicingOnWeekends
boolean | null
invoicingExcludesHolidays
boolean | null
sendReceiptText
string | null
autoRespondToSms
boolean | null
generateResponseOnSms
boolean | null
manualInvoiceText
string | null
billAutomatically
boolean
default:false
selfSchedulingRedirectUrl
string | null
allowMultipleBookingsForDifferentAppointments
boolean
default:false
daysUntilPatientBecomesNew
integer | null
introductoryText
string | null
optOutMessage
string | null
helpMessage
string | null
apiKey
string | null
auditSmsResponse
boolean | null
default:true
itemSortType
enum<string>
default:USAGE
Available options:
CATEGORY,
USAGE,
DEFINED_ORDER,
NAME,
PRICE
reservationCancellationSmsTemplate
string | null
receiptLogoUrl
string | null
receiptGradientColor
string | null
automaticallySendReceipts
boolean | null
defaultReceiptCommunicationMethod
string | null
googleTagManagerId
string | null
authTimeoutMs
integer | null

Response

Successful Response

The configuration for each of the clients of Decoda.

name
string
required
subDomain
string
required
providerDeactivatedPages
string[]
required
patientDeactivatedPages
string[]
required
enabledModules
enum<string>[]
required
Available options:
TEXTING,
CALLING,
PAYMENTS,
SCRIBE,
SCHEDULING,
FORMS,
INVENTORY,
LOCATIONS,
CALENDAR_PATIENT_STATUS,
SPAKINECT,
SCRIBE_MEDICAL_CODES
homePage
string
required
passFeeToPatient
boolean
required
paymentProcessor
string
required
activatedChargeMethods
string[]
required
phoneNumber
string
required
logoUrl
string
required
successfulPaymentText
string
required
campaign
string
required
enterpriseTenant
string | null
required
manualInvoiceText
string
required
sendReceiptText
string
required
smsProvider
enum<string>
required
Available options:
SIGNALWIRE,
SENDO
clinicType
enum<string>
default:DEFAULT
Available options:
DEFAULT,
WEIGHT_LOSS,
MED_SPA
practiceTypeCode
integer | null
slogan
string | null
replyToEmail
string | null
ccEmail
string | null
defaultTimezone
string | null
hidePatientPaymentPlans
boolean
default:false
coloredMail
boolean
default:false
requiredPatientFields
string[]
enabledCommunicationMethods
enum<string>[]
Available options:
SMS,
MAIL,
CALL,
COLLECTIONS,
EMAIL,
SMS_AND_EMAIL
enabledInvoiceMethods
enum<string>[]

The method used to send an invoice to a patient.

Available options:
CHARGE_CARD,
SMS,
EMAIL,
CALL,
MAIL,
EXPIRY
maxInvoicesPerDay
integer
default:100
invoicingStartTime
integer
default:9
invoicingEndTime
integer
default:17
invoicingOnWeekends
boolean
default:false
invoicingExcludesHolidays
boolean
default:false
maxInvoicesPerMinute
integer
default:10
autoRespondToSms
boolean
default:false
generateResponseOnSms
boolean
default:false
billAutomatically
boolean
default:false
selfSchedulingRedirectUrl
string | null
allowMultipleBookingsForDifferentAppointments
boolean
default:false
allowMultipleSelfScheduleAppointments
boolean
default:false
daysUntilPatientBecomesNew
integer | null
authTimeoutMs
integer | null
introductoryText
string | null
optOutMessage
string | null
helpMessage
string | null
apiKey
string | null
gcalEmail
string | null
gcalToken
string | null
gcalRefreshToken
string | null
auditSmsResponse
boolean
default:false
itemSortType
enum<string>
default:USAGE
Available options:
CATEGORY,
USAGE,
DEFINED_ORDER,
NAME,
PRICE
reservationCancellationSmsTemplate
string | null
automaticallySendReceipts
boolean
default:true
defaultReceiptCommunicationMethod
enum<string>
default:SMS
Available options:
SMS,
MAIL,
CALL,
COLLECTIONS,
EMAIL,
SMS_AND_EMAIL
receiptLogoUrl
string | null
receiptGradientColor
string | null
duplicatePatientFields
string[]
googleTagManagerId
string | null