/identity/v1/drivers/{driverId}/archiveArchives the driver by removing all PII related to the driver.
WARNING! This action is potentially dangerous and irreversible!
driverIdstringrequired
The ID of the driver to be archived
OK
{
"data": {
"id": "string",
"network": "string",
"name": {
"first": "string",
"last": "string"
},
"contactDetails": {
"phone": "string",
"email": "string"
},
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v2/drivers/attach-sitepartnerCreates a relationship between a driver and a site partner.
Either tokenId or driverId must be provided, but not both.
sitePartnerIdstringrequired
tokenIdstringdriverIdstring{
"sitePartnerId": "string",
"tokenId": "string",
"driverId": "string"
}The driver has been attached to the site partner.
{
"data": {
"driverId": "string",
"sitePartnerId": "string",
"networkId": "string",
"status": "ATTACHED",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v1/driversThis endpoint retrieves a list of all drivers available to the authenticated user.
limitstringThe maximum number of drivers to return (default 20, maximum 100)
startingAfterstringThe ID of the last driver in the previous page of results. Results will start after this driver
emailstringThe email of the driver to search for
A list of drivers
{
"data": {
"hasMore": true,
"items": [
{
"id": "string",
"network": "string",
"name": {
"first": "string",
"last": "string"
},
"contactDetails": {
"phone": "string",
"email": "string"
},
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
]
}
}/identity/v1/driversThis endpoint creates a new driver
This action is not enabled by default. You must request additional permissions to perform this action.
nameobjectThe name of the driver
firststringlaststringphysicalAddressobject (PhysicalAddress)Physical address details
streetNumberstringrequired
streetNamestringrequired
streetDetailsstringcitystringrequired
statestringrequired
postalCodestringrequired
countryCodestringrequired
contactDetailsobjectrequired
At least one of "email" or "phone" is required.
emailstringphonestringnetworkstringThe network associated with the driver
{
"name": {
"first": "string",
"last": "string"
},
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"email": "string",
"phone": "string"
},
"network": "string"
}A new driver has been created.
{
"data": {
"id": "string",
"network": "string",
"name": {
"first": "string",
"last": "string"
},
"contactDetails": {
"phone": "string",
"email": "string"
},
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v2/driver-short-codesGenerates a 6-character uppercase alphanumeric short code for a driver. The short code can be used to verify the driver's identity.
driverIdstringrequired
The ID of the driver to create a short code for
{
"driverId": "string"
}A new driver short code has been created.
{
"data": {
"id": "string",
"code": "string",
"driverId": "string",
"network": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v2/drivers/detach-sitepartnerRemoves the relationship between a driver (identified by token) and a site partner.
sitePartnerIdstringrequired
tokenIdstringrequired
{
"sitePartnerId": "string",
"tokenId": "string"
}The driver has been detached from the site partner.
{
"data": {
"driverId": "string",
"sitePartnerId": "string",
"networkId": "string",
"status": "ATTACHED",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}/identity/v1/driver-sitepartner-pairsRetrieve a list of driver-site partner relationships based on specified criteria.
limitstringThe maximum number of driver-site partner to return (default 20, maximum 100).
startingAfterDriverstringThe ID of the last driver in the previous page of results. Results will start after this driver.
startingAfterSitePartnerstringThe ID of the last site partner in the previous page of results. Results will start after this site partner.
statusstringFilter results by status ('ATTACHED' or 'DETACHED').
sitePartnerIdstringFilter results by Site Partner ID.
driverIdstringFilter results by Driver ID.
A list of driver-sitepartner relationships
{
"data": {
"hasMore": true,
"items": [
{
"driverId": "string",
"sitePartnerId": "string",
"networkId": "string",
"status": "ATTACHED",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
]
}
}/identity/v1/drivers/{driverId}This endpoint updates an existing driver by its ID.
This action is not enabled by default. You must request additional permissions to perform this action.
nameobjectThe name of the driver
firststringlaststringphysicalAddressobject (PhysicalAddress)Physical address details
streetNumberstringrequired
streetNamestringrequired
streetDetailsstringcitystringrequired
statestringrequired
postalCodestringrequired
countryCodestringrequired
contactDetailsobjectAt least one of "email" or "phone" is required.
emailstringphonestring{
"name": {
"first": "string",
"last": "string"
},
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"email": "string",
"phone": "string"
}
}The updated driver object.
{
"data": {
"name": {
"first": "string",
"last": "string"
},
"physicalAddress": {
"streetNumber": "string",
"streetName": "string",
"streetDetails": "string",
"city": "string",
"state": "AL",
"postalCode": "string",
"countryCode": "US"
},
"contactDetails": {
"email": "string",
"phone": "string"
}
}
}/identity/v2/driver-short-codes/verifyVerifies the provided 6-character uppercase alphanumeric short code and returns the associated driver short code record.
codestringrequired
A 6-character uppercase alphanumeric short code to verify
{
"code": "string"
}The short code has been verified.
{
"data": {
"id": "string",
"code": "string",
"driverId": "string",
"network": "string",
"createdAt": "2023-06-07T17:32:28Z",
"updatedAt": "2023-06-07T17:32:28Z"
}
}Was this page helpful?