/api/partner/v1/driversCreate or update driver
Create or update a driver (renter), optionally with license images.
Send as multipart/form-data so the optional license images ride along in one call. Pass userId to update an existing driver (for example to attach images later); omit it to create — in which case firstName, lastName and email are required.
Authorization
X-Api-Key headerSend your partner key on every request. The key is bound to exactly one owner account.
Body
multipart/form-dataMultipart form. firstName/lastName/email required unless userId is set (update).
userIdstringSet to update an existing driver; omit to create. Our id or your external id.
externalIdstringYour own driver id — recorded so you can use it everywhere.
firstNamestringlastNamestringemailstring <email>companyNamestringBusiness renter — stored as the driver's company.
phoneNumberstringaddressstringaddress2stringcitystringstatestringzipCodestringcountrystringdateOfBirthstringe.g. 1990-05-21
driverLicenseIdstringdriverLicenseIssuingStatestringdriverLicenseExpirationDatestringlanguagestringsmsConsentbooleantruefrontSideImagefileOptional front-of-license image.
backSideImagefileOptional back-of-license image (PDF417).
Response
200 · application/jsonsuccessbooleanrequireddataobjectuserIdstringexternalIdstringnullableYour own driver id
firstNamestringnullablelastNamestringnullablemiddleNamestringnullableComes from the licence document; not settable.
companyNamestringnullableemailstringnullableemailConfirmedbooleanphoneNumberstringnullableE.164.
addressLine1stringnullableaddressLine2stringnullablecitystringnullablestatestringnullablezipCodestringnullablecountrystringnullabledateOfBirthstringnullableyyyy-MM-dd
languagestringnullabledriverLicenseIdstringnullabledriverLicenseIssuingStatestringnullabledriverLicenseExpirationDatestringnullableyyyy-MM-dd
frontSideImageUrlstring <uri>nullablebackSideImageUrlstring <uri>nullablelicenseobjectOnly on the single-driver read; omitted from list rows.
hasCardbooleanA card is on file. Use GET /drivers/{driverId}/card for whether it is usable.
smsConsentbooleanFalse once the driver replied STOP.
bookingCountintegerHow many bookings this driver has with you.
createdAtUtcstring <date-time>updatedAtUtcstring <date-time>errorstringnullable