cURL
curl --request PUT \ --url https://sdk-api.playcamp.io/v1/server/webhooks/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "isActive": true, "retryCount": 5, "timeoutMs": 15500 } '
{ "data": { "id": 123, "eventType": "coupon.redeemed", "url": "<string>", "isActive": true, "retryCount": 123, "timeoutMs": 123, "createdAt": "2023-11-07T05:31:56Z" } }
Server API Key (format: {keyId}:{secret})
0 <= x <= 10
1000 <= x <= 30000
Success
Webhook configuration (secret is only returned on creation)
Show child attributes