Replace filepath with key in callback_url request.