Skip to content
gist.link ↗

pipelineSummary

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

The pipelineSummary query on the CRM API.

crm:query:pipelineSummary

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 {
pipelineSummary(pipelineUuid: ID): PipelineSummary!
}
Argument Type Required Description
pipelineUuid ID No —

PipelineSummary! — 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 PipelineSummary($pipelineUuid: ID) { pipelineSummary(pipelineUuid: $pipelineUuid) { openDealCount openAmountMinor weightedAmountMinor } }",
"variables": {
"pipelineUuid": "01a01234-abcd-7000-9000-0123456789ab"
}
}
JSON