Last updated 4 days ago
Was this helpful?
Create a new component for a status page
Status Page ID
Component created successfully
const response = await fetch('https://api.spike.sh/api/status-page/{statusPageId}/component/create', { method: 'POST', headers: { "x-api-key": "text", "Content-Type": "application/json" }, body: JSON.stringify({ "components": [ { "name": "text", "desc": "text" } ] }), }); const data = await response.json();