The myCred Rest API plugin bridges the gap between your WordPress loyalty program and the rest of your digital ecosystem. By extending the core functionality of myCred, this add-on allows your website to communicate seamlessly with external applications, mobile apps, and third-party services. Whether you are looking to reward users for actions taken outside of your WordPress site or need to display real-time point balances in a custom dashboard, this plugin provides the secure, standardized connection required to scale your gamification strategy beyond the browser.
Key Features
- Full API Integration: Gain programmatic access to your myCred point system, allowing external services to query, add, or deduct points from user accounts.
- Secure Authentication: Built with industry-standard security practices to ensure that only authorized applications can interact with your point data.
- Developer-Friendly Endpoints: Access well-documented API endpoints that make it easy for your development team to integrate point balances and transaction history into custom mobile or web applications.
- Real-Time Synchronization: Ensure that user point balances are updated instantly, regardless of whether the action occurred within WordPress or through an external API call.
- Flexible Data Handling: Retrieve detailed user information, including current balances, point types, and recent log entries, to create personalized experiences across all your platforms.
- Seamless Compatibility: Designed specifically for the myCred ecosystem, ensuring that your existing point types, hooks, and settings remain fully functional while the API is active.
Use Cases and Who It’s For
This plugin is essential for business owners, enterprise-level developers, and platform architects who need to move beyond a siloed WordPress experience. If you are running a loyalty program and want to incentivize behavior across multiple touchpoints, this tool is for you.
Mobile App Developers: If you have a companion mobile app for your WordPress site, you can use this API to display loyalty points to users within the app interface, keeping your brand top-of-mind without requiring users to log into your website.
SaaS and Third-Party Integrations: If your business uses external CRM, marketing automation, or customer support platforms, you can use the API to trigger point awards based on external events, such as a customer completing a support ticket or interacting with an email campaign.
Multi-Platform Ecosystems: For organizations managing multiple web properties, this plugin allows you to centralize your loyalty program. You can maintain a single “source of truth” for user points in WordPress while allowing your other web applications to read and write to that balance.
Setup and How It Works
Getting started with the myCred Rest API is designed to be straightforward for those familiar with WordPress development.
- Install and Activate: Install the plugin via your WordPress dashboard and activate it to unlock the API functionality within your myCred installation.
- Configure Permissions: Navigate to the myCred settings area to define which API endpoints are accessible and establish authentication keys.
- Generate Credentials: Create secure API keys that your external applications will use to authenticate requests.
- Connect Your App: Use your preferred development environment to send HTTP requests to the provided endpoints. The API handles the communication, ensuring that points are correctly calculated and logged in your WordPress database.
Similar Plugins
While myCred offers a unique ecosystem for WordPress gamification, developers looking for broader API connectivity for their sites may also consider the following options:
- WP REST API (Core): The native WordPress REST API, which serves as the foundation for many custom integrations, though it requires significant custom coding to handle loyalty-specific logic.
- Generic Webhooks Plugins: Various WordPress webhook plugins can be used to send data out when a point change occurs, though these are typically one-way and do not provide the full bidirectional control offered by the myCred Rest API.
