Create a staff member
Adds someone who can be assigned to events. Only name is required; a rate is what event labour costs are
worked out from.
Avatars cannot be attached over the API, because an upload needs a signed URL this API does not hand out.
Errors
422 staff_name_required— no name, or a blank one.422 invalid_rate— a negative rate.
POST
/api/v1/staffAuthorization
AuthorizationBearer token (bloomcount_...) · headerrequiredRequest body
requiredapplication/jsonnamestringThe person's name. Required to create.
hourlyRatenumberPay per hour in the tenant's currency, used to cost an event's labour. Must not be negative.
mileageRatenumberPay per mile in the tenant's currency, used to cost travel. Must not be negative.
addressstringWhere they travel from
emailstringContact email.
phonestringContact number.
companyNamestringTheir company
websitestringTheir website
Responses
201Created
staffIdstringrequirednamestringrequiredhourlyRatenumber | nullmileageRatenumber | nulladdressstring | nullemailstring | nullphonestring | nullcompanyNamestring | nullwebsitestring | nullhasAccountbooleanrequiredTrue when this row belongs to a signed-in member. Those rows can't be deleted over the API.
401Missing or invalid API key, or revoked / expired.
errorstringrequired403Authenticated, but the key lacks the required scope or the tenant has no API access.
errorstringrequired422Request body or arguments failed validation.
errorstringrequired429Per-minute rate limit (60/min) or per-month cap exceeded.
errorstringrequired