fix message in add_api_endpoint