Skip to main content
All CollectionsAwell Home</> Developers
Override automated retries for API calls
Override automated retries for API calls

Customise default API call retry configuration

Sanne Willekens avatar
Written by Sanne Willekens
Updated over a year ago

When using REST or GraphQL API calls in your care flow, you may want to control the default settings of the built-in retry mechanism when a call is considered unsuccessful.

The automated retry uses an exponential backoff strategy with default settings of

  • maximum amount of 5 attempts, with

  • initial delay of 2 seconds and

  • maximum delay of 1 hour

If you'd like to adjust the settings, you can either change the defaults on your organization's level or per individual care flow.

Change the defaults for API retry handling for your organization as a whole

Note: The </> Developers menu is only available for Admin roles in the organization. Ask for an upgrade to Admin from your internal team mates, if you need access to these settings.

  1. Navigate to the Home space in the app switcher

  2. Select the </> Developers menu on your left hand side

  3. Switch to the Advanced tab

  4. Adjust your default API call retry configuration by toggling on the Customise default configuration option and adjust the

    1. Initial delay

    2. Maximum delay

    3. Maximum amount of attempts

Change the defaults for API retry handling per care flow

Note that the settings of the retry mechanism can also be configured at the individual care flow level learn more here.


​

Did this answer your question?