Creators

Set job status

Transitions a job posting through its lifecycle: draft to public (launch), public to paused (pause), paused to public (resume).

post/jobs/{id}/status

Request

  • Base URL: https://viral.app/api/v1
  • URL: https://viral.app/api/v1/jobs/{id}/status
  • Auth: API key in header x-api-key

Path parameters

idstring required

Job posting ID

Example:orgjob_RwmraAffhMt9

Request body

status'draft' | 'public' | 'paused' required

Example request

{
  "status": "public"
}

Response

OK

idstring required
status'draft' | 'public' | 'paused' required
productTitlestring required
productDescriptionstring required
logoUrlstring nullable required
productNichesstring[] required
contentFormatsstring[] required
countryResidencesstring[] required
languagesstring[] required
minAgeinteger nullable required
aiContentPolicystring nullable required
jobTypestring required
minWeeklyHoursinteger nullable required
minWeeklyVideosinteger nullable required
platformFocusstring[] required
accountTypestring nullable required
exampleVideoUrlsstring[] required
videoSubmissionRequiredboolean required
sampleVideoUrlsstring[] required
currencystring required
payFrequencystring required
flatSalaryAmountinteger nullable required
perVideoAmountinteger nullable required
cpmAmountinteger nullable required
bonusAmountinteger nullable required
publishedAtstring date-time nullable required
embeddingunknown
embeddingModelstring nullable required
embeddedAtstring date-time nullable required
firstMatchesNotifiedAtstring date-time nullable required
pausedReasonstring nullable required
createdAtstring date-time required
updatedAtstring date-time required
actorType'user' | 'system' | 'api_token' required
userIdstring required
orgIdstring required
bodyMarkdownstring nullable required

The posting's body as markdown; null without a body

challengeBriefMarkdownstring nullable required

The application challenge as markdown; null without one

Example response

{
  "matches": {
    "listed": 500,
    "eligible": 7825
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.