POST
/
v2
/
agent
/
{agentId}
/
add-message
curl --request POST \
  --url https://api.gptmaker.ai/v2/agent/{agentId}/add-message \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contextId": "12345",
  "prompt": "oi você tem interesse no produto x?",
  "role": "<string>"
}'
{
  "message": "<string>",
  "images": [
    "<string>"
  ],
  "audios": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agentId
string
required

ID do agente

Body

application/json

Dados para mensagem a ser adicionada

The body is of type object.

Response

200
application/json

Resposta do agente

The response is of type object.