Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Access Token Limits

Started by Andrew Reeve -   in API Authentication

Hi there,

Is there a limit to how many access tokens can be requested through a custom connection in a time frame? Does this just fall into the max number of requests per hour category?

We have a custom connection to create a thousand or so invoices which used to take an hour or two on the old auth process.

With the new OAuth2.0 we could make use of refreshing the token but would involve implementing a retry at a particular customer somewhere ~30mins in. Would it be best practice to do this, or can we get a new access token per customer invoice.