Query
query ImporterTenantLists($serviceAuthorizationId: ID!) {
importerTenantLists(serviceAuthorizationId: $serviceAuthorizationId) {
edges {
node {
id
name
}
cursor
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Variables
{
"serviceAuthorizationId": "id"
}Response
{
"data": {
"importerTenantLists": {
"edges": [
{
"node": {
"id": "id",
"name": "string"
},
"cursor": "string"
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Queries
importerTenantLists
Fetch the available tenant lists (e.g. company lists or account views) from a connected external service such as Attio, HubSpot, or Salesforce. Use this to let users choose which list to sync when setting up an import. Requires a completed service authorization ID.
QUERY
importerTenantLists(serviceAuthorizationId: ID!, first: Int, after: String, last: Int, before: String): ImporterTenantListConnection!Arguments
serviceAuthorizationId
ID!
required
first
Int
after
String
last
Int
before
String
Returns
edges
pageInfo
Query
query ImporterTenantLists($serviceAuthorizationId: ID!) {
importerTenantLists(serviceAuthorizationId: $serviceAuthorizationId) {
edges {
node {
id
name
}
cursor
}
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
}
}Variables
{
"serviceAuthorizationId": "id"
}Response
{
"data": {
"importerTenantLists": {
"edges": [
{
"node": {
"id": "id",
"name": "string"
},
"cursor": "string"
}
],
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
}
}
}
}Was this page helpful?

