add input region to api