---
updatedAt: 2026-10-29T13:58:11.000Z
agentTools:
  projectIndex: https://wakecommerce.readme.io/llms.txt
---

# Consultar Contas

Endpoint público com paginação para consulta das contas cadastradas no Wake OMS.

> 📘

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "wake-oms-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{domain}.sintesesolucoes.com.br/SinOMS.API",
      "variables": {
        "domain": {
          "default": "domain"
        }
      }
    }
  ],
  "security": [],
  "paths": {
    "/pub/contas": {
      "get": {
        "summary": "Consultar Contas",
        "description": "Endpoint público com paginação para consulta das contas cadastradas no Wake OMS.",
        "operationId": "consultar-contas",
        "parameters": [
          {
            "name": "conta",
            "in": "query",
            "description": "Nome da conta. Se estiver vazio, todas as contas serão retornadas.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "inativo",
            "in": "query",
            "description": "Indica se devem ser retornadas apenas as contas ativas ou inativas. Se estiver nulo, o filtro não será aplicado.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "administrativa",
            "in": "query",
            "description": "Indica se devem ser retornadas apenas as contas administrativas ou não. Se estiver nulo, o filtro não será aplicado.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "description": "Indica a página que deseja ser buscada. Obs.: Caso o parâmetro não for especificado ou menor que 1, retornará como default a página 1",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string",
              "default": "*/*"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "200 Sucesso": {
                    "value": "{ \n  \"mensagem\": \"Sucesso\",\t\n\t\"dados\": \n  {\n\t\t\"lista\": [\n      {\n\t\t\t\t\"conta\": \"string\", \n        \"site\": \"string\", \n        \"chave\": \"string\", \n        \"email\": \"string\", \n        \"inativo\": \"bool\", \n        \"acessoAdmin\": \"bool\", \n        \"nomeRemetente\": \"string\", \n        \"endereco\": \"string\", \n        \"numero\": \"string\", \n        \"complemento\": \"string\", \n        \"bairro\": \"string\", \n        \"cidade\": \"string\", \n        \"uf\": \"string\", \n        \"pais\": \"string\", \n        \"cep\": \"string\", \n        \"contaPrincipal\": \"string\", \n        \"cnpj\": \"string\", \n        \"tipoConta\": \"string\", \n        \"telefone\": \"string\", \n        \"inscricaoEstadual\": \"string\" \n      }\n\t\t],\n\t\t\"pagina\": 1,\n\t\t\"porPagina\": 50,\n\t\t\"total\": 1,\n\t\t\"paginas\": 1\n\t}\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "mensagem": {
                      "type": "string",
                      "example": "Sucesso"
                    },
                    "dados": {
                      "type": "object",
                      "properties": {
                        "lista": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "conta": {
                                "type": "string",
                                "example": "string"
                              },
                              "site": {
                                "type": "string",
                                "example": "string"
                              },
                              "chave": {
                                "type": "string",
                                "example": "string"
                              },
                              "email": {
                                "type": "string",
                                "example": "string"
                              },
                              "inativo": {
                                "type": "string",
                                "example": "bool"
                              },
                              "acessoAdmin": {
                                "type": "string",
                                "example": "bool"
                              },
                              "nomeRemetente": {
                                "type": "string",
                                "example": "string"
                              },
                              "endereco": {
                                "type": "string",
                                "example": "string"
                              },
                              "numero": {
                                "type": "string",
                                "example": "string"
                              },
                              "complemento": {
                                "type": "string",
                                "example": "string"
                              },
                              "bairro": {
                                "type": "string",
                                "example": "string"
                              },
                              "cidade": {
                                "type": "string",
                                "example": "string"
                              },
                              "uf": {
                                "type": "string",
                                "example": "string"
                              },
                              "pais": {
                                "type": "string",
                                "example": "string"
                              },
                              "cep": {
                                "type": "string",
                                "example": "string"
                              },
                              "contaPrincipal": {
                                "type": "string",
                                "example": "string"
                              },
                              "cnpj": {
                                "type": "string",
                                "example": "string"
                              },
                              "tipoConta": {
                                "type": "string",
                                "example": "string"
                              },
                              "telefone": {
                                "type": "string",
                                "example": "string"
                              },
                              "inscricaoEstadual": {
                                "type": "string",
                                "example": "string"
                              }
                            }
                          }
                        },
                        "pagina": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "porPagina": {
                          "type": "integer",
                          "example": 50,
                          "default": 0
                        },
                        "total": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "paginas": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Unauthorized"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```