Retrieving an account

You can retrieve accounts by ID with the API described here:


ex: GET

A successful request will result in a 200 response with the retrieved account in the response body (if the account exists).

    "data": { // Account Model
        "ownerId": 18807,
        "name": "Kristin's company",
        "domain": "",
        "accountId": "",
        "deleted": true,
        "createDateTime": 1518101450213,
        "updateDateTime": 1537463118339,
        "targeted": true,
      	"customProperties": { ... }


A note on unset fields

Note that unset fields on the returned Account object will be absent from the response body. We recommend checking existence first. Fields like accountId and domain should always be set.

Getting accounts requires the account_read scope.