AdvPlan Clientes API

Cadastro de clientes do escritório

Operations 5

GET /api/v1/clientes Lista os clientes do escritório #
POST /api/v1/clientes Cadastra um cliente #
GET /api/v1/clientes/{cliente} Mostra um cliente #
PUT /api/v1/clientes/{cliente} Atualiza um cliente #
DELETE /api/v1/clientes/{cliente} Remove um cliente #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/advplan-com-br:advplan-com-br-clientes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

advplan-com-br-clientes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Advplan Com Br Clientes API
  version: 1.0.0
  contact:
    name: Suporte AdvPlan
    email: contato@advplan.com.br
  description: 'Operations tagged Clientes across 2 of this provider''s published API definitions: advplan-com-br-openapi.json, advplan-com-br-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://lp.advplan.com.br
  description: Este ambiente (o que você está lendo agora)
tags:
- name: Clientes
  description: Cadastro de clientes do escritório
paths:
  /api/v1/clientes:
    get:
      tags:
      - Clientes
      summary: Lista os clientes do escritório
      operationId: 275ddabe0ff3df657edd035747f2c43a
      parameters:
      - name: busca
        in: query
        description: Procura por nome, CPF/CNPJ ou e-mail
        schema:
          type: string
      - name: status
        in: query
        description: ativo, inadimplente, prospecto…
        schema:
          type: string
      - name: fase_funil
        in: query
        description: Etapa do funil de leads (novo, contato, proposta…)
        schema:
          type: string
      - name: cadastro_de
        in: query
        schema:
          type: string
          format: date
      - name: cadastro_ate
        in: query
        schema:
          type: string
          format: date
      - name: per_page
        in: query
        description: Itens por página (padrão 15)
        schema:
          type: integer
      responses:
        '200':
          description: Lista paginada de clientes
        '401':
          description: Chave ausente ou inválida
        '402':
          description: O plano do escritório não inclui a API
      security:
      - chaveDoEscritorio: []
    post:
      tags:
      - Clientes
      summary: Cadastra um cliente
      operationId: d82cb60437b288da7843df7826fad22f
      requestBody:
        required: true
        content:
          application/json:
            schema:
              required:
              - nome
              properties:
                nome:
                  type: string
                  example: Construtora Amaral Ltda
                tipo:
                  type: string
                  enum:
                  - pf
                  - pj
                  example: pj
                cpf_cnpj:
                  type: string
                  example: 10.620.937/0001-13
                email:
                  type: string
                  example: contato@amaral.com.br
                telefone:
                  type: string
                  example: (27) 99999-0000
                fase_funil:
                  description: Chave de uma etapa ativa do funil de leads deste escritório
                  type: string
                  example: contato
              type: object
      responses:
        '201':
          description: Cliente criado
        '422':
          description: Dados inválidos
      security:
      - chaveDoEscritorio: []
    servers:
    - url: https://lp.advplan.com.br
      description: Este ambiente (o que você está lendo agora)
  /api/v1/clientes/{cliente}:
    get:
      tags:
      - Clientes
      summary: Mostra um cliente
      operationId: ab4ce3009d7508c93f86a31ca7afca31
      parameters:
      - name: cliente
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: Cliente
        '404':
          description: Não existe, ou é de outro escritório
      security:
      - chaveDoEscritorio: []
    put:
      tags:
      - Clientes
      summary: Atualiza um cliente
      description: Também aceita PATCH, com o mesmo corpo. Dispara o webhook cliente.atualizado. Se fase_funil mudar, dispara também cliente.fase_funil_alterada (a etapa anterior vai no campo fase_anterior).
      operationId: d73c1716e55d5b6be632db863d3fda4d
      parameters:
      - name: cliente
        in: path
        required: true
        schema:
          type: integer
      requestBody:
        description: Mande só os campos que mudam; aceita os mesmos do cadastro.
        required: true
        content:
          application/json:
            schema:
              properties:
                email:
                  type: string
                  example: financeiro@amaral.com.br
                telefone:
                  type: string
                  example: (27) 98888-0000
              type: object
      responses:
        '200':
          description: Cliente atualizado
        '404':
          description: Não existe, ou é de outro escritório
        '422':
          description: Dados inválidos
      security:
      - chaveDoEscritorio: []
    delete:
      tags:
      - Clientes
      summary: Remove um cliente
      operationId: 49710823fcda170cb253efe37c6339e6
      parameters:
      - name: cliente
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: 'Removido: {deleted: true}'
        '403':
          description: A chave não tem permissão de excluir clientes
        '404':
          description: Não existe, ou é de outro escritório
      security:
      - chaveDoEscritorio: []
    servers:
    - url: https://lp.advplan.com.br
      description: Este ambiente (o que você está lendo agora)
components:
  securitySchemes:
    chaveDoEscritorio:
      type: http
      description: 'Cole a chave criada em Configurações → Chaves de API. No cabeçalho vai como: Authorization: Bearer SUA_CHAVE'
      scheme: bearer
x-refined-from:
- advplan-com-br-openapi.json
- advplan-com-br-openapi.json