Retrieve Accounts with the Unison Public API

Retrieve Accounts when you need Unison customer records in reporting, analytics, or another connected system. You can list Accounts, retrieve one Account by ID, and use property definitions to interpret custom values.

Use the Accounts endpoints

TaskEndpoint
List AccountsGET /v1/accounts
Retrieve one AccountGET /v1/accounts/{account_id}
List property definitionsGET /v1/property-definitions

List Accounts

curl "https://public-api.us.unison.totango.com/v1/accounts?page[limit]=25" \
  --header "Authorization: Bearer <public_api_credential>"

The default page size is 25 Accounts and the maximum is 100. Use page[cursor] to request the next page.

Retrieve one Account

curl "https://public-api.us.unison.totango.com/v1/accounts/<account_id>" \
  --header "Authorization: Bearer <public_api_credential>"

Understand Account fields

FieldDescription
idThe Unison Account ID.
display_nameThe Account name shown in Unison.
external_idsIdentifiers supplied by connected source systems.
account_typeThe Account type.
statusThe current Account status.
created_atWhen the Account was created.
updated_atWhen the Account was last updated.
revenueThe revenue value stored for the Account.
renewal_dateThe Account renewal date.
churn_dateThe Account churn date, when present.
propertiesAdditional Account properties, keyed by property definition.

Interpret Account properties

Use GET /v1/property-definitions to retrieve the key, label, data type, display format, access mode, options, and other metadata for available properties. Match each definition to the keys returned in an Account's properties object.

FAQs

Which ID should I use to retrieve one Account?

Use the Unison id returned by the list endpoint. Source system identifiers are returned separately in external_ids.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request