List all accounts

Retrieve all existing account

{
    "accounts": [
        {
            "name": "First Example Account",
            "accountUrl": null,
            "createdTimestamp": "2019-04-29T07:51:31-05:00",
            "updatedTimestamp": "2019-04-29T07:51:31-05:00",
            "contactCount": "1",
            "dealCount": "3",
            "links": [
                "notes": "https://:account.api-us1.com/api/:version/accounts/1/notes",
                "accountCustomFieldData": "https://:account.api-us1.com/api/:version/accounts/1/accountCustomFieldData",
                "accountContacts": "https://:account.api-us1.com/api/:version/accounts/1/accountContacts"],
            "id": "1"
        },
        {
            "name": "Second Example Account",
            "accountUrl": null,
            "createdTimestamp": "2019-04-29T07:51:32-05:00",
            "updatedTimestamp": "2019-04-29T07:51:32-05:00",
            "contactCount": "2",
            "dealCount": "5",
            "links": [
                "notes": "https://:account.api-us1.com/api/:version/accounts/2/notes",
                "accountCustomFieldData": "https://:account.api-us1.com/api/:version/accounts/2/accountCustomFieldData",
                "accountContacts": "https://:account.api-us1.com/api/:version/accounts/2/accountContacts"],
            "id": "2"
        }
    ],
    "meta": {
      "total": "2"
    }
}
Query Params

Search by account name or URL (any part of the text), or, from 3 characters, by a linked contact the user may see: the beginning of the contact's email address, or the words typed in the contact's name, email, phone or company name (every word must appear, the last one may be the start of a word). Matches through contacts are limited: at most 5,000 matching contacts are read per kind of match (email beginning, words), so for a very common text only some of the accounts linked to matching contacts are returned and meta.total counts only those. The limit applies before the user's lists are checked, so a user restricted to some lists may find fewer of those accounts, or none. Accounts matching by name or URL are always all returned.

boolean

Whether to compute the contactCount and dealCount counts for the number of contacts/deals associated with each account. Set it to true to include the right counts. If set to false or omitted from the call, then contactCount and dealCount will not be counted and be simply displayed as 0.

Responses

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