Drivers
Bulk Create
Integrations
Auth
Fleet
- Settings
- ServiceTypes
- Regions
- GETList
- GETGet
- POSTCreate
- PUTUpdate
Tolls
Integrations
- Fleet Active Integrations
- Logs
- GETList
Drivers
- Driver-agreements
- POSTAdd
- GETList
- POSTBulk Create
Drivers
Bulk Create
Creates multiple drivers in system
POST
/
v2
/
drivers
/
bulk
curl --request POST \
--url https://api.app.fleetit.com/v2/drivers/bulk/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"driver_id": "DUMMY12345",
"first_name": "John",
"last_name": "Doe",
"address_line_1": "123 Main Street",
"address_line_2": "Apt 4B",
"city": "New York",
"state": "NY",
"zip": "10001",
"contact_number": "1234567890",
"email": "john.doe@example.com"
},
{
"driver_id": "DUMMY67890",
"first_name": "Jane",
"last_name": "Smith",
"address_line_1": "456 Elm Street",
"address_line_2": "Apt 5C",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"contact_number": "9876543210",
"email": "jane.smith@example.com"
}
]'
[
{
"id": 101,
"driver_agreements": [],
"driver_id": "DUMMY12345",
"first_name": "John",
"last_name": "Doe",
"address_line_1": "123 Main Street",
"address_line_2": "Apt 4B",
"city": "New York",
"state": "NY",
"zip": "10001",
"contact_number": "1234567890",
"email": "john.doe@example.com"
},
{
"id": 102,
"driver_agreements": [],
"driver_id": "DUMMY67890",
"first_name": "Jane",
"last_name": "Smith",
"address_line_1": "456 Elm Street",
"address_line_2": "Apt 5C",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"contact_number": "9876543210",
"email": "jane.smith@example.com"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json ยท object[]
The body is of type object[]
.
Response
200 - application/json
Successful response
The response is of type object[]
.
Was this page helpful?
curl --request POST \
--url https://api.app.fleetit.com/v2/drivers/bulk/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"driver_id": "DUMMY12345",
"first_name": "John",
"last_name": "Doe",
"address_line_1": "123 Main Street",
"address_line_2": "Apt 4B",
"city": "New York",
"state": "NY",
"zip": "10001",
"contact_number": "1234567890",
"email": "john.doe@example.com"
},
{
"driver_id": "DUMMY67890",
"first_name": "Jane",
"last_name": "Smith",
"address_line_1": "456 Elm Street",
"address_line_2": "Apt 5C",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"contact_number": "9876543210",
"email": "jane.smith@example.com"
}
]'
[
{
"id": 101,
"driver_agreements": [],
"driver_id": "DUMMY12345",
"first_name": "John",
"last_name": "Doe",
"address_line_1": "123 Main Street",
"address_line_2": "Apt 4B",
"city": "New York",
"state": "NY",
"zip": "10001",
"contact_number": "1234567890",
"email": "john.doe@example.com"
},
{
"id": 102,
"driver_agreements": [],
"driver_id": "DUMMY67890",
"first_name": "Jane",
"last_name": "Smith",
"address_line_1": "456 Elm Street",
"address_line_2": "Apt 5C",
"city": "Los Angeles",
"state": "CA",
"zip": "90001",
"contact_number": "9876543210",
"email": "jane.smith@example.com"
}
]