Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

Get sandbox webhook

Developer Platform, Sandbox & Key Management

GET

/webhooks/{id}

Get sandbox webhook

Sandbox onlygetSandboxWebhook

Fetch a webhook owned by the authenticated sandbox key. Returns its configuration and signing-secret metadata, never the signing secret. The production API exposes list and delete operations; this detail operation is sandbox-only.

Parameters

idstringpathRequired

Webhook ID returned by POST /webhooks.

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

idstring
urlstring
eventsstring[]
statusstring
hasSecretboolean
secretLast4string | null
createdAtstring | null
sandboxboolean

Response codes

200Webhook configuration.
401Invalid sandbox key.
404Webhook not found or not owned by this key.