Native booking staff members api
Create staff member
Adds a staff member to the site, either by linking an existing Duda account with account_name - in which case email and name are resolved from that account - or by supplying email and name directly. The new staff member starts with a default weekly schedule in the requested timezone, which can then be changed through the availability endpoints. Returns 400 when the site is already at the staff member limit its plan allows, or when the account does not exist or already belongs to another staff member of this site; see StaffMemberErrorCode for the exact codes.
post/api/sites/multiscreen/{site_name}/booking/staff-members
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/sites/multiscreen/{site_name}/booking/staff-members
- AuthHTTP basic
Path parameters
site_namestring required
The site's unique name (its ID), returned when the site is created.
Request body
Example request
{
"account_name": "example-account",
"email": "john.doe@multiscreensite.com",
"name": "John Doe",
"timezone": "America/New_York"
}Response
OK
Example response
{
"account_name": "example-account",
"email": "john.doe@multiscreensite.com",
"id": "staff-member-123",
"name": "John Doe"
}Changes
No recorded changes to this operation across all 1 revision of this API.