Hooks, filters, REST endpoints, and WP-CLI commands for extending Payges.
Payges exposes a REST API under the /wp-json/payges/v1/ namespace. Authentication uses standard WordPress application passwords or cookie authentication.
Payges provides action and filter hooks at every stage of the publishing pipeline. Key actions include payges_before_publish, payges_after_publish, payges_document_parsed, and payges_fields_mapped. Key filters include payges_field_mapping, payges_seo_metadata, and payges_template_config.
Payges includes WP-CLI commands for automated workflows. Use wp payges publish <file> to publish a document from the command line, wp payges batch <csv> for batch processing, and wp payges status to check your subscription and usage.
Payges can send webhook notifications for key events: document published, batch completed, publishing failed, and subscription changes. Configure outgoing webhooks from the Payges settings panel.
Template helpers are available for theme developers: payges_get_plans() returns all active subscription plans, payges_get_subscription() returns the current user's subscription, and payges_get_page_image() retrieves replaceable page images.
Join hundreds of teams using AI-powered publishing to save time, reduce errors, and scale content production. Get started in minutes.
No credit card required · 14-day free trial · Cancel anytime