StreamifyDocs

API Reference

Streamify REST API and webhook reference for developers building integrations.

API Reference

Streamify provides REST API endpoints for integrations, webhooks, and programmatic access to platform data.

Authentication

All API requests require a bearer token:

Authorization: Bearer YOUR_API_KEY

Generate API keys from Settings → Developer → API Keys in your dashboard.

Webhooks

Streamify sends webhook events to your configured endpoint for all key platform events.

Configuring webhooks

  1. Go to Settings → Developer → Webhooks
  2. Add your endpoint URL
  3. Select the events to subscribe to
  4. Save — Streamify will send a test event immediately

Signature verification

Every webhook request includes a Streamify-Signature header. Verify it to ensure the request is authentic:

import crypto from "node:crypto";

function verifyWebhookSignature(payload: string, signature: string, secret: string): boolean {
  const expected = crypto.createHmac("sha256", secret).update(payload).digest("hex");
  return crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
}

Webhook events

EventDescription
subscription.createdA viewer starts a subscription
subscription.updatedSubscription plan changes or renews
subscription.cancelledSubscription is cancelled
subscription.expiredSubscription reaches end date without renewal
payment.succeededOne-time payment or renewal succeeds
payment.failedPayment attempt fails
invoice.createdAn invoice is generated
viewer.createdA new viewer registers
viewer.updatedViewer profile updates
video.publishedA video goes live
livestream.startedLive stream begins
livestream.endedLive stream ends

Rate limits

API endpoints are rate-limited per API key:

TierRequests per minute
Standard60
Pro300
EnterpriseCustom

Rate limit headers are included in every response:

  • X-RateLimit-Limit — requests allowed per window
  • X-RateLimit-Remaining — requests remaining
  • X-RateLimit-Reset — Unix timestamp when window resets