calls
Get calls involving a given phone number, most recent first, optionally filtered by call tags. For example, this can be used to check whether previous calls from a phone number were tagged in a particular way.
Arguments
Possible Errors
Allowed Viewers
Required Permissions
Can query callsQuery Complexity
4Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query Calls(
$after: String,
$before: String,
$callTagIds: [ID!],
$first: Int,
$last: Int,
$phoneNumber: String!
) {
calls(
after: $after,
before: $before,
callTagIds: $callTagIds,
first: $first,
last: $last,
phoneNumber: $phoneNumber
) {
edgeCount
edges {
...CallConnectionTypeEdgeFragment
}
pageInfo {
...PageInfoFragment
}
totalCount
}
}
Variables
{
"after": "YXJyYXljb25uZWN0aW9uOjEw=",
"before": "YXJyYXljb25uZWN0aW9uOjEw=",
"callTagIds": "93488831",
"first": 10,
"last": 10,
"phoneNumber": "base-guess-up-election-edge"
}
Response
{
"data": {
"calls": {
"edgeCount": 50,
"edges": [CallConnectionTypeEdge],
"pageInfo": PageInfo,
"totalCount": 36
}
}
}