Skip to main content

Tahatū Public Occupations API

Version: 1.0

Purpose

This API makes TEC data around occupations available for consumption through a publicly accessible API. If you need access to this API please send a request to the supplied email avaiable on the Tahatū website.

The requirement to retrieve list of occupations

The Occupations API supports API Key Authentication. The API Key is to be passed in the request headers (X-API-KEY and X-Client-ID) and will be securely generated and managed. The key will expire every 12 months. A new key will be provided a month before expiry.

To obtain approval and key to access the Occupation API, please contact TEC at

Phone: 0800 601 301
Email: customerservice@tec.govt.nz
PO Box 27-048, Wellington 6141, New Zealand
www.tec.govt.nz

Example API keys

X-API-KEY: gLK3XRYASu0rAuMuZEqgZhCFmjavC7_75SuS4e5dMkWk
X-Client-ID: a1b2c3d4e5f67890abcdef1234567890

Use token in API call

curl --location 'https://dev.api.tahatu.govt.nz/resource' \
--header 'X-API-KEY: gLK3XRYASu0rAuMuZEqgZhCFmjavC7_75SuS4e5dMkWk' \
--header 'X-Client-ID: a1b2c3d4e5f67890abcdef1234567890'

Explore Schema

Please see here to explore the schema

Download Schema

Please see here to download the OpenApi schema