MTI API Tester

Interactive testing environment for the MetaTravel.ai API endpoints

Home Token Generator Checking Connection...

Quick Start Guide

Follow these steps to test API endpoints effectively

📋 Basic Testing Steps

  1. 1 Click any endpoint from the sidebar to load it into the request panel
  2. 2 For authenticated endpoints, get a token using the register/login endpoints first
  3. 3 Modify request parameters as needed
  4. 4 Send the request and view the response

🔑 Authentication Flow

  1. Step 1: Use the Register endpoint to create a test account
  2. Step 2: Use the Login endpoint with your credentials
  3. Step 3: Copy the token from the login response
  4. Step 4: Paste it in the Bearer Token field above

💡 Pro Tip: Use unique email addresses for testing (e.g., [email protected])

Troubleshooting Tips

  • • Ensure your Laravel server is running with php artisan serve
  • • All endpoints use the /api/v1/ prefix
  • • Check browser console (F12) for detailed error messages
  • • For 404 errors, verify the endpoint path is correct
  • • For 401 errors, ensure your token is valid and not expired
  • • For 422 errors, check your request parameters format

Authentication

User & Profile

Network & Referrals

Admin & Testing

API Request Builder

Configure and send API requests

GET
/api/v1/user

How to get an authentication token:

  1. 1. Click "Register" to create a test account (use unique email)
  2. 2. Click "Login" with your credentials
  3. 3. Copy the "access_token" from the response
  4. 4. Paste it in the field above

Parameters will be automatically populated when you select an endpoint

API Response

Server response and debugging information

Waiting for response... Response time: -

Response Body

Response will appear here

Select an endpoint and click "Send Request"