How to determine if an account is stopped

You can use a combination of account management endpoints, API responses and webhooks to determine an accounts authentication state.

Method Time from reflect change Re-auth on action
Webhooks 10min to 7 hours, depending on scopes / provider account.invalid
API responses that touch provider directly /send Instant http_status 403 response
Account Management 10min to 7 hours, depending on scopes Poll endpoint for sync_state

 

Recommended method is to prompt the user to re-authenticate immediately upon:

  • Receiving any 403 when hitting the send endpoint
  • Receiving an account.invalid webhook

Limited scopes such only email.send or calendar can delay the time it takes to determine an account authentication state.

Resources

Webhook best practices

Why is the account stopped or invalid?

Updated

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.