API Overview
The pepe.business REST API is organized into 9 main resources, totaling 439 endpoints.
Base URL
https://api.pepe.business/v1
Authentication
All requests require an Authorization: Bearer header:
Authorization: Bearer pk_live_xxxxxxxx
Format
- Requests: JSON (
Content-Type: application/json) - Responses: JSON
- Dates: ISO 8601 UTC (
2026-07-13T10:00:00Z) - IDs: prefixed by type (
post_,acc_,prof_)
Resources
| Resource | Endpoints | Description |
|---|---|---|
profiles | 5 | Multi-tenant workspaces |
accounts | 8 | Connected accounts |
connect | 9 | OAuth flow |
posts | 10 | Multi-channel publishing |
queue | 6 | Scheduling |
media | 4 | Upload |
messages | 11 | Unified DMs |
comments | 8 | Comments |
analytics | 12 | Metrics |
ads | 18 | Ads |
phone-numbers | 9 | Telephony |
voice | 7 | Calls |
sms | 6 | SMS |
webhooks | 6 | Webhooks |
api-keys | 3 | Key management |
Versioning
The API is versioned in the URL (/v1). Breaking changes require a major version bump with 90 days of migration.
Pagination
List endpoints use cursor pagination:
GET /v1/posts?limit=20&cursor=post_xxx
{
"data": [...],
"nextCursor": "post_yyy",
"hasMore": true
}
Errors
See Error Handling.