Sessions
Companies & Users
API Keys & Permissions
Blocks
Server-to-Server (Auth Key)
OAuth 2.0
Analytics
Billing
Powered by DocStar
  1. API reference
  2. Companies & Users

Companies & Users

Signed-in end-user APIs: read your profile and companies, create and update companies, switch the active company, and manage who belongs to it.

All endpoints here need the proxy_auth_token header. Most also need a permission on the user's role, such as add_user or remove_c_user_from_c_company. A missing permission returns 401.

Typical flow: call Get Details to see the user's companies and permissions, Switch Company to change the active one, then use Get Company Users, Add User and Remove User on that company.

POST
Create Company
PUT
Update Company
PUT
Update User
POST
Upload Profile Picture
GET
Get Details
POST
Switch Company
POST
Add User
GET
Get Users
GET
Get Companies
POST
Leave Company
GET
Get Company Users
DELETE
Remove User
GET
List Timezones
336Blocks User API · API documentation

Build with 36Blocks User. Let AI do the rest.

Copy the instructions, paste them into your AI, and tell it what you want to build.

Paste into your AI and tell it what you want to build.

·
Published with DocStar