---
updatedAt: 2025-03-06T23:51:53.000Z
agentTools:
  projectIndex: https://getquanty.readme.io/llms.txt
---

# Tagging

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "GetQuanty",
    "license": {
      "name": "MIT"
    }
  },
  "servers": [
    {
      "url": "https://api.getquanty.com"
    }
  ],
  "paths": {
    "/v1/contacts/lists/add": {
      "post": {
        "summary": "This endpoint allows to add a contact to a contact list in GetQuanty. The list must have been previously created otherwise the service returns an error. Mandatory fields are gq_firstname or gq_lastname and gq_position and gq_company.",
        "operationId": "ContactToList",
        "tags": [
          "ContactToList"
        ],
        "requestBody": {
          "description": "Required payload to add contact to list.",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactToListPayload"
              },
              "examples": {
                "contactToListPayloadExemple": {
                  "$ref": "#/components/examples/contactToListPayloadExemple"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation result of adding a contact to list.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIResponse"
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "ContactToListPayload": {
        "type": "object",
        "required": [
          "list_name",
          "gq_company",
          "gq_siren",
          "gq_firstname",
          "gq_lastname",
          "gq_email"
        ],
        "properties": {
          "gq_civility": {
            "type": "string"
          },
          "gq_company": {
            "type": "string"
          },
          "gq_department": {
            "type": "string"
          },
          "gq_domain": {
            "type": "string"
          },
          "gq_email": {
            "type": "string"
          },
          "gq_firstname": {
            "type": "string"
          },
          "gq_lastname": {
            "type": "string"
          },
          "gq_phone": {
            "type": "string"
          },
          "gq_position": {
            "type": "string"
          },
          "gq_siren": {
            "type": "string"
          },
          "gq_siret": {
            "type": "string"
          },
          "gq_website": {
            "type": "string"
          },
          "list_name": {
            "type": "string"
          }
        }
      },
      "APIResponse": {
        "type": "object",
        "required": [
          "status",
          "meta_result",
          "result"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "meta_result": {
            "type": "object"
          },
          "result": {
            "type": "object"
          }
        }
      },
      "Error": {
        "type": "object",
        "required": [
          "status",
          "reason"
        ],
        "properties": {
          "status": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        }
      }
    },
    "examples": {
      "contactToListPayloadExemple": {
        "value": {
          "list_name": "decision-makers-P0",
          "gq_company": "GetQuanty",
          "gq_siren": "480405687",
          "gq_firstname": "Xavier",
          "gq_lastname": "PAULIK",
          "gq_email": "xp@getquanty.com"
        },
        "summary": "Add contact to list payload"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```