Watch a company board
POST
/api/watchlist
const url = 'http://127.0.0.1:8765/api/watchlist';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"url":"https://boards.greenhouse.io/acme"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:8765/api/watchlist \ --header 'Content-Type: application/json' \ --data '{ "url": "https://boards.greenhouse.io/acme" }'Add a company board by its posting or board URL.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
url
required
A board or posting URL on a supported ATS.
string
Example
{ "url": "https://boards.greenhouse.io/acme"}Responses
Section titled “Responses”Success.
Media typeapplication/json
object
schema_version
required
key
additional properties
any
Example
{ "created": true, "entry": {}, "schema_version": "scout-watchlist-add-response:1"}Forbidden / forbidden_origin: loopback peer and Host 127.0.0.1:<port> or localhost:<port> only (Origin too on writes).
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}Not_found
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{ "error": { "code": "not_found", "message": "..." }}Unsupported_media_type: writes need Content-Type: application/json.
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Examplegenerated
{ "error": { "allowed_keys": [ "example" ], "code": "example", "message": "example" }}Unknown_key, invalid_value
Media typeapplication/json
object
error
required
object
allowed_keys
Array<string>
code
required
string
message
required
string
key
additional properties
any
Example
{ "error": { "code": "unknown_key", "message": "..." }}