Skip to content

Job post event search

Request

Results come back 10 per page. page is zero-based: omit it or send 0 for the first page, 1 for the second. total_search_results on this response marks a position and is not a count of matches; use the /totals/ endpoint for that.

Security
Api-Key
Path
account_idintegerrequired
Body
pageinteger

Zero-based page number. Each page holds 10 results. The first page is 0, or simply omit the field: page=0 returns results 1-10, page=1 returns results 11-20, and so on.

job_sourcestring(JobSourceEnum)
  • indeed - Indeed
  • linkedin - LinkedIn
  • angellist - AngelList
Enum:"indeed""linkedin""angellist"
organization_idsArray of integers

To get a list of IDs use Organizations lookup endpoint.

titlestring

This field supports a boolean text search query.

descriptionstring

This field supports a boolean text search query.

is_remoteboolean or null
is_activeboolean
Default:true
locationsArray of integers

To get a list of IDs use Locations lookup endpoint.

locations_excludeArray of integers

To get a list of IDs use Locations lookup endpoint.

curl -i -X POST \
  'https://api-v2.forager.ai/api/{account_id}/datastorage/job_search/' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY_HERE' \
  -d '{
    "page": 0,
    "job_source": "indeed",
    "date_featured_start": "2019-08-24",
    "date_featured_end": "2019-08-24",
    "organization_ids": [
      0
    ],
    "title": "string",
    "description": "string",
    "is_remote": true,
    "is_active": true,
    "locations": [
      0
    ],
    "locations_exclude": [
      0
    ]
  }'

Responses

Bodyapplication/json
search_resultsArray of objects(JobPostEventSearchResult)read-onlyrequired
total_search_resultsinteger, >= 0required

Position marker, not a count of matches: the offset of this page (page x 10) plus the matches found in a look-ahead of up to 500 results from there, so it can exceed what exists when a page comes back empty. For the true number of matches, call the matching /totals/ endpoint.

Response
{ "search_results": [ { … } ], "total_search_results": 0 }