Contacts
The Contact object
idstringoptionalPublic contact identifier.
customer_idstringoptionalCustomer-form identifier returned for public customer contacts.
internal_idstringoptionalOptional internal identifier.
namestringoptionalContact display name.
titlestringoptionalContact title.
emailstringoptionalContact email address.
phonestringoptionalContact phone number.
photo_urlstringoptionalContact photo URL.
placeobjectoptionalPrimary place for the contact, when loaded.
placesarray of objectsoptionalPlaces associated with the contact, when loaded.
userstringoptionalPublic user ID linked to the contact, when present.
typestringoptionalContact type.
metaobjectoptionalAdditional contact metadata.
slugstringoptionalURL-friendly contact slug.
updated_attimestampoptionalTimestamp when the contact was last updated.
created_attimestampoptionalTimestamp when the contact was created.
{
"id": "contact_6zV1KqN9pR",
"customer_id": "customer_6zV1KqN9pR",
"internal_id": "CUST-1001",
"name": "John Doe",
"title": "Mr",
"email": "john@example.com",
"phone": "+15639204264",
"photo_url": null,
"place": null,
"places": [],
"user": null,
"type": "customer",
"meta": {},
"slug": "john-doe",
"updated_at": "2026-05-07T08:30:00.000000Z",
"created_at": "2026-05-07T08:30:00.000000Z"
}/v1/contactsCreate a Contact
Creates a contact for the current company. Contacts are used as customers, facilitators, personnel, or other addressable people in FleetOps workflows.
namestringrequiredContact display name.
typestringrequiredContact type, such as customer, technician, or another application-defined type.
titlestringoptionalOptional contact title.
emailstringoptionalContact email address.
phonestringoptionalContact phone number.
photostringoptionalFile ID, upload reference, or resolvable file input for the contact photo.
placestringoptionalPlace ID to use as the contact's primary place.
metaobjectoptionalAdditional contact metadata.
/v1/contactscurl -X POST https://api.fleetbase.io/v1/contacts \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "John Doe",
"type": "customer",
"title": "Mr",
"email": "john@exampleco.com",
"phone": "+1 563-920-4264"
}'{
"id": "<string>",
"name": "<string>",
"title": "<string>",
"email": "<string>",
"phone_number": "<string>",
"phone_country_code": "<string>",
"type": "<string>",
"slug": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/contactsQuery Contacts
Returns a paginated list of contacts for the current organization. Use filters such as query, limit, offset, and sort to narrow and order the results.
querystringoptionalSearch term matched against contact fields.
limitintegeroptionalMaximum number of contacts to return.
offsetintegeroptionalNumber of contacts to skip before returning results.
sortstringoptionalSort expression for the contact query.
typestringoptionalFilters contacts by contact type.
/v1/contactscurl https://api.fleetbase.io/v1/contacts?query={{contact_name}}&limit=25&offset=0&sort=created_at \
-H "Authorization: Bearer flb_live_…" \
-H "Accept: application/json"{
"id": "<string>",
"name": "<string>",
"title": "<string>",
"email": "<string>",
"phone_number": "<string>",
"phone_country_code": "<string>",
"type": "<string>",
"slug": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/contacts/:idRetrieve a Contact
Retrieve a Contact.
/v1/contacts/:idcurl https://api.fleetbase.io/v1/contacts/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Accept: application/json"{
"id": "<string>",
"name": "<string>",
"title": "<string>",
"email": "<string>",
"phone_number": "<string>",
"phone_country_code": "<string>",
"type": "<string>",
"slug": "<string>",
"updated_at": "<string>",
"created_at": "<string>"
}/v1/contacts/:idUpdate a Contact
Updates a contact's profile, type, primary place, photo, or metadata.
namestringoptionalContact display name.
typestringoptionalContact type.
titlestringoptionalOptional contact title.
emailstringoptionalContact email address.
phonestringoptionalContact phone number.
photostringoptionalFile ID, upload reference, or resolvable file input for the contact photo.
placestringoptionalPlace ID to use as the contact's primary place.
metaobjectoptionalAdditional contact metadata.
/v1/contacts/:idcurl -X PUT https://api.fleetbase.io/v1/contacts/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"name": "John Doe",
"title": "Mr",
"email": "john@exampleco.com",
"phone": "563-920-4264",
"type": "technician",
"meta": {
"external_ref": "john-doe"
}
}'{
"id": "<string>",
"name": "<string>",
"title": "<string>",
"email": "<string>",
"phone_number": "<string>",
"phone_country_code": "<string>",
"type": "<string>",
"slug": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}/v1/contacts/:idDelete a Contact
Delete a Contact.
/v1/contacts/:idcurl -X DELETE https://api.fleetbase.io/v1/contacts/:id \
-H "Authorization: Bearer flb_live_…" \
-H "Accept: application/json"{
"deleted": "<boolean>",
"id": "<string>"
}