You can apply for family visa or husbands visa only with a Valid Qatar ID and you have to submit by hand and you need to be present at the immigration counter.

Also letter from company is required as part of the documents to be submitted.

Download and fill out the application form.
Attach the following documents in case of applying visa for husband:

Copies of personal ID , Passport of the resident wife and husband's valid passport.
Letter from wifes's employer citing profession and salary.
Copy of attested marriage contract.

Attach the following documents in case of applying visa for other relatives:

Copies of personal ID or passport of the sponsor and valid passport of the visitor.
Copy of sponsor's wife's passport with valid residence permit or residential tenancy contract.
Letter from employer of the sponsor citing profession and salary.
Document to prove relationship.