PaidGoods
API referenceNotifications

Save sealed Telegram credentials and events

PUT
/v1/stores/{storeId}/notifications/telegram

Authorization

AuthorizationBearer <token>

API key from Settings → API keys

In: header

Path Parameters

storeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PUT "https://example.com/v1/stores/string/notifications/telegram" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "events": [      "string"    ]  }'
{  "configured": true,  "enabled": true,  "events": [    "string"  ],  "endpointId": "c8d2c7e1-e4b1-4108-9e29-3429a36a1ef3"}