Skip to main content

Get details for jobs in campaign

GET 
/v1/campaigns/:campaignId/jobDetails

Gets detailed information for jobs in a campaign.

This method uses offset-based pagination, with a maximum of 500 results per page. For queries spanning multiple pages, use the hash parameter in the response to ensure that the full list of jobs is consistent between requests. If the hash changes between pages, wait for one minute and restart the query from offset 0.

Which jobs are included?

The list includes the jobs currently sponsored by the campaign, or the jobs that would be sponsored if the campaign was active. It does not include jobs that have been historically sponsored by the campaign.

Included jobs depend on these fields of campaign: jobsQuery, jobsTitle, jobsCompany, jobsLocation, jobsToInclude or jobsLocationRadius.

OAuth scopeAccess token type
employer.advertising.campaign.read

Access token that represents an employer. See Get access token that represents employer.

Request

Path Parameters

    campaignId stringrequired

    Campaign ID.

Query Parameters

    start integer

    Zero-based offset of the first job to get.

    perPage integer

    Possible values: <= 500

    Default value: 100

    Maximum number of jobs on a page. Cannot be greater than 500.

    fields string

    Indicates which fields to include in the response. Valid value is nonSpendingReasons

Responses

Success

Schema

    meta

    object

    Response-related metadata.

    status int32

    HTTP status code of the response.

    errors

    object[]

    Any errors that prevented successful processing of the request. If there were no errors, the value is null.

  • Array [

  • type string

    Name of the error.

    description string

    Human-readable description of the problem.

  • ]

  • rootLocation string

    Base URL of the Sponsored Jobs API.

    perPage int32

    For endpoints that return paginated results, the effective maximum number of entries returned on one page. The value may be smaller than the maximum you requested with the perPage parameter. If the endpoint returns a single result or doesn't paginate, the value is null.

    links

    object[]

    Resources related to the requested resource.

  • Array [

  • rel string

    The relationship between the requested resource and the related resource. These values are commonly used:

    • up: The related resource is a collection that contains the requested resource, or an entity that the requested resource is attached to.
    • next: The next page of entries in a paginated result.
    • prev: The previous page of entries in a paginated result.

    However, the value may also be an arbitrary string describing the relationship, such as Campaign Info.

    href string

    Endpoint URL of the related resource. Can contain query string parameters. To get the complete URL, append the href to rootLocation.

  • ]

  • data

    object

    entries

    object[]

  • Array [

  • jobKey string

    Indeed-generated unique identifier for this job.

    refNum string

    Employer-provided unique identifying number for this job. If this job was sent to Indeed by using the XML job feed format, which corresponds to the <referencenumber> element in the feed.

    title string

    Job title.

    location string

    Job location.

  • ]

  • hash number

    Hash of the full jobs list. Should be used to detect if jobs are changed while paginating through job details.

Loading...

Was this page helpful?