# FlexCMS (Обращения)

<figure><img src="/files/0idQyVSn8U3Iy7Ynvb7M" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ESfk2txtGfRiaHZRRp2J" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Bo81ebCtIw8OKkqNkbH9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JMF6xx9cwLDSveeo5SMA" alt=""><figcaption></figcaption></figure>

Обратите внимание, что при создании нового обращения (заявки, задачи или заказа) через Интеграционный слой и/или REST API FlexCMS, необходимо в обязательном порядке указывать UUID профиля клиента.

Для этого, в контексте любого пользователя на платформе Fasttrack, есть скрытый атрибут профиля `profile_uuid`, который нужно добавить в JSON-тело POST запроса.

```
{
    "method": "POST",
    "json": {
        "category": "...",
        "title": "{{ attributes.profile_full_name }}",
        "phone": "{{ attributes.profile_phone_number }}",
        "profile_uuid": "{{ attributes.profile_uuid }}"
    },
    "url": "/api/ticket/"
}
```

Только в этом случае произойдет связка профиля клиента на платформе Fasttrack и созданного тикета обращения (заявки, задачи или заказа), который будет отображен в соответствующей вкладке профиля в чат-центре Fasttrack.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fstrk.io/knowledge_base/instructions/old/razdel-integracii/flexcms-obrasheniya.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
