validateAllIntegrations
Requires permission settings:integration:update.
Checks every integration's credentials with its service and returns each one's status, valid or invalid, with the error when invalid. Requires permission to update integrations.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
mutation ValidateAllIntegrations {
validateAllIntegrations {
status
errorMessage
isEnabled
isValid
lastValidated
service
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "mutation ValidateAllIntegrations {\n validateAllIntegrations {\n status\n errorMessage\n isEnabled\n isValid\n lastValidated\n service\n }\n}"
}
EOF
Response:
{
"data": {
"validateAllIntegrations": [
{
"status": "string",
"errorMessage": "string",
"isEnabled": true,
"isValid": true,
"lastValidated": "2025-01-15T00:00:00Z",
"service": "AMAZON"
}
]
}
}
validateAllIntegrations: [IntegrationStatus!]!
Type
IntegrationStatus object
Where one integration stands.