---
agentTools:
  projectIndex: https://atendare.readme.io/llms.txt
---

# Buscar um grupo

[block:code]
{
  "codes": [
    {
      "code": "GET - 200\n\n{\n  \"result\": {\n    \"status\": 1,\n    \"members\": 11,\n    \"author_id\": 4,\n    \"author\": {\n      \"id\": 4,\n      \"detail\": \"Nome do autor\",\n      \"type\": 1,\n      \"user_id\": 5,\n      \"automation_id\": 1,\n      \"form_id\": 1,\n      \"import_id\": 1,\n      \"user_uid\": 323\n    },\n    \"creation_date\": \"2022-03-23T11:27:58Z\",\n    \"update_date\": \"2022-03-23T11:27:58Z\",\n    \"id\": 1,\n    \"name\": \"Nome do grupo\"\n  }\n}\n",
      "language": "json"
    }
  ]
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Atendare API - v2",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.atendare.com/v2"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/groups/{id}": {
      "get": {
        "summary": "Buscar um grupo",
        "description": "",
        "operationId": "search-groups",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "ID do grupo",
            "schema": {
              "type": "integer",
              "format": "int64"
            },
            "required": true
          },
          {
            "name": "Access-Token",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"success\": true,\n  \"data\": {\n    \"id\": 1,\n    \"name\": \"Administradores\",\n    \"status\": 1,\n    \"members\": 9,\n    \"author_id\": 1,\n    \"creation_date\": \"2020-11-12T11:21:42Z\",\n    \"update_date\": \"2021-12-01T18:11:58Z\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "Administradores"
                        },
                        "status": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "members": {
                          "type": "integer",
                          "example": 9,
                          "default": 0
                        },
                        "author_id": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "creation_date": {
                          "type": "string",
                          "example": "2020-11-12T11:21:42Z"
                        },
                        "update_date": {
                          "type": "string",
                          "example": "2021-12-01T18:11:58Z"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61f3f7309a3abf0010b92516:62697ab73bf595007280e646"
}
```