When returning vacancy information via the API, you will find that each vacancy will have a 'Status' with a value between 1-5. The values for Status are as follows:
1 - Active
2 - Draft
3 - Closed
4 - Archived
5 - Pending
Thanks,
Customer Services Team.