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

# Criar qualificação

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Atendare API - v2",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.atendare.com/v2"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/qualifications": {
      "post": {
        "summary": "Criar qualificação",
        "description": "",
        "operationId": "create-qualifications",
        "parameters": [
          {
            "name": "Access-Token",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "visibility",
                  "stage_id"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Nome da qualificação, gerado automaticamente caso não for informado"
                  },
                  "start_date": {
                    "type": "string",
                    "description": "Data de início",
                    "format": "date"
                  },
                  "end_date": {
                    "type": "string",
                    "description": "Data de fim",
                    "format": "date"
                  },
                  "visibility": {
                    "type": "string",
                    "description": "Visibilidade da qualificação<br><strong>1 = organization, 2 = private, 3 = team</strong>",
                    "default": "2",
                    "enum": [
                      "1",
                      "2",
                      "3"
                    ]
                  },
                  "company_id": {
                    "type": "integer",
                    "description": "É obrigatório se contact_id não for passado",
                    "format": "int64"
                  },
                  "contact_id": {
                    "type": "integer",
                    "description": "É obrigatório se company_id não for passado",
                    "format": "int64"
                  },
                  "pipeline_id": {
                    "type": "integer",
                    "description": "ID do pipeline",
                    "format": "int64"
                  },
                  "stage_id": {
                    "type": "integer",
                    "description": "ID da etapa do pipeline",
                    "format": "int64"
                  },
                  "source_id": {
                    "type": "integer",
                    "description": "ID da fonte",
                    "format": "int64"
                  },
                  "responsible_id": {
                    "type": "integer",
                    "description": "ID do usuário responsável",
                    "format": "int64"
                  },
                  "participants": {
                    "type": "array",
                    "description": "Lista de participantes",
                    "items": {
                      "properties": {
                        "name": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "person_id": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "is_main": {
                          "type": "boolean"
                        },
                        "type_id": {
                          "type": "integer",
                          "format": "int32"
                        },
                        "type": {
                          "type": "integer",
                          "format": "int32"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "tags": {
                    "type": "array",
                    "description": "Lista de tags",
                    "items": {
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "color": {
                          "type": "string"
                        },
                        "": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "61f3f7309a3abf0010b92516:626bedcc9c2f9c00407d53a0"
}
```