---
updatedAt: 2026-11-06T08:14:40.000Z
agentTools:
  projectIndex: https://roappua.readme.io/llms.txt
---

# Створити організацію

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "ro-app-public-api-v2_1",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.roapp.io/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/contacts/organizations": {
      "post": {
        "summary": "Створити організацію",
        "description": "",
        "operationId": "create-organization",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "Назва організації"
                  },
                  "email": {
                    "type": "string",
                    "description": "Електронна пошта організації"
                  },
                  "phones": {
                    "type": "array",
                    "description": "Номери телефонів організації",
                    "items": {
                      "properties": {
                        "title": {
                          "type": "string",
                          "description": "Назва номеру телефону"
                        },
                        "phone": {
                          "type": "string",
                          "description": "Номер телефону у міжнародному форматі"
                        },
                        "notify": {
                          "type": "boolean",
                          "description": "Чи погодився клієнт отримувати SMS на цей номер?"
                        },
                        "has_viber": {
                          "type": "boolean",
                          "description": "Чи можна надсилати повідомлення у Viber на цей номер?"
                        },
                        "has_whatsapp": {
                          "type": "boolean",
                          "description": "Чи можна надсилати повідомлення у WhatsApp на цей номер?"
                        }
                      },
                      "required": [
                        "title",
                        "phone",
                        "notify",
                        "has_viber",
                        "has_whatsapp"
                      ],
                      "type": "object"
                    }
                  },
                  "notes": {
                    "type": "string",
                    "description": "Текст нотаток"
                  },
                  "address": {
                    "type": "string",
                    "description": "Адреса організації"
                  },
                  "supplier": {
                    "type": "boolean",
                    "description": "Чи є організація вашим постачальником?",
                    "default": false
                  },
                  "manager_id": {
                    "type": "integer",
                    "description": "ID менеджера",
                    "format": "int32"
                  },
                  "ad_campaign_id": {
                    "type": "integer",
                    "description": "ID рекламної кампанії",
                    "format": "int32"
                  },
                  "discount_code": {
                    "type": "string",
                    "description": "Код знижки"
                  },
                  "custom_fields": {
                    "type": "string",
                    "description": "Користувальницькі поля у форматі {\"f123\": \"значення\", \"f234\": \"значення\"}, де \"f123\" та \"f234\" – ID користувальницьких полів..",
                    "format": "json"
                  },
                  "tags": {
                    "type": "array",
                    "description": "Масив тегів",
                    "items": {
                      "type": "string"
                    }
                  },
                  "tax_identification_number": {
                    "type": "string",
                    "description": "Ідентифікаційний податковий номер"
                  },
                  "business_registration_number": {
                    "type": "string",
                    "description": "Реєстраційний номер бізнесу"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```