VTC Management

Create a VTC event

Changed on

Creates and publishes a VTC convoy or event (or a draft with isDraft: true). Members are invited, the VTC's Discord announcements and the event.created webhook fire, and the text goes through the same content checks as the website. Needs the write scope events.create.

post/vtcs/{id}/management/events

Request

  • Base URL
    https://api.trucklinemp.com
  • Auth
    HTTP bearer

Path parameters

idstring required

VTC id or handle.

Request body

namestring required
descriptionstring required
startAtstring date-time required
endAtstring date-time required
meetupAtstring date-time
game'ETS2'
serverstring
departureCitystring
departureLocationstring
arrivalCitystring
arrivalLocationstring
bannerstring uri
voiceLinkstring uri
externalLinkstring uri
languagestring
maxAttendeesinteger
requiredDlcsstring[]
category'convoy' | 'truckfest' | 'race' | 'tour' | 'shuttle' | 'service' | 'showcase' | 'meetup' | 'training' | 'social' | 'other'
accessMode'open' | 'members_only' | 'approval_required'
rosterVisibility'public' | 'attendees' | 'organizers'
isDraftboolean

Save as a draft instead of publishing.

Response

OK

idnumber required
namestring required
startAtstring required
endAtstring required
isDraftboolean required

Changes