make api call public