Last updated 9 months 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/{apiKeyWebhookId}', { method: 'GET', headers: { "api-key": "text" }, }); const data = await response.json();
const response = await fetch('/v1/api-keys/check', { method: 'GET', headers: { "api-key": "text" }, }); const data = await response.json();
{ "email": "text", "name": "text" }
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" }