# Get player teams Returns a list of teams a player is part of Endpoint: GET /teams-by-player Version: 2.0.7 Security: bearerAuth ## Query parameters: - `id` (integer, required) ID of the player Example: 8 ## Response 200 fields (application/json): - `status` (string) Example: "success" - `pagination` (object,null) Pagination info if applicable - `errors` (object,null) - `response` (array,null) - `response.id` (integer) Unique identifier for the team Example: 33 - `response.name` (string) Name of the team Example: "Manchester United" - `response.logo` (string,null) URL or path to the team's logo image Example: "https://example.com/logos/teams/manutd.png" - `response.founded` (string,null) Year the team was founded Example: "1878" - `response.venue` (any,null) Details about the home venue of the team - `response.country` (any,null) Country the team is based in ## Response 400 fields (application/json): - `status` (string) Example: "error" - `pagination` (object,null) - `errors` (array,null) - `errors.type` (string) Example: "validation_error" - `errors.data` (object) - `response` (object,null) ## Response 500 fields (application/json): - `status` (string) Example: "error" - `pagination` (object,null) - `errors` (array,null) - `errors.type` (string) Example: "validation_error" - `errors.data` (object) - `response` (object,null)