Generate Invite Code
Last updated
Was this helpful?
Last updated
Was this helpful?
/manager-truckers/{pk}/generate-invite-code/
curl -L \
--request POST \
--url 'https://api.dashdoc.eu/api/v4/manager-truckers/{pk}/generate-invite-code/' \
--header 'Authentication: YOUR_API_KEY'
{
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet",
"pk": 17293,
"username": "1b3b4c74-5f07-4f09-b18f-2753ffcf916e",
"display_name": "Adèle Bouvet",
"date_joined": "2025-02-18T13:36:07.550Z",
"last_login": "2025-02-18T13:36:07.550Z",
"has_usable_password": true
},
"phone_number": "text",
"carrier": {
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": true,
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": true,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": true,
"subscription_access": {},
"settings": {},
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"is_demo": true,
"is_carrier": true,
"is_shipper": true,
"is_origin": true,
"is_destination": true,
"created_by": 1,
"instructions": "text",
"radius": 500,
"coords_validated": false,
"created": "2020-07-30T21:10:06.44551Z",
"remote_id": "text"
},
"pk": 928,
"invoicing_remote_id": "COMP_456",
"account_type": "text",
"logo": "text",
"has_loggable_managers": true,
"managers": [
{
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text",
"pk": 928
}
]
},
"is_rented": true,
"phone_number_personal": "0601020304",
"address": "A random address 4 square Dashdoc",
"postcode": "44000",
"city": "Nantes",
"country_code": "FR",
"driving_license_number": "99 999 999",
"driving_license_deadline": "2020-12-22T15:31:39.26167Z",
"adr_license_deadline": "2020-12-22T15:31:39.26167Z",
"carrist_license_deadline": "2020-12-22T15:31:39.26167Z",
"occupational_health_visit_deadline": "2020-12-22T15:31:39.26167Z",
"pk": 23498,
"invite_code": "text",
"app_version": 180,
"readable_app_version": "2.7.7",
"platform": "ios",
"remote_id": "text",
"new_app_update_available": true,
"unavailability": [
{
"id": 928,
"remote_id": "tr123type1",
"created": "2020-07-30T21:10:06.44551Z",
"start_date": "2020-07-30T21:10:06.44551Z",
"end_date": "2020-07-30T21:10:06.44551Z",
"unavailability_note": "I'm on vacation",
"unavailability_type": "paid_vacation"
}
],
"events": [
{}
],
"tags": [
{
"name": "Remorque",
"pk": 23498
}
]
}
Invite code generated successfully