Skip to content
gist.link ↗

recommendForEmail

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

Match an email address to existing CRM records (exact email, then company domain).

crm:query:recommendForEmail

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 {
recommendForEmail(email: String!): Recommendation!
}
Argument Type Required Description
email String! Yes —

Recommendation! — 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 RecommendForEmail($email: String!) { recommendForEmail(email: $email) { confidence reason } }",
"variables": {
"email": "ada@example.com"
}
}
JSON