Skip to main content
POST
Create a contact
Add one contact to your Detrack address book. A contact needs deliver_to_collect_from or company_name, and an address unless you send address_1, address_2, or address_3. The response is the new contact with its id, and the Location header has its URL. Detrack doesn’t check for duplicates, so creating the same contact twice saves it twice. To change a contact you’ve already saved, use Update a contact. To add up to 100 contacts in one request, use Bulk create contacts. See Contacts for how addresses and groups work.

Authorizations

X-API-KEY
string
header
required

Your Detrack API key, from Integrations > API Key in the dashboard.

Body

application/json
data
object
required

Contact fields you can send. On update, send only the fields you want to change. A contact needs deliver_to_collect_from or company_name.

Response

The created contact. The Location header has its URL.

data
object

A saved recipient. Empty fields are null. The pick-up fields (pick_up_*) are returned only if your account uses point-to-point jobs.