get a case by its identifier (external id / phone number)