Skip to main content
GET
Node.js SDK

Authorizations

Authorization
string
header
required

API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → Developers → API Keys.

Path Parameters

id
string
required

Campaign ID

Response

Campaign stats

success
boolean
required
data
object

Aggregate engagement stats for a campaign. Sourced from the tracking worker; may be cached and slightly stale.

error
string | null