Skip to main content
POST
/
agents
/
embedded
Send Message
curl --request POST \
  --url https://api.poligono.ai/v1/agents/embedded \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "to": "<string>"
}
'
{
  "data": {
    "from_": "<string>",
    "role": "<string>",
    "text": "<string>",
    "to": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and JWT token.

Body

application/json

Message

prompt
string
required
to
string
required

Response

OK

data
object