u_staff Firestore collection. Staff members are platform administrators and operators.
Endpoint
Request body
All parameters are nested under adata key.
Full name of the staff member.
Email address. Used as the Firebase Authentication login credential.
Initial password for the Firebase Authentication account. Not stored in Firestore.
Contact phone number.
Account status (for example,
active or inactive).Account classification used for access control.
Government-issued identification number.
Type of identification document.
Commercial or display name for the staff member.
Address fields
City. Stored under
address.city in Firestore.Country. Stored under
address.country in Firestore.Street address line. Stored under
address.line in Firestore.Postal code. Stored under
address.zipcode in Firestore.Example
Response
Confirmation message including the new UID.
200 on success, 400 on error.Firestore document
On success, a document is written tou_staff/{uid} with the following structure:
All staff accounts are created with
security_2fa.status set to false and security_2fa.type set to "email". The timezone field is initialized as an empty string. The password field is never written to Firestore.