Skip to main content
GET
/
v2
/
agent
/
{id}
/
transfer-rules
cURL
curl --request GET \
  --url https://api.gptmaker.ai/v2/agent/{id}/transfer-rules \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "createdAt": "<string>",
  "instructions": "<string>",
  "returnOnFinish": true,
  "type": "HUMAN",
  "agentId": "<string>",
  "userId": "<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

Response

Lista as regras de transferência

id
string

Id da regra

createdAt
string

data de atualização do campo

instructions
string

Instruções visíveis na transferência

returnOnFinish
boolean

Define se deve retornar ao assistente após o atendimento

type
enum<string>
Available options:
HUMAN,
AGENT
agentId
string | null

Id do agente de destino (se aplicável)

userId
string | null

Id do usuário de destino (se aplicável)

I