cURL
curl --request POST \ --url https://www.lettucestream.com/api/webhooks/subscriptions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "url": "<string>", "events": [ "<string>" ], "description": "<string>", "secret": "<string>" } '
{ "subscription": { "id": "<string>", "url": "<string>", "events": [ "<string>" ], "description": "<string>", "enabled": true, "createdAt": "<string>", "updatedAt": "<string>" }, "secret": "<string>" }
Creates a webhook subscription for the authenticated user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Webhook subscription and optional secret
Show child attributes