Skip to main content

API Reference

The Hober REST API base URL is https://api.hober.io.

Authentication

Three mechanisms, depending on the surface — see Authentication & API Keys for the full reference:

MechanismHeaderUsed by
SDK key (publishable)X-SDK-Key: sk_…Device registration, subscriber upsert, interaction reporting, in-app delivery
Server key (secret)Authorization: Bearer hober_srv_…Event ingestion, event export, webhooks
Dashboard token (JWT)Authorization: Bearer …Management surfaces: notifications, campaigns, journeys, segments, channels, insights, imports

Endpoints

AreaBase pathAuth
SubscribersPOST /api/v1/subscribers/upsert · DELETE /api/v1/subscribers/:idSDK key · dashboard token
Devices/api/v1/devicesSDK key
Notifications/api/v1/notificationsDashboard token
Templates/api/v1/templatesDashboard token
Schedules/api/v1/schedulesDashboard token
Events/v1/eventsServer key (or client tier)
Campaigns/api/v1/campaignsDashboard token
Journeys/api/v1/journeysDashboard token
Segments/api/v1/segmentsDashboard token
In-App Messages/api/v1/in-app/* · /v1/in-app/* (SDK)Dashboard token · SDK key
Channels/api/v1/channelsDashboard token
Analytics & Insights/api/v1/insights · /api/v1/annotationsDashboard token
Imports & Exports/api/v1/lists/import · /v1/events/exportDashboard token · server key

Error envelopes, status codes, and rate limits are documented in Errors & Rate Limits.