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.
New Tracking Endpoints: We've added new tracking endpoints for sales:
/track/sales/with-visitor-id - Track sales using visitor ID/track/sales/with-affiliate-id - Track sales using affiliate ID
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.