
API endpoint in action - successful response
AYR SEO Bridge is a professional plugin developed specifically for AYR Creations clients. It creates secure REST API endpoints that allow automation platforms to update SEO metadata in WordPress sites.
This plugin is designed for use with AYR Creations automation services and workflows.
Supported SEO Plugins:
* Yoast SEO
* Rank Math SEO
* All in One SEO (AIOSEO)
* SEOPress
Key Features:
* 🔒 Secure Authentication: Uses WordPress Application Passwords
* 🛡️ Rate Limiting: Prevents abuse with built-in protection
* 📝 Focus Keywords: Automatically set focus keywords for posts
* 📄 Meta Descriptions: Automatically set meta descriptions
* 🔄 Multi-Plugin Support: Works with all major SEO plugins
* 🌐 Translation Ready: Fully internationalized
* 🔗 REST API: Clean, documented API endpoints
API Endpoints:
* POST /wp-json/ayrseo/v1/update – Main endpoint for updating SEO metadata
* POST /wp-json/custom/v1/update-yoast-meta – Legacy endpoint for backward compatibility
Required Parameters:
* post_id (integer) – The ID of the post to update
* focus_keyword (string, optional) – The focus keyword to set
* meta_description (string, optional) – The meta description to set
Authentication:
This plugin requires authentication using WordPress Application Passwords. Users must have the edit_posts capability to use the API.
Support Policy:
This plugin is provided for AYR Creations clients as part of our automation services. Public support is not provided – if you are not an AYR Creations client and need assistance, please contact us about our services.
Perfect for:
* AYR Creations automation workflows
* Client websites with custom SEO automation needs
* Professional content management systems
* Headless WordPress implementations
Developer Notes
API Usage Example:
`bash
curl -X POST https://yoursite.com/wp-json/ayrseo/v1/update \
-H “Content-Type: application/json” \
-H “Authorization: Basic base64(username:app_password)” \
-d ‘{
“post_id”: 123,
“focus_keyword”: “wordpress seo”,
“meta_description”: “Learn how to optimize your WordPress site for SEO.”
}’
`
Successful Response:
json
{
"success": true,
"plugin_detected": "yoast",
"post_id": 123,
"post_title": "Sample Post",
"focus_keyword": "wordpress seo",
"meta_description": "Learn how to optimize your WordPress site for SEO.",
"timestamp": "2024-01-15 10:30:45"
}
Error Response:
json
{
"code": "invalid_post",
"message": "The specified post does not exist",
"data": {
"status": 404
}
}
For more detailed documentation and examples, visit: https://ayrcreations.com/