Mutation
mutation GenerateDataExportScopedToken($input: GenerateDataExportScopedTokenInput!) {
generateDataExportScopedToken(input: $input) {
enabledModels
expiresAt
hasDestination
host
organizationId
recipientId
}
}Variables
{
"input": {
"integrationId": "string"
}
}Response
{
"data": {
"generateDataExportScopedToken": {
"enabledModels": [
"string"
],
"expiresAt": "string",
"hasDestination": true,
"host": "string",
"organizationId": "string",
"recipientId": "string"
}
}
}Mutations
generateDataExportScopedToken
Generate a scoped auth token for the data export embedded SDK
MUTATION
generateDataExportScopedToken(input: GenerateDataExportScopedTokenInput!): DataExportScopedToken!Arguments
input
required
Returns
enabledModels
[String!]!
All model names the recipient is subscribed to
expiresAt
String!
Token expiration time in ISO 8601 format
hasDestination
Boolean!
Whether this recipient already has a destination configured
host
String!
The vendor API host this token authenticates against
organizationId
String!
The vendor organization the embedded SDK loads its destination form from, or empty when the deployment configures none for this account
recipientId
String!
Prequel recipient ID associated with this integration
token
String!
The scoped auth token
Mutation
mutation GenerateDataExportScopedToken($input: GenerateDataExportScopedTokenInput!) {
generateDataExportScopedToken(input: $input) {
enabledModels
expiresAt
hasDestination
host
organizationId
recipientId
}
}Variables
{
"input": {
"integrationId": "string"
}
}Response
{
"data": {
"generateDataExportScopedToken": {
"enabledModels": [
"string"
],
"expiresAt": "string",
"hasDestination": true,
"host": "string",
"organizationId": "string",
"recipientId": "string"
}
}
}