# Sending additional data to RASA server in REST request

**URL:** <https://forum.rasa.com/t/sending-additional-data-to-rasa-server-in-rest-request/63370>\
**Category:** Rasa CALM\
**Tags:** rasa, chatbot\
**Created:** [September 10, 2024, 10:19am UTC](https://forum.rasa.com/t/sending-additional-data-to-rasa-server-in-rest-request/63370 "2024-09-10T10:19:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jahanzeb32](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@Jahanzeb32](https://forum.rasa.com/u/Jahanzeb32)\
**Post date:** [September 10, 2024, 10:19am UTC](https://forum.rasa.com/t/sending-additional-data-to-rasa-server-in-rest-request/63370/1 "2024-09-10T10:19:00Z")

</div>

Hi everybody! I am trying to send and access additional data aside from a text message to RASA via a **REST** call but am unable to do so. The following is the usual request body for sending and receiving text messages: { “sender”: “default”, “message”: “hi” }

I want to send some and retrieve some extra data and have tried the following request body. { “sender”: “default”, “message”: “custom payload”, “data”:{ “someData”: “some data” } }

I tried to find it in the **tracker** object but have not found it.

So far I have failed. Is there a way to achieve this or is this a limitation currently? Thank you for your time.

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [September 19, 2024, 4:12am UTC](https://forum.rasa.com/t/sending-additional-data-to-rasa-server-in-rest-request/63370/2 "2024-09-19T04:12:19Z")

</div>

You can supply metadata on the rest call and then retrieve that in `action_session_start`. There’s an example of this [here](https://rasa.com/docs/rasa-pro/concepts/default-actions/#customization).

To supply the metadata via REST, here’s an example payload:

```json
{
  "sender": "test_user", // sender ID of the user sending the message
  "message": "Hi there!"
  "metadata": { 
    "username": "stephens",
    "postal-code": "71083",
    "city": "Herrenberg"
    }
}

```
