ConnectIntegrationResponse
Response from initiating integration connection
authUrlstring | nullnullable
OAuth authorization URL (redirect user here)
Example:
https://anilist.co/api/v2/oauth/authorize?client_id=...connectedbooleanrequired
Whether the integration is now connected (true for api_key auth)
Example:
falseintegration object
oneOf
- null
- UserIntegrationDto
null
connectedbooleanrequired
Whether the integration is connected (has credentials)
Example:
truecreatedAtstring<date-time>required
When the integration was connected
displayNamestring | nullnullable
User-defined display name
Example:
My AniList Accountenabledbooleanrequired
Whether the integration is enabled
Example:
trueexternalUserIdstring | nullnullable
External user ID from the provider
Example:
123456externalUsernamestring | nullnullable
External username from the provider
Example:
myusernameidstring<uuid>required
Integration ID
Example:
550e8400-e29b-41d4-a716-446655440000integrationNamestringrequired
Integration name (e.g., "anilist", "myanimelist")
Example:
anilistlastErrorstring | nullnullable
Error message if sync failed
lastSyncAtstring,null<date-time>nullable
When the integration last synced
Example:
2024-01-15T18:00:00Zsettingsrequired
User preferences for this integration
syncStatusstringrequired
Current sync status: idle, syncing, error, rate_limited
Example:
idletokenExpiresAtstring,null<date-time>nullable
When the OAuth token expires
updatedAtstring<date-time>required
When the integration was last updated
ConnectIntegrationResponse
{
"authUrl": "https://anilist.co/api/v2/oauth/authorize?client_id=...",
"connected": false,
"integration": "null"
}