---
title: "Handle webhook challenge verification"
method: GET
path: "/hooks/{toolId}"
tags: ["Webhooks"]
---

# Handle webhook challenge verification

`GET /hooks/{toolId}`

## Request

- Base URL: `https://api.superglue.cloud/v1`
- URL: `https://api.superglue.cloud/v1/hooks/{toolId}`
- Auth: one of:
  - HTTP bearer
  - API key in query parameter `token`

Handle webhook challenge/verification requests from external services.
GET requests are only supported for challenge verification (not tool execution).

Supported challenge patterns:
- **Meta/Facebook/WhatsApp:** `?hub.mode=subscribe&hub.challenge=...` → echoes challenge as plain text
- **Microsoft Graph:** `?validationToken=...` → echoes token as plain text
- **Nylas/generic:** `?challenge=...` → echoes challenge as plain text

## Path parameters

- `toolId` string, required

## Query parameters

- `hub.mode` string
- `hub.challenge` string
- `validationToken` string
- `challenge` string

## Response `200`

Challenge response echoed back to the requesting service

## Other responses

- `403`: Not authorized to execute this tool
- `404`: Tool not found
- `405`: GET requests are only supported for webhook challenge verification

---

[API](https://skmtc.dev/superglue/apis/superglue-api.md) - [All operations](https://skmtc.dev/superglue/apis/superglue-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superglue/apis/superglue-api/revisions/2d412a94bf09?raw)
