Skip to main content

Initialize Job Change Tracking

POST 

/v1/jobchange/initializeJobChangeTracking

This endpoint allows our partners to setup job change tracking for their customers so that job change updates are provided per customer.

Request Body

FieldTypeDescriptionRequired
webhook_urlstringThe destination webhook URL to use for the given customer.
webhook_secretstringThe webhook secret for the given webhook destination, if applicable.
customer_domainstringThe domain of the customer.
customer_idstringThe previously provided id of the customer.

One of customer_domain or customer_id is required. Using customer_domain will setup a new customer, using customer_id will allow for modification of an existing customer.


Response

The endpoint returns a response with a customer ID if successful. This customer ID should be persisted by the caller to associate job change updates to a given customer.

Example Success Response

{
"customer_id": "abcd1234"
}


Error Handling

The API returns appropriate error messages with status codes if something goes wrong.

Error CodeMessageDescription
400Invalid RequestVerify your request is properly formatted
401UnauthorizedVerify you are using a valid API key
500Internal Server ErrorAn unexpected error occurred.

Example Error Response

{
"error": {
"code": 400,
"message":"webhook URL is required"
}
}

Request

Responses

Successful response