Partner tokens authenticate your software’s backend to the SEEK API.
A partner token grants access to the data of any SEEK hirer you have a relationship with.
Partner tokens must never be sent to a third-party system such as a hirer’s browser.
Exchange your client credentials for a partner token using
auth.seek.com
.- Call the partner authentication endpoint with your client credentials.RequestCopy
POST https://auth.seek.com/oauth/token HTTP/1.1
Content-Type: application/json
User-Agent: YourPartnerService/1.2.3
{
"audience": "https://graphql.seek.com",
"client_id": "CLIENT_ID_HERE",
"client_secret": "CLIENT_SECRET_HERE",
"grant_type": "client_credentials"
}
The GraphQL Playground uses a separatehttps://test.graphql.seek.com
audience. - Receive the issued partner token.ResponseCopy
HTTP/1.1 200 OK
Content-Type: application/json
{
"access_token": "PARTNER_TOKEN_HERE",
"expires_in": 86400,
"token_type": "Bearer"
}
Partner tokens should be cached for the number of seconds specified in the response’sexpires_in
. Caching reduces the load on SEEK’s systems and improves your software’s response time. - Pass the partner token in the HTTP
Authorization
header when making requests to the GraphQL endpoint.RequestCopyPOST https://graphql.seek.com/graphql HTTP/1.1
Authorization: Bearer PARTNER_TOKEN_HERE
User-Agent: YourPartnerService/1.2.3