GetExternalTrackingOAuthAttempt
GetExternalTrackingOAuthAttempt returns the result of an OAuth flow while the browser callback and queued token exchange complete.
/api.v1.tracking.ExternalTrackingService/GetExternalTrackingOAuthAttempt Bearer requiredRequest
GetExternalTrackingOAuthAttemptRequest
GetExternalTrackingOAuthAttemptRequestapi.v1.tracking.GetExternalTrackingOAuthAttemptRequest1 fields
Get External Tracking OAuth Attempt Request message.
attemptIdstringAttempt Id value.
{
"attemptId": "string"
}Response
GetExternalTrackingOAuthAttemptResponse
GetExternalTrackingOAuthAttemptResponseapi.v1.tracking.GetExternalTrackingOAuthAttemptResponse1 fields
Get External Tracking OAuth Attempt Response message.
{
"attempt": {
"attemptId": "string value",
"provider": "string value",
"status": "active",
"message": "success",
"remoteUsername": "fireanime_user",
"expiresAt": "string value",
"completedAt": "string value",
"errorMessage": "success"
}
}Referenced models
1 nested message types
ExternalTrackingOAuthAttemptapi.v1.tracking.ExternalTrackingOAuthAttempt8 fields
ExternalTrackingOAuthAttempt describes a user connection flow without exposing the authorization code, PKCE verifier, or provider tokens.
attemptIdstringOpaque identifier returned by BeginExternalTrackingOAuthConnection.
providerstringStable provider key: "anilist" or "mal".
statusstringState such as "awaiting_authorization", "queued", "processing", "awaiting_confirmation", "succeeded", "failed", or "expired".
messagestringSafe status detail suitable for display to the current user.
remoteUsernamestringProvider username discovered after a successful connection.
expiresAtstringRFC3339 expiry timestamp for this short-lived attempt.
completedAtoptionalstringRFC3339 completion timestamp when the attempt reached a terminal state.
errorMessagestringSanitized failure detail. Authorization codes, tokens, and raw provider response bodies must never be returned here.
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.