List methods:GET
Instance methods:GET
| name | type | description |
|---|---|---|
| optional: | ||
| search | string | String identifying the name or the email address of the contact(s) you are looking for. |
| active_before | integer (unix time) | Only include contacts included in at least one email dated before a given time. This parameter should be a standard unix timestamp |
| active_after | integer (unix time) | Only include contacts included in at least one email dated after a given time. This parameter should be a standard unix timestamp |
| limit | integer | The maximum number of results to return. |
| offset | integer | Start the list at this offset (zero-based). |
{
"query": {
"limit": numberMaximum number of results returned,
"offset": numberOffset requested in query (zero based),
"active_after": numberResults include contacts in at least one email dated after a given time,
"active_before": numberResults include contacts in at least one email dated before a given time,
"search": stringResults included contacts whose name of address match this search term
},
"matches": [
{
"email": stringemail address of contact,
"count": numbernumber of messages exchanged with this contact,
"name": stringName associated to contact,
"thumbnail": stringURL pointing to Gravatar image associated to contact's email address, if applicable
},
...
]
}
{
"emails": ArrayArray of email addresses for this contact,
"name": stringFull name of contact,
"thumbnail": stringURL pointing to Gravatar image associated to contact's email address, if applicable,
"last_received": numberUnix timestamp of date the last message was received,
"last_sent": numberUnix timestamp of date the last message was sent,
"count": numberNumber of emails exchanged with this contact
}