cURL
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 } ]
Lista as mensagens de um chat
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID do chat
Número da página
Tamanho da página
Lista de mensagens
The response is of type object[].
object[]