Yes, where the country that issued it is a party to the Hague Apostille Convention. A public document issued in one of those states is accepted in Spain with an apostille, instead of consular legalisation. So the first thing to check is whether the country where you sign is a party to that convention, because the apostille route depends on it.
Where this comes from: Status table, Convention of 5 October 1961 abolishing the requirement of legalisation, HCCH, read 2026-09-17.
Checked against the official source on 2026-09-17.
Yes, where the country that issued it is a party to the Hague Apostille Convention. A public document issued in one of those states is accepted in Spain with an apostille, instead of consular legalisation. So the first thing to check is whether the country where you sign is a party to that convention, because the apostille route depends on it.