Skip to content
Try For Free
Bizstim
Free tools
Pricing Contact Log in
Try For Free Book Demo
Resource

Staff

Your office users: contact details, status, profile, module permissions and the login record.

The staff object

Every staff record carries these fields in this order, after object, which is always "staff".

FieldTypeDescription
idinteger
first_namestring, up to 50 characters
last_namestring, up to 50 characters
address1string, up to 100 characters, nullable
address2string, up to 100 characters, nullable
citystring, up to 50 characters, nullable
statestring, up to 50 characters, nullable
zipcodestring, up to 25 characters, nullable
countrystring, up to 50 characters, nullable
p_phonestring, up to 100 characters, nullable
s_phonestring, up to 100 characters, nullable
text_phonestring, up to 510 characters, nullableMobile number(s) for text messages, comma-separated.
statusstring, up to 15 characters"active", "inactive", "contactList" (Contact List) or "doNotHire" (Do Not Hire). Only active staff can log in and appear on your website's team cards.
hire_datestring, up to 15 charactersDate the staff member was added, YYYY-MM-DD (account time zone). Set by the app; read-only.
notestext, nullableNotes shown on the staff page (HTML).
positionstring, up to 100 charactersJob title shown on your website's team cards. & < > " ' come back as HTML entities.
excerpttextShort biography shown on your website's team cards (basic HTML, no paragraph tags).
linkedin_urlstring, up to 255 characters, nullableLinkedIn profile address shown on your website's team cards; null when none.
headshot_urlstring, up to 100 charactersFile name of the photo uploaded on the staff page, not a web address; "blank.png" when there is none. Read-only.
timezonestring, up to 256 charactersThe staff member's own time zone (see Timezones): the app uses it for the current date and time while they are logged in.
send_welcome_messageinteger1 = Send Welcome Email is checked on the staff page, 0 = not. A stored setting: it does not show whether the e-mail was sent.
s_practsinteger1 = can manage practitioners, 0 = cannot.
s_staffintegerOther staff members: 0 = no access, 1 = view only, 2 = view and edit, 3 = view, edit, add and delete.
s_wagesinteger1 = can use the wage manager (practitioner hours and wages), 0 = cannot.
s_timesheetsintegerTimesheets: 0 = own timesheets only, 1 = view all timesheets, 2 = manage practitioner timesheets, 3 = staff timesheets, 4 = practitioner and staff timesheets, 5 = practitioners (see no wages), 6 = staff (see no wages), 7 = practitioners and staff (see no wages).
s_deductionsinteger1 = can manage deductions, 0 = cannot.
s_skillsinteger1 = can manage skills, 0 = cannot.
s_clientsinteger1 = can manage clients, 0 = cannot.
s_assessinteger1 = can manage and moderate assessments, 0 = cannot.
s_schedulinginteger1 = can use practitioner pairing, 0 = cannot.
s_revenuesinteger1 = can manage revenues and payments, 0 = cannot.
s_balancesinteger1 = can manage balances and reports, 0 = cannot.
s_invoicesinteger1 = can manage invoices, 0 = cannot.
s_expensesinteger1 = can manage expenses, 0 = cannot.
s_servicesinteger1 = can manage services, 0 = cannot.
s_taxesinteger1 = can manage service taxes, 0 = cannot.
s_session_controlintegerSessions on the calendar: 0 = view only, 1 = view and edit, 2 = add, edit and delete, plus the calendar settings.
s_reconcile_durationinteger1 = can change session start and end times, 0 = cannot.
s_costs_wagesinteger1 = can see session costs and wages, 0 = cannot.
s_locationsinteger1 = can manage locations, 0 = cannot.
s_importinteger1 = can manage imports and exports, 0 = cannot.
s_langtransinteger1 = can manage language translation, 0 = cannot.
s_notifinteger1 = can manage notifications, 0 = cannot.
pract_mass_emailinteger1 = can send mass e-mails to practitioners, 0 = cannot.
client_mass_emailinteger1 = can send mass e-mails to clients, 0 = cannot.
staff_mass_emailinteger1 = can send mass e-mails to staff, 0 = cannot.
s_email_historyinteger1 = can open the mass e-mail history, 0 = cannot.
s_tasksinteger1 = can manage tasks, 0 = cannot.
s_brandinginteger1 = can manage branding (company name or logo) and the colour theme, 0 = cannot.
s_permissionsinteger1 = can review every user's permissions, 0 = cannot.
s_leadsinteger1 = can use the sales manager, 0 = cannot.
s_productsintegerProduct role: 0 = none, 1 = cashier, 2 = cashier manager, 3 = product manager.
s_smsinteger1 = can send text messages, 0 = cannot.
s_recordsintegerRecords manager: 0 = no access, 1 = view only, 2 = view, add and edit, 3 = view, add, edit and delete.
s_breaksinteger1 = can manage breaks and closures, 0 = cannot.
s_cancelsinteger1 = can manage cancellations, 0 = cannot.
s_conflictsinteger1 = can manage conflicts, 0 = cannot.
s_custom_sessionsinteger1 = can create custom session completion types in the calendar settings, 0 = cannot.
s_docsinteger1 = can manage documents, 0 = cannot.
s_securityinteger1 = can open the security audit and AI log pages, 0 = cannot.
s_packagesinteger1 = can manage packages, 0 = cannot.
s_gatewaysinteger1 = can take payments through the payment gateways (for example Stripe), 0 = cannot.
s_vehiclesinteger1 = can manage vehicles, 0 = cannot.
s_smartlearninteger1 = can manage Smart Learn (needs the Smart Learn module), 0 = cannot.
s_websiteintegerWebsite blog: 0 = no access, 1 = write drafts (add, edit and delete posts), 2 = write drafts and publish (also the blog's categories and tags).
s_membershipsinteger1 = can manage plans and members' plans, 0 = cannot.
usernamestring, up to 50 characters, nullableLogin name, lower case and unique across every account. Empty or null when the staff member has no login.
emailstring, up to 510 characters, nullableOne e-mail address or several, comma-separated, lower case.

Example

{
    "object": "staff",
    "id": 42,
    "first_name": "Jane",
    "last_name": "Doe",
    "address1": "12 Main Street",
    "address2": "Suite 4",
    "city": "Toronto",
    "state": "ON",
    "zipcode": "M5V 2T6",
    "country": "Canada",
    "p_phone": "416-555-0100",
    "s_phone": "416-555-0101",
    "text_phone": "416-555-0102",
    "status": "active",
    "hire_date": "2026-01-15",
    "notes": "Prefers afternoon appointments.",
    "position": "Senior Tutor",
    "excerpt": "A short biography.",
    "linkedin_url": "https://www.example.com/",
    "headshot_url": "https://www.example.com/",
    "timezone": "America/Toronto",
    "send_welcome_message": 1,
    "s_practs": 1,
    "s_staff": 1,
    "s_wages": 1,
    "s_timesheets": 1,
    "s_deductions": 1,
    "s_skills": 1,
    "s_clients": 1,
    "s_assess": 1,
    "s_scheduling": 1,
    "s_revenues": 1,
    "s_balances": 1,
    "s_invoices": 1,
    "s_expenses": 1,
    "s_services": 1,
    "s_taxes": 1,
    "s_session_control": 1,
    "s_reconcile_duration": 1,
    "s_costs_wages": 1,
    "s_locations": 1,
    "s_import": 1,
    "s_langtrans": 1,
    "s_notif": 1,
    "pract_mass_email": 1,
    "client_mass_email": 1,
    "staff_mass_email": 1,
    "s_email_history": 1,
    "s_tasks": 1,
    "s_branding": 1,
    "s_permissions": 1,
    "s_leads": 1,
    "s_products": 1,
    "s_sms": 1,
    "s_records": 1,
    "s_breaks": 1,
    "s_cancels": 1,
    "s_conflicts": 1,
    "s_custom_sessions": 1,
    "s_docs": 1,
    "s_security": 1,
    "s_packages": 1,
    "s_gateways": 1,
    "s_vehicles": 1,
    "s_smartlearn": 1,
    "s_website": 1,
    "s_memberships": 1,
    "username": "jane.doe",
    "email": "jane.doe@example.com"
}

List staff

GET /api/v1/staff

Parameters

ParameterInDescription
limitqueryRecords per page, 1 to 1000 (default 100).
offsetqueryRecords to skip (default 0).

Returns

A list envelope of staff records (see Pagination).

Request

curl "https://www.bizstim.com/api/v1/staff" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json"

Response

{
    "object": "list",
    "total": 2,
    "limit": 100,
    "offset": 0,
    "has_more": false,
    "data": [
        {
            "object": "staff",
            "id": 42,
            "first_name": "Jane",
            "last_name": "Doe",
            "address1": "12 Main Street",
            "address2": "Suite 4",
            "city": "Toronto",
            "state": "ON",
            "zipcode": "M5V 2T6",
            "country": "Canada",
            "p_phone": "416-555-0100",
            "s_phone": "416-555-0101",
            "text_phone": "416-555-0102",
            "status": "active",
            "hire_date": "2026-01-15",
            "notes": "Prefers afternoon appointments.",
            "position": "Senior Tutor",
            "excerpt": "A short biography.",
            "linkedin_url": "https://www.example.com/",
            "headshot_url": "https://www.example.com/",
            "timezone": "America/Toronto",
            "send_welcome_message": 1,
            "s_practs": 1,
            "s_staff": 1,
            "s_wages": 1,
            "s_timesheets": 1,
            "s_deductions": 1,
            "s_skills": 1,
            "s_clients": 1,
            "s_assess": 1,
            "s_scheduling": 1,
            "s_revenues": 1,
            "s_balances": 1,
            "s_invoices": 1,
            "s_expenses": 1,
            "s_services": 1,
            "s_taxes": 1,
            "s_session_control": 1,
            "s_reconcile_duration": 1,
            "s_costs_wages": 1,
            "s_locations": 1,
            "s_import": 1,
            "s_langtrans": 1,
            "s_notif": 1,
            "pract_mass_email": 1,
            "client_mass_email": 1,
            "staff_mass_email": 1,
            "s_email_history": 1,
            "s_tasks": 1,
            "s_branding": 1,
            "s_permissions": 1,
            "s_leads": 1,
            "s_products": 1,
            "s_sms": 1,
            "s_records": 1,
            "s_breaks": 1,
            "s_cancels": 1,
            "s_conflicts": 1,
            "s_custom_sessions": 1,
            "s_docs": 1,
            "s_security": 1,
            "s_packages": 1,
            "s_gateways": 1,
            "s_vehicles": 1,
            "s_smartlearn": 1,
            "s_website": 1,
            "s_memberships": 1,
            "username": "jane.doe",
            "email": "jane.doe@example.com"
        },
        {
            "object": "staff",
            "id": 43,
            "first_name": "Jane",
            "last_name": "Doe",
            "address1": "12 Main Street",
            "address2": "Suite 4",
            "city": "Toronto",
            "state": "ON",
            "zipcode": "M5V 2T6",
            "country": "Canada",
            "p_phone": "416-555-0100",
            "s_phone": "416-555-0101",
            "text_phone": "416-555-0102",
            "status": "active",
            "hire_date": "2026-01-15",
            "notes": "Prefers afternoon appointments.",
            "position": "Senior Tutor",
            "excerpt": "A short biography.",
            "linkedin_url": "https://www.example.com/",
            "headshot_url": "https://www.example.com/",
            "timezone": "America/Toronto",
            "send_welcome_message": 1,
            "s_practs": 1,
            "s_staff": 1,
            "s_wages": 1,
            "s_timesheets": 1,
            "s_deductions": 1,
            "s_skills": 1,
            "s_clients": 1,
            "s_assess": 1,
            "s_scheduling": 1,
            "s_revenues": 1,
            "s_balances": 1,
            "s_invoices": 1,
            "s_expenses": 1,
            "s_services": 1,
            "s_taxes": 1,
            "s_session_control": 1,
            "s_reconcile_duration": 1,
            "s_costs_wages": 1,
            "s_locations": 1,
            "s_import": 1,
            "s_langtrans": 1,
            "s_notif": 1,
            "pract_mass_email": 1,
            "client_mass_email": 1,
            "staff_mass_email": 1,
            "s_email_history": 1,
            "s_tasks": 1,
            "s_branding": 1,
            "s_permissions": 1,
            "s_leads": 1,
            "s_products": 1,
            "s_sms": 1,
            "s_records": 1,
            "s_breaks": 1,
            "s_cancels": 1,
            "s_conflicts": 1,
            "s_custom_sessions": 1,
            "s_docs": 1,
            "s_security": 1,
            "s_packages": 1,
            "s_gateways": 1,
            "s_vehicles": 1,
            "s_smartlearn": 1,
            "s_website": 1,
            "s_memberships": 1,
            "username": "jane.doe",
            "email": "jane.doe@example.com"
        }
    ]
}

Retrieve a staff member

GET /api/v1/staff/{id}

Parameters

ParameterInDescription
idpathThe record's id.

Returns

One staff record, or 404 not_found when no record with that id exists on your account.

Request

curl "https://www.bizstim.com/api/v1/staff/42" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json"

Response

{
    "object": "staff",
    "id": 42,
    "first_name": "Jane",
    "last_name": "Doe",
    "address1": "12 Main Street",
    "address2": "Suite 4",
    "city": "Toronto",
    "state": "ON",
    "zipcode": "M5V 2T6",
    "country": "Canada",
    "p_phone": "416-555-0100",
    "s_phone": "416-555-0101",
    "text_phone": "416-555-0102",
    "status": "active",
    "hire_date": "2026-01-15",
    "notes": "Prefers afternoon appointments.",
    "position": "Senior Tutor",
    "excerpt": "A short biography.",
    "linkedin_url": "https://www.example.com/",
    "headshot_url": "https://www.example.com/",
    "timezone": "America/Toronto",
    "send_welcome_message": 1,
    "s_practs": 1,
    "s_staff": 1,
    "s_wages": 1,
    "s_timesheets": 1,
    "s_deductions": 1,
    "s_skills": 1,
    "s_clients": 1,
    "s_assess": 1,
    "s_scheduling": 1,
    "s_revenues": 1,
    "s_balances": 1,
    "s_invoices": 1,
    "s_expenses": 1,
    "s_services": 1,
    "s_taxes": 1,
    "s_session_control": 1,
    "s_reconcile_duration": 1,
    "s_costs_wages": 1,
    "s_locations": 1,
    "s_import": 1,
    "s_langtrans": 1,
    "s_notif": 1,
    "pract_mass_email": 1,
    "client_mass_email": 1,
    "staff_mass_email": 1,
    "s_email_history": 1,
    "s_tasks": 1,
    "s_branding": 1,
    "s_permissions": 1,
    "s_leads": 1,
    "s_products": 1,
    "s_sms": 1,
    "s_records": 1,
    "s_breaks": 1,
    "s_cancels": 1,
    "s_conflicts": 1,
    "s_custom_sessions": 1,
    "s_docs": 1,
    "s_security": 1,
    "s_packages": 1,
    "s_gateways": 1,
    "s_vehicles": 1,
    "s_smartlearn": 1,
    "s_website": 1,
    "s_memberships": 1,
    "username": "jane.doe",
    "email": "jane.doe@example.com"
}

Create a staff member

POST /api/v1/staff

Request body

A JSON object (Content-Type: application/json) with these fields.

FieldTypeRequiredDescription
first_namestring, up to 50 charactersyesFirst name.
last_namestring, up to 50 charactersyesLast name.
statusstringyes"active", "inactive", "contactList" or "doNotHire". Only active staff can log in.
countrystring, up to 50 charactersyesCountry.
statestring, up to 50 charactersyesState or province.
citystring, up to 50 charactersnoCity.
address1string, up to 100 charactersnoStreet address.
address2string, up to 100 charactersnoApartment, suite or unit.
zipcodestring, up to 25 charactersnoZip or postal code.
p_phonestring, up to 100 charactersnoPrimary phone.
s_phonestring, up to 100 charactersnoSecondary phone.
text_phonestring, up to 510 charactersnoMobile number(s) for text messages, with the country code, comma separated.
emailstring, up to 510 charactersnoOne e-mail address, or several separated by commas. Stored in lower case.
notesstringnoNotes shown on the staff page (HTML allowed).
timezonestringnoA time zone from GET /api/v1/timezones (default: the account time zone).
positionstring, up to 100 charactersnoJob title shown on your website's team cards.
excerptstringnoShort biography shown on your website's team cards (basic HTML allowed, paragraph tags removed).
linkedin_urlstring, up to 255 charactersnoLinkedIn profile address (https://www.linkedin.com/in/...), shown on your website's team cards.
usernamestring, 4 to 50 charactersnoLogin name, stored in lower case; needs password. Without one the staff member has no login (see send_welcome_message).
passwordstring, 4 to 72 characterswith usernameLogin password. Write only: it is never returned.
send_welcome_messagebooleannotrue e-mails the welcome message with the login details, as the app's add page does: for an active staff member with an email address only (an active staff member without one answers 400). Without a username, one and a password are created and the e-mail carries them. Default false.
s_practsbooleannoManage practitioners. Default for this and every permission below: 0 (off, or the first level), as the app's add page.
s_staffinteger, 0 to 3noManage staff: 0 no access, 1 view only, 2 view and edit, 3 view, edit, add and delete.
s_wagesbooleannoManage the wage manager.
s_timesheetsinteger, 0 to 7noManage timesheets: 0 own timesheets only, 1 view all timesheets, 2 practitioners only, 3 staff only, 4 practitioners and staff, 5 practitioners (see no wages), 6 staff (see no wages), 7 practitioners and staff (see no wages).
s_deductionsbooleannoManage deductions.
s_skillsbooleannoManage skills.
s_clientsbooleannoManage clients.
s_assessbooleannoManage assessments.
s_schedulingbooleannoUse practitioner pairing.
s_revenuesbooleannoManage revenues and payments.
s_balancesbooleannoManage balances and reports.
s_invoicesbooleannoManage invoices.
s_expensesbooleannoManage expenses.
s_servicesbooleannoManage services.
s_taxesbooleannoManage service taxes.
s_session_controlinteger, 0 to 2noSessions control: 0 view only, 1 edit only, 2 add, edit and delete.
s_reconcile_durationbooleannoChange session start and end times.
s_costs_wagesbooleannoSee session costs and wages.
s_locationsbooleannoManage locations.
s_importbooleannoManage imports and exports.
s_langtransbooleannoManage language translation.
s_notifbooleannoManage notifications.
pract_mass_emailbooleannoSend mass practitioner e-mails.
client_mass_emailbooleannoSend mass client e-mails.
staff_mass_emailbooleannoSend mass staff e-mails.
s_email_historybooleannoAccess the mass e-mail history.
s_tasksbooleannoManage tasks.
s_brandingbooleannoManage branding and colours.
s_permissionsbooleannoManage permissions.
s_leadsbooleannoAccess the sales manager.
s_productsinteger, 0 to 3noProduct role: 0 none, 1 cashier, 2 cashier manager, 3 product manager.
s_smsbooleannoSend text messages.
s_recordsinteger, 0 to 3noRecords manager: 0 no access, 1 view only, 2 view, add and edit, 3 also delete.
s_breaksbooleannoManage breaks and closures.
s_cancelsbooleannoManage cancellations.
s_conflictsbooleannoManage conflicts.
s_custom_sessionsbooleannoSet custom session types.
s_docsbooleannoManage documents.
s_securitybooleannoManage security.
s_packagesbooleannoManage packages.
s_gatewaysbooleannoUse payment gateways.
s_vehiclesbooleannoManage vehicles.
s_smartlearnbooleannoManage Smart Learn (needs the Smart Learn module).
s_websiteinteger, 0 to 2noWebsite blog: 0 no access, 1 write drafts, 2 write drafts and publish.
s_membershipsbooleannoManage plans.

Returns

201 with the new staff record: hire_date is today (account time zone), the wage type is salary hourly and the calendar colour blue; the timesheet rate is set in the app. 400 invalid_request names the field to fix; 409 conflict when the username is already taken (usernames are unique across every account; the check ignores case).

Request

curl -X POST "https://www.bizstim.com/api/v1/staff" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "first_name": "Alex",
    "last_name": "Morgan",
    "status": "active",
    "country": "Canada",
    "state": "Ontario",
    "city": "Toronto",
    "email": "alex.morgan@example.com"
}'

Response (201)

{
    "object": "staff",
    "id": 42,
    "first_name": "Jane",
    "last_name": "Doe",
    "address1": "12 Main Street",
    "address2": "Suite 4",
    "city": "Toronto",
    "state": "ON",
    "zipcode": "M5V 2T6",
    "country": "Canada",
    "p_phone": "416-555-0100",
    "s_phone": "416-555-0101",
    "text_phone": "416-555-0102",
    "status": "active",
    "hire_date": "2026-01-15",
    "notes": "Prefers afternoon appointments.",
    "position": "Senior Tutor",
    "excerpt": "A short biography.",
    "linkedin_url": "https://www.example.com/",
    "headshot_url": "https://www.example.com/",
    "timezone": "America/Toronto",
    "send_welcome_message": 1,
    "s_practs": 1,
    "s_staff": 1,
    "s_wages": 1,
    "s_timesheets": 1,
    "s_deductions": 1,
    "s_skills": 1,
    "s_clients": 1,
    "s_assess": 1,
    "s_scheduling": 1,
    "s_revenues": 1,
    "s_balances": 1,
    "s_invoices": 1,
    "s_expenses": 1,
    "s_services": 1,
    "s_taxes": 1,
    "s_session_control": 1,
    "s_reconcile_duration": 1,
    "s_costs_wages": 1,
    "s_locations": 1,
    "s_import": 1,
    "s_langtrans": 1,
    "s_notif": 1,
    "pract_mass_email": 1,
    "client_mass_email": 1,
    "staff_mass_email": 1,
    "s_email_history": 1,
    "s_tasks": 1,
    "s_branding": 1,
    "s_permissions": 1,
    "s_leads": 1,
    "s_products": 1,
    "s_sms": 1,
    "s_records": 1,
    "s_breaks": 1,
    "s_cancels": 1,
    "s_conflicts": 1,
    "s_custom_sessions": 1,
    "s_docs": 1,
    "s_security": 1,
    "s_packages": 1,
    "s_gateways": 1,
    "s_vehicles": 1,
    "s_smartlearn": 1,
    "s_website": 1,
    "s_memberships": 1,
    "username": "jane.doe",
    "email": "jane.doe@example.com"
}

Update a staff member

PATCH /api/v1/staff/{id}

Parameters

ParameterInDescription
idpathThe record's id.

Request body

A JSON object (Content-Type: application/json) with these fields.

FieldTypeRequiredDescription
first_namestring, up to 50 charactersnoFirst name (cannot be emptied).
last_namestring, up to 50 charactersnoLast name (cannot be emptied).
statusstringno"active", "inactive", "contactList" or "doNotHire".
countrystring, up to 50 charactersnoCountry. A staff member needs one: an update of a staff member that has none on file must send it.
statestring, up to 50 charactersnoState or province, needed as country.
citystring, up to 50 charactersnoCity.
address1string, up to 100 charactersnoStreet address.
address2string, up to 100 charactersnoApartment, suite or unit.
zipcodestring, up to 25 charactersnoZip or postal code.
p_phonestring, up to 100 charactersnoPrimary phone.
s_phonestring, up to 100 charactersnoSecondary phone.
text_phonestring, up to 510 charactersnoMobile number(s) for text messages, as on create.
emailstring, up to 510 charactersnoOne e-mail address or several, comma separated; "" removes them.
notesstringnoNotes (HTML allowed), replaced as sent.
timezonestringnoA time zone from GET /api/v1/timezones.
positionstring, up to 100 charactersnoJob title for the website's team cards; "" removes it.
excerptstringnoShort biography for the website's team cards; "" removes it.
linkedin_urlstring, up to 255 charactersnoLinkedIn profile address; "" removes it.
usernamestring, 4 to 50 charactersnoLogin name, stored in lower case. A staff member without a password needs password in the same request. "" removes the login (username and password).
passwordstring, 4 to 72 charactersnoNew login password (needs a username). Write only.
send_welcome_messagebooleannoStored setting only: an update never sends the welcome e-mail.
s_practsbooleannoManage practitioners. This and every permission below: as on create.
s_staffinteger, 0 to 3noManage staff.
s_wagesbooleannoManage the wage manager.
s_timesheetsinteger, 0 to 7noManage timesheets.
s_deductionsbooleannoManage deductions.
s_skillsbooleannoManage skills.
s_clientsbooleannoManage clients.
s_assessbooleannoManage assessments.
s_schedulingbooleannoUse practitioner pairing.
s_revenuesbooleannoManage revenues and payments.
s_balancesbooleannoManage balances and reports.
s_invoicesbooleannoManage invoices.
s_expensesbooleannoManage expenses.
s_servicesbooleannoManage services.
s_taxesbooleannoManage service taxes.
s_session_controlinteger, 0 to 2noSessions control.
s_reconcile_durationbooleannoChange session start and end times.
s_costs_wagesbooleannoSee session costs and wages.
s_locationsbooleannoManage locations.
s_importbooleannoManage imports and exports.
s_langtransbooleannoManage language translation.
s_notifbooleannoManage notifications.
pract_mass_emailbooleannoSend mass practitioner e-mails.
client_mass_emailbooleannoSend mass client e-mails.
staff_mass_emailbooleannoSend mass staff e-mails.
s_email_historybooleannoAccess the mass e-mail history.
s_tasksbooleannoManage tasks.
s_brandingbooleannoManage branding and colours.
s_permissionsbooleannoManage permissions.
s_leadsbooleannoAccess the sales manager.
s_productsinteger, 0 to 3noProduct role.
s_smsbooleannoSend text messages.
s_recordsinteger, 0 to 3noRecords manager.
s_breaksbooleannoManage breaks and closures.
s_cancelsbooleannoManage cancellations.
s_conflictsbooleannoManage conflicts.
s_custom_sessionsbooleannoSet custom session types.
s_docsbooleannoManage documents.
s_securitybooleannoManage security.
s_packagesbooleannoManage packages.
s_gatewaysbooleannoUse payment gateways.
s_vehiclesbooleannoManage vehicles.
s_smartlearnbooleannoManage Smart Learn (true needs the Smart Learn module; with the module off every update stores 0, as the app's edit page).
s_websiteinteger, 0 to 2noWebsite blog.
s_membershipsbooleannoManage plans.

Returns

200 with the updated staff record. Fields left out keep their values (the wage type, timesheet rate and calendar colour, which the API does not change, are kept too). hire_date and headshot_url are read-only. 400 invalid_request names the field to fix; 404 not_found; 409 conflict when the username is already taken (usernames are unique across every account; the check ignores case), or when the status would change while the staff member has open timesheets.

Request

curl -X PATCH "https://www.bizstim.com/api/v1/staff/42" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "status": "inactive",
    "p_phone": "416-555-0100"
}'

Response

{
    "object": "staff",
    "id": 42,
    "first_name": "Jane",
    "last_name": "Doe",
    "address1": "12 Main Street",
    "address2": "Suite 4",
    "city": "Toronto",
    "state": "ON",
    "zipcode": "M5V 2T6",
    "country": "Canada",
    "p_phone": "416-555-0100",
    "s_phone": "416-555-0101",
    "text_phone": "416-555-0102",
    "status": "active",
    "hire_date": "2026-01-15",
    "notes": "Prefers afternoon appointments.",
    "position": "Senior Tutor",
    "excerpt": "A short biography.",
    "linkedin_url": "https://www.example.com/",
    "headshot_url": "https://www.example.com/",
    "timezone": "America/Toronto",
    "send_welcome_message": 1,
    "s_practs": 1,
    "s_staff": 1,
    "s_wages": 1,
    "s_timesheets": 1,
    "s_deductions": 1,
    "s_skills": 1,
    "s_clients": 1,
    "s_assess": 1,
    "s_scheduling": 1,
    "s_revenues": 1,
    "s_balances": 1,
    "s_invoices": 1,
    "s_expenses": 1,
    "s_services": 1,
    "s_taxes": 1,
    "s_session_control": 1,
    "s_reconcile_duration": 1,
    "s_costs_wages": 1,
    "s_locations": 1,
    "s_import": 1,
    "s_langtrans": 1,
    "s_notif": 1,
    "pract_mass_email": 1,
    "client_mass_email": 1,
    "staff_mass_email": 1,
    "s_email_history": 1,
    "s_tasks": 1,
    "s_branding": 1,
    "s_permissions": 1,
    "s_leads": 1,
    "s_products": 1,
    "s_sms": 1,
    "s_records": 1,
    "s_breaks": 1,
    "s_cancels": 1,
    "s_conflicts": 1,
    "s_custom_sessions": 1,
    "s_docs": 1,
    "s_security": 1,
    "s_packages": 1,
    "s_gateways": 1,
    "s_vehicles": 1,
    "s_smartlearn": 1,
    "s_website": 1,
    "s_memberships": 1,
    "username": "jane.doe",
    "email": "jane.doe@example.com"
}

Delete a staff member

DELETE /api/v1/staff/{id}

Parameters

ParameterInDescription
idpathThe record's id.

Returns

200 with {"id", "object": "staff", "deleted": true}: the staff member, the login, the settings, tasks and the timesheet rate are removed for good. 404 not_found; 409 conflict when the staff member has timesheets or wages on file (set the status to inactive instead).

Request

curl -X DELETE "https://www.bizstim.com/api/v1/staff/42" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json"

Response

{
    "id": 42,
    "object": "staff",
    "deleted": true
}