---
updatedAt: 2026-11-10T17:49:36.000Z
agentTools:
  projectIndex: https://developers.activecampaign.com/llms.txt
---

# 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.

```json GET /accountContacts (Example RESPONSE)
{
    "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"
        }
    }
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://{youraccountname}.api-us1.com/api/3",
      "variables": {
        "youraccountname": {
          "default": "youraccountname"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accountContacts": {
      "get": {
        "summary": "List all associations",
        "description": "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.",
        "operationId": "list-all-associations-1",
        "parameters": [
          {
            "name": "filters[contact]",
            "in": "query",
            "description": "Return only links for this contact ID.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "filters[account]",
            "in": "query",
            "description": "Return only links for this account ID.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "How many links to return. Defaults to 20; values over 100 return 100.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "How many links to skip. Defaults to 0.",
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The matching links.",
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "accountContacts": {
                      "description": "The links on this page.",
                      "type": "array",
                      "items": {
                        "properties": {
                          "account": {
                            "description": "ID of the account.",
                            "type": "string",
                            "example": "2"
                          },
                          "contact": {
                            "description": "ID of the contact.",
                            "type": "string",
                            "example": "3"
                          },
                          "jobTitle": {
                            "description": "The contact's job title at the account. null when none was set.",
                            "type": [
                              "string",
                              "null"
                            ],
                            "example": "Product Manager"
                          },
                          "createdTimestamp": {
                            "description": "When the link was created, in ISO 8601 format.",
                            "type": "string",
                            "example": "2019-06-26T10:49:10-05:00"
                          },
                          "updatedTimestamp": {
                            "description": "When the link was last changed, in ISO 8601 format.",
                            "type": "string",
                            "example": "2019-06-26T10:49:10-05:00"
                          },
                          "links": {
                            "description": "URLs of the linked records.",
                            "properties": {
                              "account": {
                                "description": "URL that returns the account.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/accountContacts/17/account"
                              },
                              "contact": {
                                "description": "URL that returns the contact.",
                                "type": "string",
                                "example": "https://:account.api-us1.com/api/3/accountContacts/17/contact"
                              }
                            },
                            "type": "object"
                          },
                          "id": {
                            "description": "ID of the link.",
                            "type": "string",
                            "example": "17"
                          },
                          "lastContactDate": {
                            "description": "When the newest of those activities happened (see the operation description), in ISO 8601 format. Absent when there is none.",
                            "type": "string",
                            "example": "2019-06-27T09:12:00-05:00"
                          },
                          "lastContactType": {
                            "description": "What that activity was, as a label in the user's language: Email, Text, or for a deal task the name of its task type (Task when the task no longer exists). Absent when there is none. Null when the deal task has no task type.",
                            "type": [
                              "string",
                              "null"
                            ],
                            "example": "Email"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "meta": {
                      "description": "Information about the whole result.",
                      "properties": {
                        "total": {
                          "description": "Number of matching links, ignoring limit and offset, as a numeric string.",
                          "type": "string",
                          "example": "3"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "examples": {
                  "Result": {
                    "summary": "A successful response",
                    "value": "{\n    \"accountContacts\": [\n        {\n            \"account\": \"2\",\n            \"contact\": \"3\",\n            \"jobTitle\": \"Product Manager\",\n            \"createdTimestamp\": \"2019-06-26T10:49:10-05:00\",\n            \"updatedTimestamp\": \"2019-06-26T10:49:10-05:00\",\n            \"links\": {\n                \"account\": \"https://:account.api-us1.com/api/3/accountContacts/17/account\",\n                \"contact\": \"https://:account.api-us1.com/api/3/accountContacts/17/contact\"\n            },\n            \"id\": \"17\"\n        },\n        {\n            \"account\": \"2\",\n            \"contact\": \"1\",\n            \"jobTitle\": \"Product Manager\",\n            \"createdTimestamp\": \"2019-06-26T11:26:09-05:00\",\n            \"updatedTimestamp\": \"2019-06-26T11:26:09-05:00\",\n            \"links\": {\n                \"account\": \"https://:account.api-us1.com/api/3/accountContacts/18/account\",\n                \"contact\": \"https://:account.api-us1.com/api/3/accountContacts/18/contact\"\n            },\n            \"id\": \"18\"\n        },\n        {\n            \"account\": \"3\",\n            \"contact\": \"2\",\n            \"jobTitle\": \"Product Manager\",\n            \"createdTimestamp\": \"2019-06-26T11:26:15-05:00\",\n            \"updatedTimestamp\": \"2019-06-26T11:26:15-05:00\",\n            \"links\": {\n                \"account\": \"https://:account.api-us1.com/api/3/accountContacts/19/account\",\n                \"contact\": \"https://:account.api-us1.com/api/3/accountContacts/19/contact\"\n            },\n            \"id\": \"19\"\n        }\n    ],\n    \"meta\": {\n        \"total\": \"3\"\n    }\n}"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```