---
title: "Hand Xovris work from another AI agent (A2A SendMessage)"
url: https://xovris.ai/docs/api/operations/posta2a/
---

# Hand Xovris work from another AI agent (A2A SendMessage)

`POST /v1/a2a`

Open to anyone, so no Idempotency-Key is kept: nobody is signed in to keep it for, and replaying one caller's answer to another would hand it over.

No token needed: anyone may call this.

## Request body

### `application/json`

- `id`
- `jsonrpc`
- `method` (string)
- `params` (object)

Example:

```json
{
  "id": null,
  "jsonrpc": null,
  "method": "string",
  "params": {}
}
```

## Answers

- `200`: A JSON-RPC 2.0 response (Model Context Protocol, or A2A at /v1/a2a). (application/json: JsonRpcResponse; text/event-stream: string)
- `201`: Done: something new was made, and the answer is it. (application/json: object)
- `202`: Started: the answer says where to follow it. (application/json: object)
- `400`: A JSON-RPC 2.0 response (Model Context Protocol, or A2A at /v1/a2a). (application/json: JsonRpcResponse; text/event-stream: string)
- `404`: Nothing with that id here, or it belongs to another workspace. Nothing was changed. (application/json: Problem)
- `default`: Refused or failed: a JSON-RPC 2.0 error from the protocol, otherwise the Problem with what to do next. (application/json: Problem | JsonRpcResponse; application/problem+json: Problem)

## A call

The address is https://api.xovris.ai/v1/a2a - put your own value in place of each part in braces.

```sh
curl --request POST \
  --url 'https://api.xovris.ai/v1/a2a' \
  --header 'Content-Type: application/json' \
  --data '{"id":null,"jsonrpc":null,"method":"string","params":{}}'
```
