puts params for api call