Added expiration to API