How copy one domain couchbase document to another domain couchbase

I have two domain “abc.com” and “xyz.com”.Both are having couchbase Enterprise Edition 5.5.2
I want to copy some document from first domain to second domain.
Is there any N1QL query or any REST api are there to copy document.

Hi Suraj,

Did you manage to solve this issue? I also have same use case to copy documents from one cluster to another.

Thanks.