# Get User Sectors **GET /users/{userName}/sectors** This API gets the sectors for the specified user. ## Servers - Sandbox server URL: https://localhost:8080 (Sandbox server URL) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **userName** (string) Username of the user. ## Responses ### 200 Successful Response #### Body: application/json (object) - **id** (string) The sector id. - **name** (string) The sector name. ### 401 Authentication Error. Invalid credentials. #### Body: application/json (object) - **code** (string) - **message** (string) - **description** (string) ### 403 Authorization Error. Invalid role for request. ### 404 User Not Found #### Body: application/json (object) - **status** (integer) - **error** (string) [Powered by Bump.sh](https://bump.sh)