cURL
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>" }
Obtém os webhooks configurados em um agente
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID do agente
Webhooks
The response is of type object.
object