Skip to main content
GET
/
v1
/
webhook
/
paylink
/
subscription
Get Webhooks for a Subscription
curl --request GET \
  --url https://api.hel.io/v1/webhook/paylink/subscription \
  --header 'Authorization: Bearer <token>'
{
  "id": "679cb0a5eafd565eeab89605",
  "paylink": "679bb9db7f3c16eb86bb1c67",
  "company": "6683f4efc330474ede1f25aa",
  "targetUrl": "https://target-url.com/post-endpoint",
  "events": [
    "STARTED",
    "RENEWED",
    "ENDED"
  ],
  "sharedToken": "ZtiSEjZsTNoczv8kvDgtSx5+YO017NOlM/mrqEMj2nnHXi+UfmCQvuqvZlI0eH3JJWrW1D3UDWM+GgK9sVfR0NNPIMwWNV+jcFehjDIMlVq05Ahf2/5tUT/W7qqiHWZy"
}
NOTE: When using Helio on mainnet, set your Base URL to https://api.hel.io and generate your API keys from moonpay.hel.io . For testnet, use https://api.dev.hel.io and generate your API keys from moonpay.dev.hel.io.

Authorizations

Authorization
string
header
required

Authentication using JWT token

Query Parameters

The ID of the pay link used to retrieve associated subscription webhooks.

apiKey
string
required

Your API key can be generated on the Helio Dashboard’s settings page.

Response

Retrieved webhook details

events
enum<string>[]
required
Available options:
STARTED,
RENEWED,
ENDED
id
string
required
company
string
required
targetUrl
string
required
sharedToken
string
required
creator
string