QuickFiller API - Testing Dashboard

Test all API endpoints with ease

📋 System Information

Encryption: AES-256-CBC

Database: MySQL (QuickFiller.sql)

Features: User Authentication, Templates, Automations, Payments, Audit System

💡 Tip: Click on any section below to expand and test APIs

📊 Check API Status

Test Connection

Check if the API server is running and responding

🔐 User Authentication

📝 Register New User

🔓 Login


🔑 Forgot Password

You will receive a 6-digit OTP code

🔐 Reset Password


� Debug Tests (Live Server Troubleshooting)

💡 Use these to check if DELETE method works on your server

These tests help diagnose 403 errors on live server


�🗑️ Delete User Account

⚠️ Warning: This will permanently delete the user account. You must be logged in first.


✉️ Delete User by Email

⚠️ Warning: This will permanently delete the user account by email. You must be logged in first.

👤 User Profile

Get My Profile

⚠️ You must be logged in first

📝 Templates

📥 Get My Templates

⚠️ Login required

💾 Save Templates

🤖 Automations API

Get Automations

Endpoint: GET /api/automations

💾 Save Automations

📢 System Announcements

Get Current Announcement

💳 Payments API

Get User Payments

Endpoint: GET /api/payments

Get All Payments (Admin)

Endpoint: GET /api/payments/all

Create Payment

Endpoint: POST /api/payments

Update Payment Status

Endpoint: PUT /api/payments/{id}/status

Get Payment Statistics

Endpoint: GET /api/payments/stats/summary

Get Successful Payments

Endpoint: GET /api/payments/successful

🤖 ChatGPT Usage & Credits

💡 ChatGPT Usage Management

Features: Plan-based credit limits, usage tracking, automatic resets

Plans: Free (50/month), Pro (500/month), Enterprise (unlimited)

Check Usage Before API Call

POST
/api/chatgpt/check-usage

Check if user has credits available before making ChatGPT API call

Track Usage After API Call

POST
/api/chatgpt/track-usage

Get Usage Statistics

GET
/api/usage/stats

💳 Subscription Management

📋 Subscription Features

Plans: Free, Pro ($9.99), Enterprise ($29.99)

Features: Plan upgrades, webhook integration, payment site redirect

Get Subscription Info

GET
/api/subscription/info

Get current user's subscription details and usage

Get Available Plans

GET
/api/subscription/plans

List all available subscription plans with features

Generate Upgrade URL

GET
/api/subscription/upgrade-url

Test Webhook (Subscription Updated)

POST
/api/webhooks/subscription-updated
⚠️ Note: This endpoint requires a webhook secret header (X-Webhook-Secret)

📊 Audit Testing

🔍 Audit System Features

Audit Tables: users_edit, users_delete

Triggers: before_users_update, before_users_delete

Functionality: Automatically logs all user changes and deletions

Safety: Cannot delete currently logged-in user

Test User Update (Creates Audit Record)

Endpoint: POST /api/test/audit-update

View Audit Records

Endpoint: GET /api/test/audit-records

⚠️ Destructive Test - User Deletion

Endpoint: POST /api/test/audit-delete
Warning: This will actually DELETE a user record!

📧 User Invitations & Emails

💡 Send User Invitations

Purpose: Invite users to collaborate. Supports both existing and new users.

Email: Configured with Gmail SMTP (gmail.com)

✉️ Send Invitation Email

⚠️ You must be logged in first

📋 Get My Sent Invitations

👥 Team Management (Workspace Members)

🏢 Manage Workspace Team Members

Roles: Owner (auto-assigned) | Admin | Editor | Viewer

Note: A workspace is auto-created on registration. Must be logged in as workspace owner to invite/remove.

📋 Get Team Members

✉️ Invite Team Member

🔄 Update Member Role

📧 Resend Invite

🗑️ Remove Team Member

🔗 Template & Folder Sharing (With Permissions)

🎯 Share Templates & Folders with Permission Roles

Roles Available:

  • Admin: View, Edit, Delete, Add new items ✅✅✅✅
  • Editor: View, Edit only ✅✅
  • Viewer: View only ✅

Email: Emails sent to both existing and new users with registration link

🔗 Share Template with User

⚠️ You must be logged in first


📤 Get Shares Sent by Me

View all templates you've shared with others

📥 Get Shares Received by Me

View all templates shared with you


🔄 Update Share Permission


🚫 Revoke Share Access


📜 Get Template Version History

Database triggers automatically capture version history before edits/deletes