Step 1: Get API Key
The API key is the only credential required to access Gitruck Cloud public APIs. You first copy it from the Dashboard, then pass it directly in the Authorization header.
Get Your API Key
- Visit Gitruck Cloud and sign in.
- Open the Dashboard from the top navigation.
- Locate the "API Key" section and click Show.
- Copy the API key and store it securely.
⚠️ Warning: The current backend expects
Authorization: API_KEY. Do not prependBearer.
Correct Authentication Format
Authorization: YOUR_API_KEY
curl -X POST https://api.ai-mcn.tv:10000/base/file/upload \
-H "Authorization: YOUR_API_KEY" \
-F "file=@/path/to/file.mp4"
Reset Your API Key
If the key is exposed:
- Go back to the Dashboard.
- Find the "API Key" section.
- Click Reset.
- Replace the old key everywhere in your integration.
FAQ
Q: Why do I still get 6502?
Check these three items first:
- The header name must be
Authorization - The value must be the raw API key, not
Bearer YOUR_API_KEY - The key must not contain extra spaces, line breaks, or an outdated value
Q: Does the API key expire?
Based on the current backend implementation, the API key itself does not expire. Failures are more often caused by an invalid key, a reset key, or insufficient balance / quota.