query Account($accountId: ID!) {
account(accountId: $accountId) {
id
name
externalId
url
source
tier {
id
name
externalId
color
isDefault
defaultPriority
}
}
}{
"accountId": "id"
}{
"data": {
"account": {
"id": "id",
"name": "string",
"externalId": "string",
"url": "string",
"source": "API",
"tier": {
"id": "id",
"name": "string",
"externalId": "string",
"color": "string",
"isDefault": true,
"defaultPriority": 1
}
}
}
}account
Fetches a single account by its Plain-assigned ID. Returns null if no matching account is found. Requires the tenant:read permission.
account(accountId: ID!): AccountArguments
Returns
Your system's identifier for this account, set when the account was created via the API or an integration. Use this to map back to the corresponding record in your own database.
An optional URL linking to the account in your own product or admin panel.
Indicates how this account was created: directly via the API, synced from Salesforce, or synced from HubSpot.
The support tier assigned to this account, used to apply SLAs and prioritisation rules to threads belonging to this account.
Slack (or other channel) associations configured for this account, used to route new threads to the appropriate channel automatically.
Custom field values stored on this account, corresponding to the workspace's account field schemas.
The primary domain name associated with this account (e.g. acme.com).
Alternate domain names associated with this account.
URL of the account's logo image. Pass an optional size argument (pixels) to request a resized version. Null if no logo is set.
Whether customers whose email domain matches this account's primary or alternate domains are automatically added to it.
query Account($accountId: ID!) {
account(accountId: $accountId) {
id
name
externalId
url
source
tier {
id
name
externalId
color
isDefault
defaultPriority
}
}
}{
"accountId": "id"
}{
"data": {
"account": {
"id": "id",
"name": "string",
"externalId": "string",
"url": "string",
"source": "API",
"tier": {
"id": "id",
"name": "string",
"externalId": "string",
"color": "string",
"isDefault": true,
"defaultPriority": 1
}
}
}
}Was this page helpful?

