Adding API to header