create bundle for API