fill in callback info from API function;