def METHOD_NAME(api_url, token):
    retry_strategy = Retry(
        total=5,
        backoff_factor=1,
        status_forcelist=[429, 500, 502, 503, 504],
        allowed_methods=[
            "GET",
            "PUT",
            "POST",
        ],  # Including POST as the API should not perform an insert if an error is returned
    )
    api = HasherMatcherActionerAPI(
        api_url, token, transport_adapter=HTTPAdapter(max_retries=retry_strategy)
    )
    return api