REST API · v1

CampusPulse API

All you need to build on top of the CampusPulse platform — events, passes, queues, food operations and webhooks.

POST/v1/auth/magic-link

Send magic link

Sends a sign-in link to the provided email.

Request
curl -X POST https://api.campuspulse.app/v1/auth/magic-link \
  -H "Authorization: Bearer $CP_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "ok": true,
  "data": { /* resource */ },
  "request_id": "req_8u2x91"
}
Auth
Bearer JWT
Rate limit
600 req/min
Idempotency
X-Idem-Key
Webhook example payload
event.scan.completed
{
  "topic": "event.scan.completed",
  "data": {
    "event_id": "e_2412",
    "pass_code": "CP-AX-2412",
    "scanned_by": "u_volunteer_31",
    "scanned_at": "2026-06-05T14:21:08Z"
  },
  "signature": "sha256=8e2bf…"
}
SDKs & quick links
JavaScript / TS
Typed client with auto-retry and webhook helpers.
Install
Python
Typed client with auto-retry and webhook helpers.
Install
Go
Typed client with auto-retry and webhook helpers.
Install