Subgraph Webhooks
Create a webhook
Stream row-level changes for a subgraph entity to a URL. Every delivery carries a goldsky-webhook-secret header; the secret is returned once in this response and is not retrievable afterwards.
POST
Error
Authorizations
API token generated from the Goldsky Dashboard. Pass as: Authorization: Bearer
Body
application/json
A project-unique name for the webhook.
Maximum string length:
42Pattern:
^[a-zA-Z][\w-]*$Pattern:
^[a-zA-Z0-9][\w+.-]*$The subgraph entity (table) to stream row changes from. Use the entities endpoint to list valid values.
The URL row changes are POSTed to.
Sent as the goldsky-webhook-secret header on every delivery. Generated if omitted, and returned once in the create response.
Required range:
0 <= x <= 10Required range:
x >= 1Required range:
x >= 1Response
200 - application/json
Default Response
Related topics
Subgraph webhooksSend subgraph-driven webhooksevm WalletsBuild a Polymarket copy-traderCLI Reference