Ingest URLs via webhook
POST
/api/v1/webhooks/{token}/ingest
const url = 'https://api.justcrawl.io/api/v1/webhooks/example/ingest';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '[{"url":"example","workflowId":"example"}]'};
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://api.justcrawl.io/api/v1/webhooks/example/ingest \ --header 'Content-Type: application/json' \ --data '[ { "url": "example", "workflowId": "example" } ]'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Webhook token for authentication
Request Bodyrequired
Section titled “Request Bodyrequired”Responses
Section titled “Responses”URLs accepted for processing
Media typeapplication/json
object
accepted
integer
jobsCreated
integer
Examplegenerated
{ "accepted": 1, "jobsCreated": 1}