> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuro-tech.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Proposal

> Sends a contract proposal to another XMPP Client (in the federated network) to sign a specific contract under a specific role.

## Overview

Sends a contract proposal to another XMPP Client (in the federated network) to sign a specific contract under a specific role. The proposal message can also contain a plain text message to the recipient.

Note: This function calls the AgentAPI.Xmpp.SendXmlMessage(To,Xml,Subject,Language,Id) function, which calls the corresponding Agent API web service.

## Authentication

Requires a valid JWT bearer token.

## Notes

This endpoint uses the request schema notation described in [Pattern matching](/guides/pattern-matching).


## OpenAPI

````yaml /test-api/openapi.yaml post /Agent/Legal/SendProposal
openapi: 3.1.0
info:
  title: Neuron Agent API
  version: 1.0.0
  description: |-
    The Agent API exposes core Neuron functionality over HTTP so services can
    operate without a persistent XMPP connection. Endpoints are grouped by
    capability, starting with Accounts and XMPP messaging.
servers:
  - url: https://{host}
    variables:
      host:
        default: neuron.example.com
        description: Neuron domain issued to you.
security:
  - bearerAuth: []
tags:
  - name: Accounts
  - name: Crypto
  - name: Open intelligence
  - name: Legal and contracts
  - name: State machines
  - name: Storage
  - name: Tokens
  - name: Wallet
  - name: XMPP messaging
paths:
  /Agent/Legal/SendProposal:
    post:
      tags:
        - Legal and contracts
      summary: Send Proposal
      description: >-
        Sends a contract proposal to another XMPP Client (in the federated
        network) to sign a specific contract under a specific role.
      operationId: post_Agent_Legal_SendProposal
      responses:
        '200':
          description: Success
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````