Contact
Manage your contacts.
Retrieve a collection of contacts.
Use the skip query parameter to set the number of items to skip at the start of a collection.
0Use the top query parameter to specify the page size of the result set.
100OK
Total number of resource.
100Error
GET /api/contacts HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": "xxxxxx",
"name": "example",
"email": "",
"company": "",
"title": "",
"business": "",
"business2": "",
"mobile_phone": "",
"mobile_phone2": "",
"home_phone": "",
"home_phone2": "",
"other": "",
"business_fax": "",
"home_fax": "",
"address": "",
"notes": "",
"sync_type": ""
}
]
}The name of contact.
The email of contact.
The company name of contact.
The title of contact.
The business phone number of contact.
The secondary business phone number of contact.
The mobile phone number of contact.
The secondary mobile phone number of contact.
The home phone number of contact.
The secondary home phone number of contact.
The other phone number of contact.
The business fax of contact.
The home fax of contact.
The address.
The notes of contact.
Created contact
NzAwNTUxOTA5NzczMTQ4MTYwError
POST /api/contacts HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 238
{
"name": "example",
"email": "example@example.com",
"company": "",
"title": "",
"business": "",
"business2": "",
"mobile_phone": "",
"mobile_phone2": "",
"home_phone": "",
"home_phone2": "",
"other": "",
"business_fax": "",
"home_fax": "",
"address": "",
"notes": ""
}{
"id": "xxxxxxxx"
}Retrieves details of a contact.
NzAwNTUxOTA5NzczMTQ4MTYwOK
NzAwNTUxOTA5NzczMTQ4MTYwThe name of contact.
The email of contact.
The company name of contact.
The title of contact.
The business phone number of contact.
The secondary business phone number of contact.
The mobile phone number of contact.
The secondary mobile phone number of contact.
The home phone number of contact.
The secondary home phone number of contact.
The other phone number of contact.
The business fax of contact.
The home fax of contact.
The address.
The notes of contact.
The synchronization method.
Error
GET /api/contacts/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "xxxxxx",
"name": "example",
"email": "example@example.com",
"company": "",
"title": "",
"business": "",
"business2": "",
"mobile_phone": "",
"mobile_phone2": "",
"home_phone": "",
"home_phone2": "",
"other": "",
"business_fax": "",
"home_fax": "",
"address": "",
"notes": "",
"sync_type": ""
}Update an contact.
NzAwNTUxOTA5NzczMTQ4MTYwThe name of contact.
The email of contact.
The company name of contact.
The title of contact.
The business phone number of contact.
The secondary business phone number of contact.
The mobile phone number of contact.
The secondary mobile phone number of contact.
The home phone number of contact.
The secondary home phone number of contact.
The other phone number of contact.
The business fax of contact.
The home fax of contact.
The address.
The notes of contact.
OK
No content
Error
POST /api/contacts/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 238
{
"name": "example",
"email": "example@example.com",
"company": "",
"title": "",
"business": "",
"business2": "",
"mobile_phone": "",
"mobile_phone2": "",
"home_phone": "",
"home_phone2": "",
"other": "",
"business_fax": "",
"home_fax": "",
"address": "",
"notes": ""
}No content
Delete a certain contact by it's unique id.
NzAwNTUxOTA5NzczMTQ4MTYwNo Content
No content
Error
POST /api/contacts/{id}/destroy HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Export a collection of contacts to file.
OK
Error
GET /api/contacts/export HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
binaryLast updated
Was this helpful?