# Request

## Agent Message API

<mark style="color:green;">`POST`</mark> `https://agent.vorsto.io/api/{agent-id}`

**Headers**

| Name         | Value                             |
| ------------ | --------------------------------- |
| Content-Type | `application/json`                |
| x-auth-key   | `api_xxxxxxxxxxxxxxxxxxxxxxxxxxx` |

**Url Parameter**

| Name     | Type   | Description                                                           |
| -------- | ------ | --------------------------------------------------------------------- |
| agent-id | string | The id of the agent. You can get this on the agent configuration form |

**Sample Request**

{% tabs %}
{% tab title="Body" %}

```json
{
    "query": "Can you analyse this data for fraud?"
}
```

{% endtab %}
{% endtabs %}

| Name  | Type   | Description                 |
| ----- | ------ | --------------------------- |
| query | string | Your instruction to the bot |
