GET
/
v2
/
agent
/
{agentId}
/
webhooks
curl --request GET \
  --url https://api.gptmaker.ai/v2/agent/{agentId}/webhooks \
  --header 'Authorization: Bearer <token>'
{
  "onNewMessage": "<string>",
  "onLackKnowLedge": "<string>",
  "onTransfer": "<string>",
  "onFirstInteraction": "<string>",
  "onStartInteraction": "<string>",
  "onFinishInteraction": "<string>",
  "onCreateEvent": "<string>",
  "onCancelEvent": "<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

200
application/json

Webhooks

The response is of type object.