Trigger schedule now
POST
/api/v1/schedules/{id}/trigger
const url = 'https://dashboard.justcrawl.io/api/v1/schedules/example/trigger';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/schedules/example/trigger \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”Schedule triggered
Media type application/json
object
jobCount
integer
Example generated
{ "jobCount": 1}