Documentation

Everything you need to integrate MeshQA into your workflow

Authentication

Learn how to authenticate your API requests.

API Keys

All API requests require authentication using an API key. API keys are available for Starter, Pro, and Enterprise plans.

Your API key should be included in the Authorization header using the Bearer scheme:

curl -X POST https://meshqa.vercel.app/api/v1/validate \
  -H "Authorization: Bearer mqk_your_api_key" \
  -F "file=@model.glb"

Creating an API Key

  1. Log in to your MeshQA account
  2. Navigate to the API Keys section in your profile
  3. Click "Create New Key"
  4. Copy the key and store it securely (it won't be shown again)

Key Format

MeshQA API keys follow this format:

mqk_[32 random alphanumeric characters]

Example: mqk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6

Security Best Practices

  • Never commit API keys to version control
  • Use environment variables to store keys
  • Rotate keys periodically
  • Revoke compromised keys immediately
  • Use different keys for development and production

Error Responses

Authentication errors return a 401 status code:

{
  "error": "Missing Authorization header. Use: Authorization: Bearer <api_key>",
  "code": "MISSING_API_KEY"
}

Common authentication errors:

CodeDescription
MISSING_API_KEYNo Authorization header provided
INVALID_API_KEYThe API key is invalid or malformed
API_KEY_REVOKEDThe API key has been revoked
API_KEY_EXPIREDThe API key has expired
MeshQA - 3D Asset Validation Service