List all associations

Lists links between contacts and accounts. Filter by contact to find a contact's account, or by account to list its contacts. Each link also carries the date and type of the newest of these activities with the contact: a one-to-one email, a campaign sent to them, an automation they started or finished, a forward or reply, a text sent or received, an automation goal they reached, or a deal task. Results come in no guaranteed order. For some accounts, users outside the Admin group see only links for contacts on lists they can access, or on no list.

{
    "accountContacts": [
        {
            "account": "2",
            "contact": "3",
            "jobTitle": "Product Manager",
            "createdTimestamp": "2019-06-26T10:49:10-05:00",
            "updatedTimestamp": "2019-06-26T10:49:10-05:00",
            "links": {
                "account": "http://hosted.localdev/api/3/accountContacts/17/account",
                "contact": "http://hosted.localdev/api/3/accountContacts/17/contact"
            },
            "id": "17"
        },
        {
            "account": "2",
            "contact": "1",
            "jobTitle": "Product Manager",
            "createdTimestamp": "2019-06-26T11:26:09-05:00",
            "updatedTimestamp": "2019-06-26T11:26:09-05:00",
            "links": {
                "account": "http://hosted.localdev/api/3/accountContacts/18/account",
                "contact": "http://hosted.localdev/api/3/accountContacts/18/contact"
            },
            "id": "18"
        },
        {
            "account": "3",
            "contact": "2",
            "jobTitle": "Product Manager",
            "createdTimestamp": "2019-06-26T11:26:15-05:00",
            "updatedTimestamp": "2019-06-26T11:26:15-05:00",
            "links": {
                "account": "http://hosted.localdev/api/3/accountContacts/19/account",
                "contact": "http://hosted.localdev/api/3/accountContacts/19/contact"
            },
            "id": "19"
        }
    ],
    "meta": {
        "total": "3",
        "queryLog": {
            "queries": [
                {
                    "stmt": "",
                    "time": 0.3669261932373
                },
                {
                    "stmt": "",
                    "time": 0.17809867858887
                }
            ],
            "by_time": [
                {
                    "stmt": "",
                    "time": 0.3669261932373
                },
                {
                    "stmt": "",
                    "time": 0.17809867858887
                }
            ],
            "total": 0.54502487182617,
            "mode": "read/write"
        }
    }
}
Query Params
int32

Return only links for this contact ID.

int32

Return only links for this account ID.

integer

How many links to return. Defaults to 20; values over 100 return 100.

integer

How many links to skip. Defaults to 0.

Response

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json