> For the complete documentation index, see [llms.txt](https://docs.giro.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.giro.tech/desenvolvedores/api-gtscr/webhooks/consultar-webhook.md).

# Consultar Webhook

## Visualizar configuração atual do Webhook

> Retorna a URL e o Segredo configurados atualmente para a organização autenticada.

```json
{"openapi":"3.0.0","info":{"title":"API de Consultas GTSCR","version":"1.0.0"},"servers":[{"url":"https://api.staging.scr.gtbanker.com.br/api","description":"Servidor de Homologação"},{"url":"https://api.scr.gtbanker.com.br/api","description":"Servidor de Produção"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{}},"paths":{"/webhooks":{"get":{"tags":["Configuração Webhooks"],"summary":"Visualizar configuração atual do Webhook","description":"Retorna a URL e o Segredo configurados atualmente para a organização autenticada.","operationId":"getWebhookConfig","responses":{"200":{"description":"Configuração encontrada.","content":{"application/json":{"schema":{"type":"object","properties":{"payloadUrl":{"type":"string","description":"URL configurada."},"secret":{"type":"string","description":"Chave secreta configurada."}}}}}},"404":{"description":"Nenhum webhook configurado para esta organização.","content":{"application/json":{"schema":{"type":"object","description":"Representa um erro ocorrido durante a consulta","properties":{"errorCode":{"type":"string","description":"Código do erro"},"description":{"type":"string","description":"Descrição detalhada do erro"}}}}}}}}}}}
```

<figure><img src="https://978140111-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF6l1W0qI0y7eF7f0QRDC%2Fuploads%2Fgit-blob-f5d2064d02c970341ca52b2c083eb1f585bc436a%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

{% embed url="<https://giro.tech/central-de-atendimento/>" %}
