GET
/
v2
/
workspace
/
{workspaceId}
/
interactions
cURL
curl --request GET \
  --url https://api.gptmaker.ai/v2/workspace/{workspaceId}/interactions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "agentId": "<string>",
    "agentName": "<string>",
    "agentAvatar": "<string>",
    "chatId": "<string>",
    "chatName": "<string>",
    "status": "RUNNING",
    "startAt": "2023-11-07T05:31:56Z",
    "transferAt": "2023-11-07T05:31:56Z",
    "resolvedAt": "2023-11-07T05:31:56Z",
    "userId": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

workspaceId
string
required

ID do workspace

Query Parameters

agentId
string

ID do agente para filtrar os atendimentos

page
integer

Número da página

pageSize
integer

Tamanho da página

Response

Lista de atendimentos

id
string

Id do atendimento.

agentId
string

Id do agente.

agentName
string

Nome do agente.

agentAvatar
string

Avatar do agente.

chatId
string

Id do chat/contextId.

chatName
string

Nome do chat.

status
enum<string>

Status do atendimento.

Available options:
RUNNING,
WAITING,
RESOLVED
startAt
string<date-time>

Data/hora de início do atendimento.

transferAt
string<date-time>

Data/hora da transferência foi feita para humano.

resolvedAt
string<date-time>

Data/hora do encerramento do atendimento.

userId
string

Id do membro que participou do atendimento.