Authentication is handled via standard OAuth 2.0 passing a ClientID and ClientSecret for a Bearer token.
GET
ClientId: the unique ClientID provisioned for access
ClientSecret: the unique ClientSecret provisioned for access
curl -X 'GET' \ 'https://daasjobmatchapi.salary.com/token?ClientID={clientid}&ClientSecret={clientsecret} '\ -H 'accept: */*'
A successful request returns a 200 HTTP status code and an AccessToken and a RefreshToken in the response body with corresponding “Expires” datetimes. The default expiration date of the AccessToken is 7 days and the RefreshToken is 7 days.
HTTP 200 status code with tokens
{ "AccessToken": { "TokenContent": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjA1NjE4Q0JBLTUzMzAtNEYxQi05NzI2LUY4OUQ2MkZCNTREMCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJCRUQ0M0ZCMC1COUU1LTQ3ODAtOUNCRS01NTdFMUE2MUFDNzciLCJuYmYiOjE3MTMzNjk2MDksImV4cCI6MTcxMzk3NDQwOSwiaXNzIjoiU2FsYXJ5IiwiYXVkIjoiSm9iTWF0Y2hBUElDbGllbnQifQ.p5e6dySJ7EIuHJhqhv9DoQEEI4jMSr4YU0i3LyXZtTI", "Expires": "2024-04-24T12:00:09.3625063-04:00" }, "RefreshToken": { "TokenContent": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1laWRlbnRpZmllciI6IjA1NjE4Q0JBLTUzMzAtNEYxQi05NzI2LUY4OUQ2MkZCNTREMCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL25hbWUiOiJCRUQ0M0ZCMC1COUU1LTQ3ODAtOUNCRS01NTdFMUE2MUFDNzciLCJuYmYiOjE3MTMzNjk2MDksImV4cCI6MTcxMzk3NDQwOSwiaXNzIjoiU2FsYXJ5IiwiYXVkIjoiUmVmcmVzaEpvYk1hdGNoQVBJQ2xpZW50In0.4lSKrGRBf-FtVPmidxrZJlCWytxjABbUhgBAsIaSF5w", "Expires": "2024-04-24T12:00:09.3625887-04:00" } }
HTTP 400 status code
{ "type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "One or more validation errors occurred.", "status": 400, "errors": { "ClientID": [ "The ClientID field is required." ] }, "traceId": "00-5f48d5a69a04164e9bc78462e74c96b7-85db6ef14e242f3f-00" }
HTTP 400 status code
{ "type": "https://tools.ietf.org/html/rfc9110#section-15.5.1", "title": "Bad Request", "status": 400, "traceId": "00-48b2884a1f36bb95b15a03adf4555bd0-444b8dd56acf44e9-00" }