Peakmuv API — Overview

A complete reference for the Peakmuv REST API — manage contacts, send email, SMS and WhatsApp campaigns, handle appointments, and automate your workflows.

Use the Peakmuv REST API to manage contacts, send multi-channel campaigns (email, SMS, WhatsApp), handle appointments, and automate your communication workflows programmatically.


Authentication

All API requests require a Bearer token passed in the Authorization header. Obtain your API token from Settings → Account → API Keys in the Peakmuv dashboard.

🔑

Keep your API token secret. Never expose it in client-side code or public repositories.

curl -X GET "https://peakmuv.com/api/contacts" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"

Base URL

All endpoints are relative to:

https://peakmuv.com/api

Requests and responses use JSON. Set the Content-Type: application/json header on all POST, PUT, and PATCH requests.


API Modules



Request & Response Format

PropertyDetail
ProtocolHTTPS only
FormatJSON (application/json)
AuthAuthorization: Bearer <token>
Paginationpage and per_page query parameters (default per_page=20)
TimestampsISO 8601 — 2025-05-26T10:00:00Z

HTTP Status Codes

CodeMeaning
200Success
201Resource created
400Bad request — check your request body
401Unauthenticated — missing or invalid token
403Forbidden — plan limit reached or feature not available
404Resource not found
422Validation error — response includes field-level errors
500Server error

Example Error Response

{
  "message": "The given data was invalid.",
  "errors": {
    "email": ["The email has already been taken."]
  }
}

Rate Limiting

API requests are rate-limited per account. If you exceed the limit, the API returns a 429 Too Many Requests response. Implement exponential backoff in your retry logic.


Quick Start

Follow these steps to make your first API call:

  1. Get your token — Go to Settings → Account → API Keys and copy your Bearer token.
  2. List your contacts — Make a GET /api/contacts request to verify authentication.
  3. Create a contactPOST /api/contacts with name and email in the request body.
  4. Send a campaign — Create a campaign via POST /api/campaigns with action=send to dispatch immediately.
curl -X GET "https://peakmuv.com/api/contacts?page=1&per_page=10" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Accept: application/json"
{
  "data": [
    {
      "id": 1,
      "name": "Jane Doe",
      "email": "[email protected]",
      "status": "subscribed",
      "created_at": "2025-05-01T09:30:00Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "per_page": 10,
    "total": 1
  }
}

Explore the Full Reference


Did this page help you?