def add_token_to_headers(token, headers=None):
    """Add bearer token to header dict."""
    if headers is None:
        headers = {}
    return {**headers, **{"Authorization": "Bearer " + token["access_token"]}}