# Create new topic using URL with attachment

**URL:** <https://meta.discourse.org/t/create-new-topic-using-url-with-attachment/213397>\
**Category:** Support\
**Created:** [December 29, 2021, 7:57pm UTC](https://meta.discourse.org/t/create-new-topic-using-url-with-attachment/213397 "2021-12-29T19:57:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ilia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ilia/32/227945_2.png) [@Ilia](https://meta.discourse.org/u/Ilia)\
**Post date:** [December 29, 2021, 7:57pm UTC](https://meta.discourse.org/t/create-new-topic-using-url-with-attachment/213397/1 "2021-12-29T19:57:00Z")

</div>

Hi,

We can create a new topic using the following URL:

```plaintext
/new-message?groupname=staff&title=title&body=body

```

It works perfectly fine. However, we are using this for technical support and also would like to insert user’s server information as an attached text file. I was looking into something like:

```plaintext
/new-message?groupname=staff&title=title&body=body&attachment=data:text;base64,dGV4dA==

```

I would expect it to imitate the same behaviour if a user manually attached a file to the new topic.

Is this doable adding attachment using some URL? If not, could you consider implementing it?

---

<div class="post-metadata">

**Author:** ![Ilia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ilia/32/227945_2.png) [@Ilia](https://meta.discourse.org/u/Ilia)\
**Post date:** [January 2, 2022, 4:51pm UTC](https://meta.discourse.org/t/create-new-topic-using-url-with-attachment/213397/2 "2022-01-02T16:51:19Z")

</div>

Happy New Year! 🎄

Any suggestions on this topic?
