Add a team member

post/api/v1/team

Request

  • Base URL: http://127.0.0.1:4310
  • URL: http://127.0.0.1:4310/api/v1/team
  • Auth: one of:
    • HTTP bearer
    • API key in cookie sfb_session

Request body

namestring required
display_namestring
titlestring
biostring
emailstring
colourstring
photo_urlstring

https only; needs photo_licence

photo_licencestring
location_idstring uuid
activeboolean
sortinteger
expected_versioninteger
notification_prefsobject

Events booking_created, booking_rescheduled, booking_cancelled, daily_schedule, leave_changes, client_message; channels email, sms

force_reassignobject

{ to_staff_id } or { assignments: [{ booking_id, staff_id }] } when deactivating someone with future bookings

Example request

{
  "colour": "#6b4f8a",
  "shifts": [
    {
      "start": "09:00",
      "end": "17:00"
    }
  ]
}

Response

OK

object required

Changes

No recorded changes to this operation across all 4 revisions of this API.