Company Profile
Enter your bearer token (Firebase auth) in the format: Bearer
Company profile retrieved successfully.
Official name of the company.
Full name of the company owner.
Primary role/position of the authenticated user in the company.
Preferred measurement system (e.g., metric, imperial).
Public URL of the company logo stored in Firebase Storage.
Profile not found.
Unexpected server error.
Create a new company profile or replace an existing one
curl -H "Authorization: API-KEY <ID-Token>" \
-H "Content-Type: application/json" \
-d '{"companyName":"Apple Inc.","ownerName":"Mario Rossi"}' \
-X POST https://api.example.com/company-profile/curl -H "Authorization: API-KEY <ID-Token>" \
-F companyName="Apple Inc." \
-F [email protected] \
-X POST https://api.example.com/company-profile/Enter your bearer token (Firebase auth) in the format: Bearer
Optional. Image file (jpeg/png).
Required (POST) β Company name (text field).
Full name of the owner (text field).
Role of the current user (text field).
Preferred measurement system (metric / imperial).
Profile created successfully.
Validation error.
Unexpected server error.
Partially update one or more profile fields
curl -H "Authorization: API-KEY <ID-Token>" \
-H "Content-Type: application/json" \
-d '{"companyLogo":""}' \
-X PATCH https://api.example.com/company-profile/curl -H "Authorization: API-KEY <ID-Token>" \
-F companyLogo=@new_logo.png \
-X PATCH https://api.example.com/company-profile/Enter your bearer token (Firebase auth) in the format: Bearer
Optional. Image file (jpeg/png).
Required (POST) β Company name (text field).
Full name of the owner (text field).
Role of the current user (text field).
Preferred measurement system (metric / imperial).
Profile updated successfully.
Validation error.
Unexpected server error.
Enter your bearer token (Firebase auth) in the format: Bearer
Organization status details retrieved successfully.
The number of sessions associated with the organization.
The unique identifier of the authenticated user.
The user's role; either 'admin' or 'sub_admin'.
The payment plan type for the organization.
A list of activities associated with the organization.
The name of the company, if available.
The name of the user, if available.
Unauthorized - Missing or invalid access token.
Forbidden - The requester does not have sufficient privileges.
Not Found - The user was not found or the organization status data is invalid.
Internal Server Error - An unexpected error occurred.
Last updated
Was this helpful?