List of REST API Endpoints in Init User Engine

The Init User Engine plugin provides a set of REST API endpoints under the namespace /wp-json/inituser/v1/. These endpoints handle key user features like daily check-in, reward claiming, EXP logs, wallet transactions, inbox messages, VIP purchase, referral tracking, and avatar management.

List of REST API Endpoints in Init User Engine

1. POST /checkin

Performs daily check-in. Returns the reward if successful.

2. POST /claim-reward

Claims a reward after the user has been online for a required amount of time.

3. GET /transactions

Retrieves the user’s coin/cash transaction history.

4. GET /exp-log

Returns the user’s EXP activity log.

5. GET /inbox

Fetches the list of inbox messages.

6. POST /inbox/mark-read

Marks a specific message as read. Requires message ID in the JSON body.

7. POST /inbox/mark-all-read

Marks all inbox messages as read.

8. POST /inbox/delete

Deletes a specific inbox message.

9. POST /inbox/delete-all

Deletes all messages in the inbox.

10. POST /vip/purchase

Purchases a VIP package. Requires a JSON body like: { "days": 30 }.

11. GET /referral-log

Returns the list of users who signed up using your referral code.

12. POST /avatar

Uploads a new custom avatar. Must be sent via multipart/form-data.

13. POST /avatar/remove

Removes the current custom avatar and reverts to the default.

14. GET /profile/me

Retrieve the current user’s profile information.

15. POST /profile/update

Update user profile data including display name, bio, password, social links, website, and gender.

Notes

  • All endpoints require the user to be logged in with a valid X-WP-Nonce header.
  • All responses are returned as standard JSON objects.
  • No admin-specific endpoints are exposed. Admin tools like sending notifications or managing wallet balances are handled via the wp-admin interface only.

Comments


  • No comments yet.

Init Toolbox

Press Ctrl + \ on desktop, or swipe left anywhere on mobile.

Login