# Link Family to Company **POST /v1/auth/link-family** Links a Member (Family User) to a Company by creating a Family and Account ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Body: application/json (object) Request body for linking a Family User to a company - **firstname** (string) firstname - **lastname** (string) lastname - **phone** (string) Phone number ## Responses ### 200 successful operation #### Body: application/json (object) - **id** (string) id - **userId** (string) User ID - **companyId** (string | null) Company ID - **entityId** (string | null) Staff or Family ID that links this account to an entity - **role** (string) - **permissionSet** (string) [Powered by Bump.sh](https://bump.sh)