GET
/
v2
/
chat
/
{chatId}
/
messages
curl --request GET \
  --url https://api.gptmaker.ai/v2/chat/{chatId}/messages \
  --header 'Authorization: Bearer <token>'
[
  {
    "userPicture": "<string>",
    "fileName": "<string>",
    "role": "<string>",
    "documentUrl": "<string>",
    "type": "<string>",
    "userName": "<string>",
    "midiaContent": "<string>",
    "userId": "<string>",
    "audioUrl": "<string>",
    "imageUrl": "<string>",
    "width": 123,
    "id": "<string>",
    "text": "<string>",
    "time": 123,
    "height": 123
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

chatId
string
required

ID do chat

Query Parameters

page
integer

Número da página

pageSize
integer

Tamanho da página

Response

200
application/json

Lista de mensagens

The response is of type object[].