|
||
---|---|---|
page | Page number of contacts to return. Returns empty array if the page has no contacts. If page parameter isn't present, returns the first page | Optional |
size | Number of contacts to return in a page. If size parameter isn't present, returns the page with 25 contacts | Optional |
name | Name to match | Optional |
Email to match | Optional | |
phone | Phone number to match | Optional |
[
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value": "Annual"
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
},
{
"_id": "5277831fcce8b4c0d20002cd",
"name": "Sigourney Weaver",
"designation": "Basket Weaver",
"email": "weavergroup@gmail.com",
"phone": "1-455-666-7777",
"address": "Weaver City",
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value": "Weekly"
}
],
"organization": {
"_id": "5277831fcce8b4c0d20002ce",
"name": "Weaver LLP",
"email": null,
"phone": null,
"website": "http://www.weaverllp.com",
"address": null
}
}
]
|
||
---|---|---|
contact_id | Unique identifier of the contact | Required |
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value": "Annual"
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
}
|
||
---|---|---|
name | Name of the contact | Required |
designation | Designation of the contact | Optional |
Email of the contact | Optional | |
phone | Phone number of the contact | Optional |
address | Address of the contact | Optional |
organization_id | Unique identifier of the organization the contact belongs to | Optional |
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : null
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
}
|
||
---|---|---|
contact_id | Unique identifier of the contact | Required |
name | Name of the contact | Optional |
designation | Designation of the contact | Optional |
Email of the contact | Optional | |
phone | Phone number of the contact | Optional |
address | Address of the contact | Optional |
organization_id | Unique identifier of the organization the contact belongs to | Optional |
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : null
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
}
|
||
---|---|---|
contact_id | Unique identifier of the contact | Required |
field_id | Unique identifier of the field | Required |
value | Value of the field | Optional |
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : "Annual"
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
}
|
||
---|---|---|
contact_id | Unique identifier of the contact | Required |
{}
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
page | Page number of contacts to return. Returns empty array if the page has no contacts. If page parameter isn't present, returns the first page | Optional |
size | Number of contacts to return in a page. If size parameter isn't present, returns the page with 25 contacts | Optional |
[
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : "Annual"
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
},
{
"_id": "5277831fcce8b4c0d20002cd",
"name": "Sigourney Weaver",
"designation": "Basket Weaver",
"email": "weavergroup@gmail.com",
"phone": "1-455-666-7777",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : "Weekly"
}
],
"organization": {
"_id": "5277831fcce8b4c0d20002ce",
"name": "Weaver LLP",
"email": null,
"phone": null,
"website": "http://www.weaverllp.com",
"address": null
}
}
]
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
contact_id | Unique identifier of the contact | Required |
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : "Annual"
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
}
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
contact_id | Unique identifier of the contact | Required |
{
"_id": "521f26eccce8b4310e000076",
"name": "Foo Guy",
"designation": null,
"email": "fooguy@foocorp.com",
"phone": "5553331234",
"address": null,
"fields": [
{
"_id": "531ed3a49a21f6e90b00000e",
"name": "custom contact field",
"value" : "Annual"
}
],
"organization": {
"_id": "521f26eccce8b4310e000075",
"name": "Foo Organization",
"email": "contact@foocorp.com",
"phone": "5553336666",
"website": "http://www.foocorp.com",
"address": "Foo City"
}
}
|
||
---|---|---|
lead_id | Unique identifier of the lead | Required |
contact_id | Unique identifier of the contact | Required |
{}