Authentication

Some resources and methods require authentication while others don't. Refer to the Resources section for clarification on which scenarios require authentication.

API Key

Authentication is done by passing an API Key in the HTTP request header. This key is unique to each employer and does not have an expiry date, but we reserve the right to revoke it if we detect abusive use of our API.

Your API Key can be found in your employer account centre here.

Example:

PUT https://www.onjobcentre.ca/api/v1.1/jobs/183668 HTTP/1.1
Host: www.onjobcentre.ca
API-Key: 932d2608-2e18-41f7-bf24-caa922ee9d23
Content-Type: application/json; charset=UTF-8
Content-Length: 31

{"title":"Account Manager"}