QRdx
HelpGuidesDevelopersReact librarySelf-hosting

Get a hook

One hook of the workspace.

GET
/hooks/{id}

Authorization

oauth2 codes:read
headerAuthorizationBearer <token>

An OAuth 2.0 access token, sent as Authorization: Bearer <token>. Register an app in Settings → Developers, send the user through authorization (PKCE S256), then exchange the code for a token. Access tokens last 1 hour; refresh tokens 30 days. Step by step.

Scope: codes:read

Path Parameters

id*string

The hook's id

Length1 <= length <= 64

Response Body

The hook

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.qrdx.dev/v1/hooks/cm5hook0zapier0scans00001'
Example Response
{  "data": {    "id": "cm5hook0zapier0scans00001",    "target_url": "https://hooks.zapier.com/hooks/catch/123456/abcdef/",    "events": [      "scan.created"    ],    "event": "scan.created",    "active": true,    "created_at": "2026-01-05T09:30:00.000Z"  }}

Last updated on