Skip to content
gist.link ↗

companyDetail

Query CRM API — POST https://crm.api.gist.link/graphql

Company overview.

crm:query:companyDetail

The calling IAM key must hold this permission (or a wildcard that covers it: crm:query:* or crm:*) and the access token must have been minted with audience=crm. See Permissions.

type Query {
companyDetail(uuid: ID!): CompanyDetail!
}
Argument Type Required Description
uuid ID! Yes —

CompanyDetail! — see the CRM types reference.

Terminal window
curl https://crm.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query CompanyDetail($uuid: ID!) { companyDetail(uuid: $uuid) { company { uuid name domains website industry size tags ownerUserUuid } contacts { uuid firstName lastName displayName primaryEmail emails phones title } } }",
"variables": {
"uuid": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON