Last updated 1 year ago
Default if null: print.failed, print.completed
const response = await fetch('/v1/api-keys/webhook/unsubscribe/{apiWebhookId}', { method: 'DELETE', headers: { "api-key": "text" }, }); const data = await response.json();
const response = await fetch('/v1/api-keys/webhook/subscribe', { method: 'POST', headers: { "api-key": "text", "Content-Type": "application/json" }, body: JSON.stringify({ "url": "text" }), }); const data = await response.json();
{ "webhookId": "text" }