Base URL
All API endpoints are available at:API Modules
The Jmpy.me API is organized into the following modules:Short URLs
Create, manage, and track short URLs with custom aliases and branded domains
QR Codes
Generate dynamic QR codes with visual customization
Domains
Manage subdomains and branded domains
Campaigns
Organize links into marketing campaigns
Analytics
Access click analytics for short URLs
QR Analytics
Track QR code scan analytics
A/B Testing
Create and manage A/B tests for URLs and QR codes
Request Format
Headers
All requests must include:| Header | Value | Required |
|---|---|---|
Authorization | Bearer YOUR_API_KEY | Yes |
Content-Type | application/json | For POST/PUT/PATCH |
Request Body
For endpoints that accept data, send JSON in the request body:Response Format
All responses follow a consistent structure:Success Response
Error Response
Pagination
List endpoints support pagination with these query parameters:| Parameter | Type | Default | Description |
|---|---|---|---|
page | integer | 1 | Page number |
limit | integer | 20 | Items per page (max 100) |
sort | string | created_at | Sort field |
order | string | desc | Sort order (asc or desc) |
Example
Filtering
Many endpoints support filtering with query parameters:Common Fields
Timestamps
All resources include timestamp fields:| Field | Format | Description |
|---|---|---|
created_at | ISO 8601 | When the resource was created |
updated_at | ISO 8601 | When the resource was last modified |