CreateProviderRequest
Request schema for creating a provider
Whether to grant the provider access to the dashboard.
falseThe provider's display name.
The provider's email address.
The provider's first name.
initial_schedule object
The provider's initial schedule, created atomically with the provider when a brand-new provider row is created (ignored on reactivation or affiliation of an existing provider). All fields are optional. Omit the object or pass null for no schedules; an empty object {} still creates a schedule with effective_from defaulted to yesterday and no weekly rules.
The effective date of the schedule. Defaults to yesterday when omitted.
The effective end date of the schedule.
public_bookings object
Public booking settings for the schedule.
Whether public bookings are enabled for the schedule.
The IANA time zone the weekly rules are authored in. Defaults to the provider's location time zone when omitted.
weekly_rules object[]
Weekly rules for the schedule. Defaults to none when omitted.
The day of the week.
Possible values: [mo, tu, we, th, fr, sa, su]
The end time of the rule.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
The start time of the rule.
Possible values: Value must match regular expression ^(?:[01]\d|2[0-3]):[0-5]\d$
The provider's last name.
metadata object
Set of key-value pairs to attach to this provider. Maximum size is 16 KB.
Set of key-value pairs to attach to this provider. Maximum size is 16 KB.
Whether to send an email notification to the user (if add_user is true). If they don't already have an account, they will receive an email with instructions to set their password when this property is true.
falseList of role IDs to assign to the user (if add_user is true).
Possible values: Value must match regular expression ^role_\w{12}$
The provider's preferred IANA time zone, used as the default when authoring schedules. Defaults to the account location's time zone when omitted.
America/New_York{
"add_user": true,
"display_name": "John Smith",
"email": "john.smith@tendermedical.com",
"first_name": "John",
"last_name": "Smith",
"metadata": {
"external_id": "123"
},
"notify": false,
"role_ids": [
"role_123456789012"
],
"time_zone": "America/New_York"
}