Skip to content
gist.link ↗

contactsByPhone

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

Caller-ID lookup: match phone numbers (any format, e.g. E.164) to contacts. At most 100 per call.

crm:query:contactsByPhone

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 {
contactsByPhone(phones: [String!]!): [PhoneMatch!]!
}
Argument Type Required Description
phones [String!]! Yes —

[PhoneMatch!]! — 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 ContactsByPhone($phones: [String!]!) { contactsByPhone(phones: $phones) { phone } }",
"variables": {
"phones": [
"example"
]
}
}
JSON