Invalid Ticket ID in custom functions

Invalid Ticket ID in custom functions

I'm getting an invalid ticket id in my custom function, but I'm not using the API, so I don't have anywhere to insert an authorisation token.

  1. interview = zoho.recruit.searchRecords("Interviews","CANDIDATEID|=|" + candidateId);