Skip to main content
QUERY
company(companyId: ID!): Company

Arguments

companyId
ID!
required

Returns

id
ID!
name
String!
logoUrl
String

URL of the company's logo image. Pass an optional size argument (pixels) to request a resized version. Null if no logo is set.

Arguments
size
Int
domainName
String!

The primary domain name associated with this company (e.g. acme.com). Plain uses this to automatically assign customers whose email addresses match the domain.

createdAt
createdBy
updatedAt
updatedBy
tier

The support tier assigned to this company, which determines its SLA and prioritisation rules. Null if no tier is assigned.

threadChannelAssociations

The Slack or other channel associations that are automatically applied to new threads belonging to customers of this company.

contractValue
Int

The annual contract value for this company in cents (e.g. 10000 = $100.00). Null if not set. Used for prioritisation and reporting.

accountOwner

The Plain user responsible for managing this company's account. Null if no account owner is assigned.

isDeleted
Boolean!

Whether this company has been deleted. Deleted companies are still returned by queries when you filter by isDeleted: true, but are no longer linked to customers.

deletedAt
deletedBy
Query
Variables
Response