Home Scalar UI Swagger UI

Post Affiliate Pro API Documentation

Welcome to CP wrapper API for the Post Affiliate Pro API documentation. This API provides endpoints for managing affiliates, campaigns, transactions, and tracking. Choose one of the documentation formats below to explore the API.

Recent Updates

New Tracking Endpoints: We've added new tracking endpoints for sales:

Documentation Structure

The API documentation is maintained as separate YAML files and bundled together using the Redocly CLI. If you need to update the documentation, modify the individual YAML files in the api/docs/swagger/ directory and then run the bundle script:

./api/docs/generate-openapi-bundle.sh

This will generate the openapi-bundle.yaml file that is used by both Swagger UI and Scalar UI.

Scalar UI

Modern, responsive API reference documentation with a clean interface. Recommended for most users.

View in Scalar UI

Swagger UI

Interactive documentation that allows you to try out API calls directly. Best for developers and testing.

View in Swagger UI