Перейти к содержимому

Developer Platform Overview

Это содержимое пока не доступно на вашем языке.

TrucklineMP offers a developer platform for third-party integrations. You can read public platform data through the Public API, identify users with OAuth 2.0, and receive real-time updates through webhooks.

This documentation covers concepts and workflows. For the full list of endpoints, request shapes, and response schemas, use the interactive API reference on the main site.

IntegrationBest for
Public APIBots, dashboards, stats sites, and tools that read VTCs, events, news, users, and moderation data
OAuth appsApps that sign users in with their TrucklineMP account and read scoped profile data
WebhooksServices that react to platform events (member joins, bans, RSVPs, and more)
  1. Create a TrucklineMP account at trucklinemp.com.
  2. Enable Developer Mode in Account Settings → Security → Developer Mode → Activate.
  3. Open the Developer Console from the navbar or your security settings.

Developer Mode unlocks the console. It does not grant elevated API permissions on its own. Public API endpoints remain read-only. OAuth scopes control what user data your app can access after a user authorizes it.

  1. In the Developer Console, create a project.
  2. Generate an API key (tl_... prefix). Copy it when shown. It cannot be viewed again.
  3. Send a request with your key:
Terminal window
curl -H "Authorization: Bearer tl_YOUR_API_KEY" \
"https://api.trucklinemp.com/vtcs"
  1. Try endpoints interactively in the API Playground.

Public read endpoints work without an API key. Keys raise your rate limits and attach usage to your project for analytics.

  1. In the Developer Console, go to OAuth Apps and create an app.
  2. Set redirect URIs and scopes on the OAuth settings page.
  3. Copy the install link from the app overview (or build your own authorize URL).
  4. While the app is unpublished, add test users so others can authorize it during development.
  5. When ready, complete domain verification and publish through the Publishing page.

See OAuth Apps for the full authorization flow, PKCE, and publishing rules.

The canonical endpoint reference is generated from the live OpenAPI spec:

ResourceURL
OpenAPI JSONtrucklinemp.com/api/v1/openapi.json
ReDoctrucklinemp.com/developers/redoc
Swagger UItrucklinemp.com/developers/swagger
Console docstrucklinemp.com/developer/docs
Playgroundtrucklinemp.com/developer/playground
GuideTopics
Public APIAuthentication, base URLs, rate limits, endpoint overview
OAuth AppsAuthorization flow, scopes, test users, PKCE, publishing
WebhooksSubscriptions, signatures, retries, event catalog

API usage is logged for rate limiting, abuse prevention, and analytics. See the Privacy Policy for how telemetry is handled.

OAuth apps must provide a privacy policy URL and should provide a terms of service URL before publishing.