Skip to main content
GET
/
v2
/
agent
/
{agentId}
/
search
cURL
curl --request GET \
  --url https://api.gptmaker.ai/v2/agent/{agentId}/search \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "name": "<string>",
      "type": "WHATSAPP",
      "id": "<string>",
      "connected": true
    }
  ],
  "count": 123
}

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

Query Parameters

page
integer<int32>

Número da página

pageSize
integer<int32>

Tamanho da página

query
string

Filtro pelo nome do canal

Response

Lista de canais

data
object[]
count
integer

Número total de canais